Provides input and output routines for Finite Element related quantities. Refer to viennagrid::io for details on entirely mesh-related input-output functionality. More...
Functions | |
template<typename VectorType , typename DomainType > | |
void | write_solution_to_VTK_file (VectorType const &result, std::string filename, DomainType const &domain, long id) |
Writes a FEM solution to a VTK file. |
Provides input and output routines for Finite Element related quantities. Refer to viennagrid::io for details on entirely mesh-related input-output functionality.
void viennafem::io::write_solution_to_VTK_file | ( | VectorType const & | result, | |
std::string | filename, | |||
DomainType const & | domain, | |||
long | id | |||
) |
Writes a FEM solution to a VTK file.
result | The FEM result vector | |
filename | The VTK filename | |
domain | The ViennaGrid domain used for the simulation | |
id | The simulation ID used for computing the solution |