Skip to content

Commit

Permalink
Update docs/pages/Kratos/Expressions/General/Expression_Types.md
Browse files Browse the repository at this point in the history
Co-authored-by: Máté Kelemen <[email protected]>
  • Loading branch information
sunethwarna and matekelemen authored Feb 2, 2024
1 parent 25a767d commit 0ea045f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/pages/Kratos/Expressions/General/Expression_Types.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ There are four types of expressions.
* `ConditionExpression`
* `ElementExpression`

## `Expression`

`Expression` is the lowest level class that everything else is built on top of. It models an array of numeric values (scalars, vectors, matrices, etc.), supports arithmetic operations, but is not related to any container in Kratos. To create an `Expression` or write an existing one, you can use one of the derived classes of `ExpressionIO`.

TODO: add an example (@matekelemen) - requires exposing the `Input` and `Output` nested classes of `VariableExpressionIO` to python.


## Nodal Expression

Nodal expressions are used to store data related to nodal quantities. They may be historical or non-historical. Following code snippet illustrtes creating a nodal expression
Expand Down

0 comments on commit 0ea045f

Please sign in to comment.