◆ IndexType
◆ Evaluate()
double Kratos::Python::Detail::ExpressionTrampoline::Evaluate |
( |
const IndexType |
EntityIndex, |
|
|
const IndexType |
EntityDataBeginIndex, |
|
|
const IndexType |
ComponentIndex |
|
) |
| const |
|
inlineoverridevirtual |
Evalute the expression for the given entity data start index and component index and returns the value.
- Parameters
-
EntityIndex | Index of the entity. |
EntityDataBeginIndex | Index at which entity data starts. |
ComponentIndex | Component index. |
- Returns
- double Evaluated expression.
- Todo:
- Move to private.
Implements Kratos::Expression.
◆ Expression()
Kratos::Expression::Expression |
|
inline |
◆ GetItemShape()
const std::vector<IndexType> Kratos::Python::Detail::ExpressionTrampoline::GetItemShape |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the Shape of the expression.
- Returns
- const std::vector<IndexType> Size of each dimension is in the vector elements.
Implements Kratos::Expression.
◆ GetMaxDepth()
IndexType Kratos::Python::Detail::ExpressionTrampoline::GetMaxDepth |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the Max Depth of the lazy expression tree.
Returns the maximum depth of the lazy expression tree.
- Warning
- This is a recursive computation, hence this should not be done repeatedly unless necessary.
- Returns
- IndexType Max depth of the lazy expression tree.
Implements Kratos::Expression.
◆ Info()
std::string Kratos::Python::Detail::ExpressionTrampoline::Info |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: