OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
H5_prop_out< ele_v, has_name > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

template<typename ele_v, bool has_name>
struct H5_prop_out< ele_v, has_name >

this class is a functor for "for_each" algorithm

This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to produce write each property in H5Part

Template Parameters
ele_vis the vector of properties
seq,sequenceof property to output
has_namedefine if the structure define names for the properties

Definition at line 28 of file HDF5_XdmfWriter_point_set.hpp.

#include <HDF5_XdmfWriter_point_set.hpp>

Public Member Functions

 H5_prop_out (hid_t file_id, ele_v &vv, size_t stop)
 constructor
 
template<typename T >
void operator() (T &t) const
 It produce an output for each property.
 

Data Fields

hid_t file_id
 HDF5 file.
 
ele_v & vv
 vector that we are processing
 
size_t stop
 Up to which element to write.
 

Constructor & Destructor Documentation

◆ H5_prop_out()

template<typename ele_v , bool has_name>
H5_prop_out< ele_v, has_name >::H5_prop_out ( hid_t  file_id,
ele_v &  vv,
size_t  stop 
)
inline

constructor

Parameters
v_outstring to fill with the vertex properties

Definition at line 44 of file HDF5_XdmfWriter_point_set.hpp.

Member Function Documentation

◆ operator()()

template<typename ele_v , bool has_name>
template<typename T >
void H5_prop_out< ele_v, has_name >::operator() ( T &  t) const
inline

It produce an output for each property.

Parameters
tproperty id

Definition at line 54 of file HDF5_XdmfWriter_point_set.hpp.

Field Documentation

◆ file_id

template<typename ele_v , bool has_name>
hid_t H5_prop_out< ele_v, has_name >::file_id

HDF5 file.

Definition at line 31 of file HDF5_XdmfWriter_point_set.hpp.

◆ stop

template<typename ele_v , bool has_name>
size_t H5_prop_out< ele_v, has_name >::stop

Up to which element to write.

Definition at line 37 of file HDF5_XdmfWriter_point_set.hpp.

◆ vv

template<typename ele_v , bool has_name>
ele_v& H5_prop_out< ele_v, has_name >::vv

vector that we are processing

Definition at line 34 of file HDF5_XdmfWriter_point_set.hpp.


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