Main class that encapsulate a grid properties operand to be used for expressions construction. More...
Main class that encapsulate a grid properties operand to be used for expressions construction.
prp | property involved |
grid | involved |
Definition at line 2073 of file FD_expressions.hpp.
#include <FD_expressions.hpp>
Public Types | |
typedef grid_dist_key_dx< dim, grid_key_dx< dim > > | index_type |
typedef grid_dist_expression_iterator_to_make_algebra_work< dim > | gtype |
The type of the internal grid. | |
Public Member Functions | |
gdb_ext_plus_g_info< dim > | size () const |
template<typename grid > | |
grid_dist_expression (grid &g) | |
constructor for an external grid | |
template<typename grid > | |
void | resize (grid &g) |
grid_dist_expression_iterator_to_make_algebra_work< dim > | getVector () const |
grid_dist_expression_iterator_to_make_algebra_work< dim > | getGrid () |
Return the grid on which is acting. | |
const grid_dist_expression_iterator_to_make_algebra_work< dim > | getGrid () const |
Return the grid on which is acting. | |
void | init () const |
This function must be called before value. | |
double | value (const grid_dist_key_dx< dim > &k, const comb< dim > &c_where=comb< dim >()) const |
Evaluate the expression. | |
double & | value_ref (const grid_dist_key_dx< dim > &k, const comb< dim > &c_where=comb< dim >()) |
Evaluate the expression. | |
template<unsigned int prp2, typename grid > | |
const grid & | operator= (const grid_dist_expression< prp2, grid, NORM_EXPRESSION > &g_exp) |
Fill the grid property with the evaluated expression. | |
template<typename exp1 , typename exp2 , typename op > | |
auto | operator= (const grid_dist_expression_op< exp1, exp2, op > &g_exp) -> decltype(g_exp.getGrid()) |
Fill the grid property with the evaluated expression. | |
double | get (grid_dist_key_dx< dim > &key) |
int | isConstant () |
Static Public Attributes | |
static constexpr unsigned int | dims = dim |
static const unsigned int | prop = 0 |
Property id of the point. | |
Private Types | |
typedef double | type_proc |
Private Member Functions | |
template<typename super_general > | |
void | operator_equal (super_general &g_exp) |
Private Attributes | |
grid_patches< grid_cpu< dim, aggregate< double > > > | data |
The grid. | |
openfpm::vector< GBoxes< dim > > | gdb_ext |
grid_sm< dim, void > | ginfo_v |
Grid informations object without type. | |
typedef grid_dist_expression_iterator_to_make_algebra_work<dim> FD::grid_dist_expression< 0, grid_patches< grid_cpu< dim, aggregate< double > > >, NORM_EXPRESSION >::gtype |
The type of the internal grid.
Definition at line 2114 of file FD_expressions.hpp.
typedef grid_dist_key_dx<dim,grid_key_dx<dim> > FD::grid_dist_expression< 0, grid_patches< grid_cpu< dim, aggregate< double > > >, NORM_EXPRESSION >::index_type |
Definition at line 2111 of file FD_expressions.hpp.
|
private |
Definition at line 2083 of file FD_expressions.hpp.
|
inline |
Definition at line 2119 of file FD_expressions.hpp.
|
inline |
constructor for an external grid
Definition at line 2129 of file FD_expressions.hpp.
|
inline |
Definition at line 2253 of file FD_expressions.hpp.
|
inline |
Return the grid on which is acting.
It return the grid used in getVExpr, to get this object
Definition at line 2162 of file FD_expressions.hpp.
|
inline |
Return the grid on which is acting.
It return the grid used in getVExpr, to get this object
Definition at line 2174 of file FD_expressions.hpp.
|
inline |
Definition at line 2150 of file FD_expressions.hpp.
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 2184 of file FD_expressions.hpp.
|
inline |
Definition at line 2260 of file FD_expressions.hpp.
|
inline |
Fill the grid property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 2231 of file FD_expressions.hpp.
|
inline |
Fill the grid property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 2245 of file FD_expressions.hpp.
|
inlineprivate |
Definition at line 2086 of file FD_expressions.hpp.
|
inline |
Definition at line 2135 of file FD_expressions.hpp.
|
inline |
Definition at line 2122 of file FD_expressions.hpp.
|
inline |
Evaluate the expression.
k | where to evaluate the expression |
Definition at line 2194 of file FD_expressions.hpp.
|
inline |
Evaluate the expression.
k | where to evaluate the expression |
Evaluate the expression
k | where to evaluate the expression |
Definition at line 2219 of file FD_expressions.hpp.
|
mutableprivate |
The grid.
Definition at line 2076 of file FD_expressions.hpp.
|
staticconstexpr |
Definition at line 2109 of file FD_expressions.hpp.
|
mutableprivate |
Definition at line 2078 of file FD_expressions.hpp.
|
mutableprivate |
Grid informations object without type.
Definition at line 2081 of file FD_expressions.hpp.
|
static |
Property id of the point.
Definition at line 2117 of file FD_expressions.hpp.