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

[discretefunction.default] give a suitable default for subsampling

parent 4898d3ac
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ public:
new ConstLocalDiscreteFunctionType(local_discrete_function(entity)));
}
void visualize(const std::string filename, const bool subsampling = true,
void visualize(const std::string filename, const bool subsampling = (SpaceType::polOrder > 1),
VTK::OutputType vtk_output_type = VTK::appendedraw) const
{
BaseType::template visualize<typename SpaceType::GridViewType>(
......
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