Apply kernel operation. More...
Apply kernel operation.
exp1 | expression1 |
NN | list |
Definition at line 255 of file vector_dist_operators_apply_kernel.hpp.
#include <vector_dist_operators_apply_kernel.hpp>
Public Member Functions | |
void | init () const |
This function must be called before value. More... | |
vector_dist_expression_op (const exp1 &o1, NN &cl, Kernel &ker, const vector_orig &vd) | |
Constructor. More... | |
std::remove_reference< rtype > ::type | value (const vect_dist_key_dx &key) const |
Evaluate the expression. More... | |
Private Types | |
typedef boost::mpl::at < vector_type, boost::mpl::int_< 0 > >::type | NN |
Get the type of the Cell-list. | |
typedef boost::mpl::at < vector_type, boost::mpl::int_< 1 > >::type | Kernel |
Get the type of the kernel. | |
typedef boost::mpl::at < vector_type, boost::mpl::int_< 2 > >::type | vector_orig |
Get the type that contain the particle positions. | |
typedef apply_kernel_rtype < decltype(o1.value(vect_dist_key_dx()))> ::rtype | rtype |
Get the return type of applying the kernel to a particle. | |
Private Attributes | |
const exp1 | o1 |
expression | |
NN & | cl |
Cell-list. | |
Kernel & | ker |
kernel | |
const vector_orig & | vd |
The vector that contain the particles. | |
|
inline |
Constructor.
o1 | expression |
cl | Cell-list |
ker | kernel function |
vd | vector containing the particle positions |
Definition at line 299 of file vector_dist_operators_apply_kernel.hpp.
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 286 of file vector_dist_operators_apply_kernel.hpp.
|
inline |
Evaluate the expression.
key | where to evaluate the expression |
Definition at line 310 of file vector_dist_operators_apply_kernel.hpp.