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

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

Detailed Description

template<typename ele_v>
struct H5_prop_out< ele_v, false >

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 an output for each property

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

Definition at line 76 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 >
H5_prop_out< ele_v, false >::H5_prop_out ( hid_t  file_id,
ele_v &  vv,
size_t  stop 
)
inline

constructor

Parameters
file_idhandle of the file
vvelement to write
stopup to which element to write

Definition at line 94 of file HDF5_XdmfWriter_point_set.hpp.

Member Function Documentation

◆ operator()()

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

It produce an output for each property.

Parameters
tproperty id

Definition at line 104 of file HDF5_XdmfWriter_point_set.hpp.

Field Documentation

◆ file_id

template<typename ele_v >
hid_t H5_prop_out< ele_v, false >::file_id

HDF5 file.

Definition at line 79 of file HDF5_XdmfWriter_point_set.hpp.

◆ stop

template<typename ele_v >
size_t H5_prop_out< ele_v, false >::stop

Up to which element to write.

Definition at line 85 of file HDF5_XdmfWriter_point_set.hpp.

◆ vv

template<typename ele_v >
ele_v& H5_prop_out< ele_v, false >::vv

vector that we are processing

Definition at line 82 of file HDF5_XdmfWriter_point_set.hpp.


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