OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
calculate_aint< dims, vector, np > Struct Template Reference

Calculate aint. More...

Detailed Description

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

Calculate aint.

This class store

Definition at line 178 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.
 

Member Function Documentation

◆ value()

template<unsigned int dims, typename vector , unsigned int np>
static void calculate_aint< dims, 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 191 of file interpolation.hpp.


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