INMOST
A toolkit for distributed mathematical modeling
|
This class makes possible to evaluate different expressions on different element types. More...
#include <inmost_variable.h>
Public Member Functions | |
etype_branch_variable (ElementType _types_true, const A &_ArgA, const B &_ArgB) | |
Constructor. Used by etype_branch function. | |
etype_branch_variable (const etype_branch_variable &other) | |
Copy constructor. | |
etype_branch_variable & | operator= (etype_branch_variable const &other) |
Assignment operator. | |
INMOST_DATA_REAL_TYPE | Value (const Storage &e) const |
Get value of variable expression on provided element e. | |
multivar_expression | Variable (const Storage &e) const |
Get value with derivatives of variable expression on provided element e. More... | |
multivar_expression | operator[] (const Storage &e) const |
Build an expression associated with variable expression on provided element e. | |
void | GetVariation (const Storage &e, Sparse::Row &r) const |
Retrieve first derivatives of variable expression on provided element e, default approach. | |
void | GetVariation (const Storage &e, Sparse::RowMerger &r) const |
Retrieve first derivatives of variable expression on provided element e, with supplimentary structure Sparse::RowMerger. | |
abstract_dynamic_variable * | Copy () const |
Make a copy of this class, used to reproduce and store a tree of variable expressions. | |
Public Member Functions inherited from INMOST::shell_dynamic_variable< multivar_expression, etype_branch_variable< A, B > > | |
virtual multivar_expression | operator() (const Storage &e) const |
operator etype_branch_variable< A, B > & () | |
operator const etype_branch_variable< A, B > & () const | |
Additional Inherited Members | |
Public Types inherited from INMOST::shell_dynamic_variable< multivar_expression, etype_branch_variable< A, B > > | |
typedef multivar_expression | Var |
Public Types inherited from INMOST::basic_dynamic_variable< VariableType > | |
typedef VariableType | Var |
This class makes possible to evaluate different expressions on different element types.
See etype_branch function.
Definition at line 507 of file inmost_variable.h.
|
inlinevirtual |
Get value with derivatives of variable expression on provided element e.
This function collapses associated expression tree into multivar_expression.
Implements INMOST::basic_dynamic_variable< VariableType >.
Definition at line 530 of file inmost_variable.h.