Apply kernel operation. More...
Apply kernel operation.
exp1 | expression1 |
NN | list |
Definition at line 323 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 (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 |
Return the type of the Cell-list. | |
typedef boost::mpl::at < vector_type, boost::mpl::int_< 1 > >::type | Kernel |
Return the type of the kernel. | |
typedef boost::mpl::at < vector_type, boost::mpl::int_< 2 > >::type | vector_orig |
Return the vector containing the position of the particles. | |
typedef apply_kernel_rtype < decltype(std::declval < Kernel >).value(Point < vector_orig::dims, typename vector_orig::stype > 0.0), Point< vector_orig::dims, typename vector_orig::stype > 0.0)))>::rtype | rtype |
Get the return type of the expression. | |
Private Attributes | |
NN & | cl |
Cell-list. | |
Kernel & | ker |
kernel | |
const vector_orig & | vd |
vector with the particle positions | |
|
inline |
Constructor.
cl | cell-list |
ker | kernel |
vd | Vector containing the particle positions |
Definition at line 361 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 350 of file vector_dist_operators_apply_kernel.hpp.
|
inline |
Evaluate the expression.
key | where to evaluate the expression |
Definition at line 372 of file vector_dist_operators_apply_kernel.hpp.