Skip to content
Snippets Groups Projects
Commit 0c648951 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Make torus copyable

parent d3cc7d5e
Branches releases/2.9
No related tags found
1 merge request!24Make torus copyable
Pipeline #8910 failed
...@@ -24,7 +24,7 @@ namespace Curved { ...@@ -24,7 +24,7 @@ namespace Curved {
struct Torus struct Torus
{ {
double const r1 = 2.0, r2 = 1.0; double r1 = 2.0, r2 = 1.0;
auto operator() (FieldVector<double,2> const& u) const auto operator() (FieldVector<double,2> const& u) const
{ {
...@@ -71,4 +71,4 @@ int main(int argc, char** argv) ...@@ -71,4 +71,4 @@ int main(int argc, char** argv)
// 4. Write grid to vtu file // 4. Write grid to vtu file
SubsamplingVTKWriter writer{grid2.leafGridView(), refinementIntervals(3)}; SubsamplingVTKWriter writer{grid2.leafGridView(), refinementIntervals(3)};
writer.write("torus2"); writer.write("torus2");
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment