OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
meta_prop< I, ele_g, St, T, is_writable > Struct Template Reference

This class is an helper to create properties output from scalar and compile-time array elements. More...

Detailed Description

template<typename I, typename ele_g, typename St, typename T, bool is_writable>
struct meta_prop< I, ele_g, St, T, is_writable >

This class is an helper to create properties output from scalar and compile-time array elements.

Template Parameters
IIt is an boost::mpl::int_ that indicate which property we are writing
ele_gelement type that store the grid information
Sttype of space where the grid live
Tthe type of the property
is_writableflag that indicate if a property is writable

Definition at line 497 of file VTKWriter_grids_util.hpp.

#include <VTKWriter_grids_util.hpp>

Public Member Functions

 meta_prop (const openfpm::vector< ele_g > &vg, std::string &v_out, const openfpm::vector< std::string > &prop_names, file_type ft)
 Write a vtk compatible type into vtk format.
 

Constructor & Destructor Documentation

◆ meta_prop()

template<typename I , typename ele_g , typename St , typename T , bool is_writable>
meta_prop< I, ele_g, St, T, is_writable >::meta_prop ( const openfpm::vector< ele_g > &  vg,
std::string &  v_out,
const openfpm::vector< std::string > &  prop_names,
file_type  ft 
)
inline

Write a vtk compatible type into vtk format.

Parameters
vgarray of elements to write
v_outstring containing the string
prop_namesproperty names
ftASCII or BINARY

Get a vertex iterator

Definition at line 507 of file VTKWriter_grids_util.hpp.


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