OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
calculate_aint< 3, vector, np > Struct Template Reference

Calculate aint. More...

Detailed Description

template<typename vector, unsigned int np>
struct calculate_aint< 3, vector, np >

Calculate aint.

Definition at line 255 of file interpolation.hpp.

#include <interpolation.hpp>

Static Public Member Functions

static void value (size_t(&sz)[vector::dims], typename vector::stype a_int[openfpm::math::pow(np, vector::dims)], typename vector::stype(&a)[vector::dims][np])
 Calculate the coefficients of the interpolation a_int for one particles having the 1D kernel values. More...
 

Member Function Documentation

template<typename vector , unsigned int np>
static void calculate_aint< 3, vector, np >::value ( size_t(&)  sz[vector::dims],
typename vector::stype  a_int[openfpm::math::pow(np, vector::dims)],
typename vector::stype(&)  a[vector::dims][np] 
)
inlinestatic

Calculate the coefficients of the interpolation a_int for one particles having the 1D kernel values.

Parameters
szsize of stencil for the interpolation
a_intcoefficients on the stencil points
acoefficients of the kernel for each direction, consider that for 3 dimensions the kernel is the multiplication the 1D kernel on each direction. The "a" array store the calculated coefficient of the 1D kernel on each direction

Definition at line 268 of file interpolation.hpp.


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