Functions

viennafem::io Namespace Reference

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.

Detailed Description

Provides input and output routines for Finite Element related quantities. Refer to viennagrid::io for details on entirely mesh-related input-output functionality.


Function Documentation

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.

Parameters:
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