STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::create_submesh_file_wf< PropertyMap, VertexArray > Struct Template Reference

Functor creating a silo multimesh file storing a partition of a mesh. More...

Public Member Functions

 create_submesh_file_wf (PropertyMap pmap, VertexArray *varray, std::string const &fname, bool case_3d)
 
template<typename SubMesh >
void operator() (SubMesh const &submesh, size_t const &index)
 

Public Types

typedef void result_type
 

Detailed Description

template<typename PropertyMap, typename VertexArray>
struct stapl::create_submesh_file_wf< PropertyMap, VertexArray >

Functor creating a silo multimesh file storing a partition of a mesh.

Template Parameters
PropertyMaptype of property map storing values associated to mesh cells.
VertexArraytype of pArray storing the mesh vertices.

Constructor & Destructor Documentation

◆ create_submesh_file_wf()

template<typename PropertyMap , typename VertexArray >
stapl::create_submesh_file_wf< PropertyMap, VertexArray >::create_submesh_file_wf ( PropertyMap  pmap,
VertexArray *  varray,
std::string const &  fname,
bool  case_3d 
)
Parameters
pmapproperty map storing values associated to mesh cells.
varraypArray of mesh vertices.
fnameoutput file name.
case_3dtrue if mesh is 3D.

Member Function Documentation

◆ operator()()

template<typename PropertyMap , typename VertexArray >
template<typename SubMesh >
void stapl::create_submesh_file_wf< PropertyMap, VertexArray >::operator() ( SubMesh const &  submesh,
size_t const &  index 
)
Parameters
submeshpartition of the mesh.
indexpartition identifier.

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