|
Peano
|


Public Member Functions | |
| __init__ (self, TElement element_type, Sequence[Element|Variable] size, bool flatten) | |
| TArray | get_type (self) |
| list[Element|Variable] | calculate_indices (self, Sequence[Element|Variable] indices) |
| Public Member Functions inherited from exahype2.api.dslhype2.Expressions.Expression | |
| print (self, printer, int indent_level=0) | |
| Expression | index_at (self, Sequence[Element|Variable] indices, get_address=False) |
Static Public Member Functions | |
| Element|Variable | linearise_index (Sequence[Element|Variable] indices, Sequence[Element|Variable] dimensions) |
Data Fields | |
| array_size = size | |
| element_type = element_type | |
| flatten = flatten | |
Definition at line 96 of file Expressions.py.
| exahype2.api.dslhype2.Expressions.Array.__init__ | ( | self, | |
| TElement | element_type, | ||
| Sequence[Element | Variable] | size, | ||
| bool | flatten ) |
Definition at line 97 of file Expressions.py.
| list[Element|Variable] exahype2.api.dslhype2.Expressions.Array.calculate_indices | ( | self, | |
| Sequence[Element | Variable] | indices ) |
Reimplemented in exahype2.api.dslhype2.Expressions.DataBlock.
Definition at line 108 of file Expressions.py.
| TArray exahype2.api.dslhype2.Expressions.Array.get_type | ( | self | ) |
Reimplemented from exahype2.api.dslhype2.Expressions.Expression.
Reimplemented in exahype2.api.dslhype2.Expressions.DataBlock, and exahype2.api.dslhype2.Expressions.DataBlockSlice.
Definition at line 104 of file Expressions.py.
|
static |
Definition at line 112 of file Expressions.py.
References assert.
| exahype2.api.dslhype2.Expressions.Array.array_size = size |
Definition at line 98 of file Expressions.py.
| exahype2.api.dslhype2.Expressions.Array.element_type = element_type |
Definition at line 100 of file Expressions.py.
| exahype2.api.dslhype2.Expressions.Array.flatten = flatten |
Definition at line 101 of file Expressions.py.