walberla::mesh::DistributedVTKMeshWriter< MeshType > Class Template Reference

#include <DistributedVTKMeshWriter.h>

+ Inheritance diagram for walberla::mesh::DistributedVTKMeshWriter< MeshType >:

Public Member Functions

 DistributedVTKMeshWriter (const shared_ptr< const MeshType > &mesh, const std::string &identifier, const uint_t writeFrequency, const std::string &baseFolder="vtk_out")
 
void operator() ()
 
- Public Member Functions inherited from walberla::mesh::VTKMeshWriter< MeshType >
 VTKMeshWriter (const shared_ptr< const MeshType > &mesh, const std::string &identifier, const uint_t writeFrequency, const std::string &baseFolder="vtk_out")
 
void operator() ()
 
void addDataSource (const shared_ptr< VertexDataSource< float > > &dataSource)
 
void addDataSource (const shared_ptr< VertexDataSource< double > > &dataSource)
 
void addDataSource (const shared_ptr< VertexDataSource< int32_t > > &dataSource)
 
void addDataSource (const shared_ptr< VertexDataSource< uint8_t > > &dataSource)
 
void addDataSource (const shared_ptr< VertexDataSource< uint64_t > > &dataSource)
 
void addDataSource (const shared_ptr< FaceDataSource< float > > &dataSource)
 
void addDataSource (const shared_ptr< FaceDataSource< double > > &dataSource)
 
void addDataSource (const shared_ptr< FaceDataSource< int32_t > > &dataSource)
 
void addDataSource (const shared_ptr< FaceDataSource< uint8_t > > &dataSource)
 
void addDataSource (const shared_ptr< FaceDataSource< uint64_t > > &dataSource)
 
void setFaceFilter (const FaceFilterFunction &f)
 
void clearFaceFilter ()
 
bool isFaceFilterSet () const
 
void incrementTimeStep ()
 
bool isWriteScheduled () const
 

Additional Inherited Members

- Public Types inherited from walberla::mesh::VTKMeshWriter< MeshType >
typedef std::function< bool(const MeshType &, const typename MeshType::FaceHandle &)> FaceFilterFunction
 
typedef std::vector< typename MeshType::FaceHandle > Faces
 
typedef std::vector< typename MeshType::VertexHandle > Vertices
 
- Protected Member Functions inherited from walberla::mesh::VTKMeshWriter< MeshType >
void write (std::ostream &os) const
 
void writePrefix (std::ostream &os) const
 
void writePostfix (std::ostream &os) const
 
void writePiece (std::ostream &os) const
 
template<typename T >
void writeVertexData (const T &vertexDataSources, const Vertices &vertices, std::ostream &os, vtk::Base64Writer &b64) const
 
template<typename T >
void writeFaceData (const T &faceDataSources, const Faces &faces, std::ostream &os, vtk::Base64Writer &b64) const
 
void writePVD (std::ostream &os) const
 
- Protected Attributes inherited from walberla::mesh::VTKMeshWriter< MeshType >
shared_ptr< const MeshTypemesh_
 
uint_t writeFrequency_
 
std::string identifier_
 
std::string baseFolder_
 
uint_t timestep_
 
FaceFilterFunction faceFilter_
 
std::vector< shared_ptr< VertexDataSource< float > > > floatVertexDataSources_
 
std::vector< shared_ptr< VertexDataSource< double > > > doubleVertexDataSources_
 
std::vector< shared_ptr< VertexDataSource< int32_t > > > int32VertexDataSources_
 
std::vector< shared_ptr< VertexDataSource< uint8_t > > > uint8VertexDataSources_
 
std::vector< shared_ptr< VertexDataSource< uint64_t > > > uint64VertexDataSources_
 
std::vector< shared_ptr< FaceDataSource< float > > > floatFaceDataSources_
 
std::vector< shared_ptr< FaceDataSource< double > > > doubleFaceDataSources_
 
std::vector< shared_ptr< FaceDataSource< int32_t > > > int32FaceDataSources_
 
std::vector< shared_ptr< FaceDataSource< uint8_t > > > uint8FaceDataSources_
 
std::vector< shared_ptr< FaceDataSource< uint64_t > > > uint64FaceDataSources_
 

Constructor & Destructor Documentation

◆ DistributedVTKMeshWriter()

template<typename MeshType >
walberla::mesh::DistributedVTKMeshWriter< MeshType >::DistributedVTKMeshWriter ( const shared_ptr< const MeshType > &  mesh,
const std::string &  identifier,
const uint_t  writeFrequency,
const std::string &  baseFolder = "vtk_out" 
)

Member Function Documentation

◆ operator()()

template<typename MeshType >
void walberla::mesh::DistributedVTKMeshWriter< MeshType >::operator()

The documentation for this class was generated from the following file: