Skip to content
Snippets Groups Projects
Commit 36cb22f5 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[examples.elliptic.discretizations] added visualize()

parent 2eb94989
No related branches found
No related tags found
No related merge requests found
...@@ -206,6 +206,14 @@ public: ...@@ -206,6 +206,14 @@ public:
solution->vector()->backend() += dirichlet_vector->backend(); solution->vector()->backend() += dirichlet_vector->backend();
return solution; return solution;
} // ... solve() } // ... solve()
void visualize(const VectorType& vector, const std::string filename)
{
space_.visualize(vector, filename);
}
private:
const SpaceType space_;
}; };
......
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