OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
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 231 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. More...
 

Constructor & Destructor Documentation

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 241 of file VTKWriter_grids_util.hpp.


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