OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
meta_prop_new< 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_new< 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 811 of file VTKWriter_grids_util.hpp.

#include <VTKWriter_grids_util.hpp>

Public Member Functions

 meta_prop_new (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.
 

Static Public Member Functions

static void get_pvtp_out (std::string &v_out, const openfpm::vector< std::string > &prop_names)
 

Constructor & Destructor Documentation

◆ meta_prop_new()

template<typename I , typename ele_g , typename St , typename T , bool is_writable>
meta_prop_new< I, ele_g, St, T, is_writable >::meta_prop_new ( 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 821 of file VTKWriter_grids_util.hpp.

Member Function Documentation

◆ get_pvtp_out()

template<typename I , typename ele_g , typename St , typename T , bool is_writable>
static void meta_prop_new< I, ele_g, St, T, is_writable >::get_pvtp_out ( std::string &  v_out,
const openfpm::vector< std::string > &  prop_names 
)
inlinestatic

Definition at line 875 of file VTKWriter_grids_util.hpp.


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