Provides export routines from functions on geometries to the VTK file format. More...
#include <VTKSurfaceExport.hpp>
Provides export routines from functions on geometries to the VTK file format.
One can add data to visualize via the addDataSet methods.
Definition at line 24 of file VTKSurfaceExport.hpp.
Public Member Functions | |
VTKSurfaceExport (const Geometry &geo, int M) | |
void | init_VTKSurfaceExport (const Geometry &geo, int M) |
void | addDataSet (const std::string &name, std::function< double(int, const Eigen::Vector2d &)> fun) |
Add a function of the given type to the visualization. | |
void | addDataSet (const std::string &name, std::function< std::complex< double >(int, const Eigen::Vector2d &)> fun) |
Add a function of the given type to the visualization. | |
void | addDataSet (const std::string &name, std::function< Eigen::Vector3d(int, const Eigen::Vector2d &)> fun) |
Add a function of the given type to the visualization. | |
void | addDataSet (const std::string &name, std::function< Eigen::Vector3cd(int, const Eigen::Vector2d &)> fun) |
Add a function of the given type to the visualization. | |
void | addDataSet (const std::string &name, std::function< Eigen::Vector3d(const Eigen::Vector3d &)> fun) |
Add a function of the given type to the visualization. | |
void | addDataSet (const std::string &name, std::function< Eigen::Vector3cd(const Eigen::Vector3d &)> fun) |
Add a function of the given type to the visualization. | |
void | addDataSet (const std::string &name, std::function< double(const Eigen::Vector3d &)> fun) |
Add a function of the given type to the visualization. | |
void | addDataSet (const std::string &name, std::function< std::complex< double >(const Eigen::Vector3d &)> fun) |
Add a function of the given type to the visualization. | |
template<typename LinOp > | |
void | addDataSet (const std::string &name, const AnsatzSpace< LinOp > &ansatz_space, const Eigen::Matrix< typename LinearOperatorTraits< LinOp >::Scalar, Eigen::Dynamic, Eigen::Dynamic > &coefficients) |
Add a function given through coefficients of an AnsatzSpace to the visualization. | |
void | writeToFile (const std::string &filename) |
Write geometry with passed visualization data to file. | |
void | clearData () |
|
inline |
The constructor wants a geometetry and a refinement level. This choice is deliberately not a mesh, since the visualization will often be on a finer mesh then that of a computation.
Definition at line 31 of file VTKSurfaceExport.hpp.