OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
exp_kernel Struct Reference

Exponential kernel. More...

Detailed Description

Exponential kernel.

Definition at line 659 of file vector_dist_operators_unit_tests.hpp.

#include <vector_dist_operators_unit_tests.hpp>

Public Member Functions

 exp_kernel (float var)
 Exponential kernel giving variance.
 
float value (const Point< 3, float > &p, const Point< 3, float > &q, float pA, float pB)
 Result of the exponential kernel. More...
 
Point< 3, float > value (const Point< 3, float > &p, const Point< 3, float > &q, const Point< 3, float > &pA, const Point< 3, float > &pB)
 Result of the exponential kernel. More...
 
float value (size_t p, size_t q, float pA, float pB, const vector_type &vd1)
 Result of the exponential kernel. More...
 
Point< 3, float > value (size_t p, size_t q, const Point< 3, float > &pA, const Point< 3, float > &pB, const vector_type &vd1)
 Result of the exponential kernel. More...
 
Point< 2, float > value (const Point< 3, float > &p, const Point< 3, float > &q)
 Result of the exponential kernel. More...
 
 exp_kernel (float sigma)
 
Point< 3, double > value (const Point< 3, float > &p, const Point< 3, float > &q, Point< 3, double > &Pp, Point< 3, double > &Pq)
 
Point< 3, double > value (size_t p, size_t q, Point< 3, double > &Pp, Point< 3, double > &Pq, const vector_dist< 3, double, aggregate< double, double, Point< 3, double >, Point< 3, double >> > &v)
 

Data Fields

float var
 variance of the exponential kernel
 
float sigma
 

Member Function Documentation

float exp_kernel::value ( const Point< 3, float > &  p,
const Point< 3, float > &  q,
float  pA,
float  pB 
)
inline

Result of the exponential kernel.

Parameters
pposition of the particle p
qposition of the particle q
pAproperty value at p
pBproperty value at q
Returns
the result

Definition at line 679 of file vector_dist_operators_unit_tests.hpp.

Point<3,float> exp_kernel::value ( const Point< 3, float > &  p,
const Point< 3, float > &  q,
const Point< 3, float > &  pA,
const Point< 3, float > &  pB 
)
inline

Result of the exponential kernel.

Parameters
pposition of the particle p
qposition of the particle q
pAproperty value at p
pBproperty value at q
Returns
the result

Definition at line 696 of file vector_dist_operators_unit_tests.hpp.

float exp_kernel::value ( size_t  p,
size_t  q,
float  pA,
float  pB,
const vector_type vd1 
)
inline

Result of the exponential kernel.

Parameters
pposition of the particle p
qposition of the particle q
pAproperty value at p
pBproperty value at q
vd1original vector
Returns
the result

Definition at line 714 of file vector_dist_operators_unit_tests.hpp.

Point<3,float> exp_kernel::value ( size_t  p,
size_t  q,
const Point< 3, float > &  pA,
const Point< 3, float > &  pB,
const vector_type vd1 
)
inline

Result of the exponential kernel.

Parameters
pposition of the particle p
qposition of the particle q
pAproperty value at p
pBproperty value at q
vd1original vector
Returns
the result

Definition at line 735 of file vector_dist_operators_unit_tests.hpp.

Point<2,float> exp_kernel::value ( const Point< 3, float > &  p,
const Point< 3, float > &  q 
)
inline

Result of the exponential kernel.

Parameters
pposition of the particle p
qposition of the particle q
Returns
the result

Definition at line 753 of file vector_dist_operators_unit_tests.hpp.


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