Namespaces | Functions

/export/development/ViennaFEM/viennafem/io/vtk_writer.hpp File Reference

Defines a routine for writing a FEM solution to a VTK file (can be processed with e.g. ParaView). More...

#include <iostream>
#include "viennafem/forwards.h"
#include "viennagrid/domain.hpp"
#include "viennagrid/iterators.hpp"
#include "viennagrid/io/vtk_writer.hpp"
#include "viennadata/api.hpp"

Go to the source code of this file.

Namespaces

namespace  viennafem
 

The main namespace for ViennaFEM. All user functionality resides in this namespace.


namespace  viennafem::io
 

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


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

Defines a routine for writing a FEM solution to a VTK file (can be processed with e.g. ParaView).