Peano
Loading...
Searching...
No Matches
exahype2.api.dslhype2.Expressions.DataBlockSlice Class Reference
Inheritance diagram for exahype2.api.dslhype2.Expressions.DataBlockSlice:
Collaboration diagram for exahype2.api.dslhype2.Expressions.DataBlockSlice:

Public Member Functions

 __init__ (self, Variable original_data_block, list[list[Element|Variable]] iteration_range)
Expression index_at (self, Sequence[Element|Variable] indices, get_address=False)
Name get_name (self)
TDataBlock get_type (self)
 print (self, printer, int indent_level=0)
Public Member Functions inherited from exahype2.api.dslhype2.Expressions.DataBlock
 __init__ (self, Sequence[Sequence[Element|Variable]] iteration_range, Element|ExternalStructField|FunctionCall|None value, flatten)
list[Element|Variable] calculate_indices (self, Sequence[Element|Variable] indices)
Public Member Functions inherited from exahype2.api.dslhype2.Expressions.Array
 __init__ (self, TElement element_type, Sequence[Element|Variable] size, bool flatten)

Data Fields

 original_data_block = original_data_block
Data Fields inherited from exahype2.api.dslhype2.Expressions.DataBlock
 value = value
 iteration_range = iteration_range
 size_in_memory = size_in_memory
Data Fields inherited from exahype2.api.dslhype2.Expressions.Array
 array_size = size
 element_type = element_type
 flatten = flatten

Additional Inherited Members

Static Public Member Functions inherited from exahype2.api.dslhype2.Expressions.Array
Element|Variable linearise_index (Sequence[Element|Variable] indices, Sequence[Element|Variable] dimensions)

Detailed Description

Definition at line 425 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.DataBlockSlice.__init__ ( self,
Variable original_data_block,
list[list[Element | Variable]] iteration_range )

Definition at line 426 of file Expressions.py.

Member Function Documentation

◆ get_name()

Name exahype2.api.dslhype2.Expressions.DataBlockSlice.get_name ( self)

Reimplemented from exahype2.api.dslhype2.Expressions.AssignableExpression.

Definition at line 440 of file Expressions.py.

References get_name(), and original_data_block.

Referenced by get_name().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_type()

TDataBlock exahype2.api.dslhype2.Expressions.DataBlockSlice.get_type ( self)

◆ index_at()

Expression exahype2.api.dslhype2.Expressions.DataBlockSlice.index_at ( self,
Sequence[Element | Variable] indices,
get_address = False )

Reimplemented from exahype2.api.dslhype2.Expressions.DataBlock.

Definition at line 431 of file Expressions.py.

References original_data_block.

◆ print()

exahype2.api.dslhype2.Expressions.DataBlockSlice.print ( self,
printer,
int indent_level = 0 )

Reimplemented from exahype2.api.dslhype2.Expressions.DataBlock.

Definition at line 448 of file Expressions.py.

Field Documentation

◆ original_data_block

exahype2.api.dslhype2.Expressions.DataBlockSlice.original_data_block = original_data_block

Definition at line 429 of file Expressions.py.

Referenced by get_name(), get_type(), and index_at().


The documentation for this class was generated from the following file: