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 () |
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.
|
inline |
Add a function given through coefficients of an AnsatzSpace to the visualization.
Definition at line 138 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 117 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 57 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 106 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 86 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 97 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 77 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 125 of file VTKSurfaceExport.hpp.
|
inline |
Add a function of the given type to the visualization.
Definition at line 66 of file VTKSurfaceExport.hpp.
|
inline |
Definition at line 216 of file VTKSurfaceExport.hpp.
Definition at line 34 of file VTKSurfaceExport.hpp.
Write geometry with passed visualization data to file.
Definition at line 167 of file VTKSurfaceExport.hpp.