|
HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
|
The VtuWriter class provides methods to plot a 3D mesh and a solution on this mesh. More...
#include <vtu_writer.hpp>
Public Member Functions | |
| VtuWriter (const Mesh *mesh) | |
| Constructor for mesh writer. | |
| template<typename T > | |
| bool | write_to_vtu (const std::string filename, const std::vector< T > &sol_vrtx, const std::vector< std::string > &sol_names={}) |
| Writes file with a series of solutions (scalar if T=std::vector<double> (or Eigen::VectorXd), vector if T=std::vector<VectorRd>) | |
| template<typename T > | |
| bool | write_to_vtu (const std::string file_name, const T &sol_vertex, const std::string &sol_name="solution") |
| Overload to simplify the call when only one solution is involved. | |
| bool | write_header (FILE *pFile) |
| bool | write_vertices (FILE *pFile) |
| bool | write_solution (FILE *pFile, const std::vector< double > &sol_vertex, const std::string &name) |
| bool | write_solution (FILE *pFile, const Eigen::VectorXd &sol_vertex, const std::string &name) |
| bool | write_solution (FILE *pFile, const std::vector< VectorRd > &sol_vertex, const std::string &name) |
| bool | write_cells (FILE *pFile) |
| bool | write_footer (FILE *pFile) |
The VtuWriter class provides methods to plot a 3D mesh and a solution on this mesh.