OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
get_block_sizes< dim, stencil_size, vector_blocks_ext, vector_ext > Struct Template Reference

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

Detailed Description

template<unsigned int dim, unsigned int stencil_size, typename vector_blocks_ext, typename vector_ext>
struct get_block_sizes< dim, stencil_size, vector_blocks_ext, vector_ext >

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 set a grid info

Template Parameters
grid_sm_type
vector_blocks_ext

Definition at line 63 of file SparseGridUtil.hpp.

#include <SparseGridUtil.hpp>

Public Member Functions

template<typename T >
void operator() (T &val)
 It call the copy function for each property.
 

Data Fields

size_t sz_tot [dim]
 sizes in point with border
 
size_t sz_ext [dim]
 sizes blocks
 
size_t sz_ext_b [dim]
 sizes with border block
 
size_t sz_block [dim]
 sizes
 

Member Function Documentation

◆ operator()()

template<unsigned int dim, unsigned int stencil_size, typename vector_blocks_ext , typename vector_ext >
template<typename T >
void get_block_sizes< dim, stencil_size, vector_blocks_ext, vector_ext >::operator() ( T &  val)
inline

It call the copy function for each property.

Definition at line 79 of file SparseGridUtil.hpp.

Field Documentation

◆ sz_block

template<unsigned int dim, unsigned int stencil_size, typename vector_blocks_ext , typename vector_ext >
size_t get_block_sizes< dim, stencil_size, vector_blocks_ext, vector_ext >::sz_block[dim]

sizes

Definition at line 75 of file SparseGridUtil.hpp.

◆ sz_ext

template<unsigned int dim, unsigned int stencil_size, typename vector_blocks_ext , typename vector_ext >
size_t get_block_sizes< dim, stencil_size, vector_blocks_ext, vector_ext >::sz_ext[dim]

sizes blocks

Definition at line 69 of file SparseGridUtil.hpp.

◆ sz_ext_b

template<unsigned int dim, unsigned int stencil_size, typename vector_blocks_ext , typename vector_ext >
size_t get_block_sizes< dim, stencil_size, vector_blocks_ext, vector_ext >::sz_ext_b[dim]

sizes with border block

Definition at line 72 of file SparseGridUtil.hpp.

◆ sz_tot

template<unsigned int dim, unsigned int stencil_size, typename vector_blocks_ext , typename vector_ext >
size_t get_block_sizes< dim, stencil_size, vector_blocks_ext, vector_ext >::sz_tot[dim]

sizes in point with border

Definition at line 66 of file SparseGridUtil.hpp.


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