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

Public Member Functions

 __init__ (self, Variable vector_data_block, Index index)
Expression index_at (self, Sequence[Element|Variable] indices, get_address=False)
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)
TDataBlock get_type (self)
 print (self, printer, int indent_level=0)
Public Member Functions inherited from exahype2.api.dslhype2.Expressions.Array
 __init__ (self, TElement element_type, Sequence[Element|Variable] size, bool flatten)

Data Fields

 vector_data_block = vector_data_block
 index = index
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 542 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.DataBlockIndex.__init__ ( self,
Variable vector_data_block,
Index index )

Definition at line 543 of file Expressions.py.

Member Function Documentation

◆ index_at()

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

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

Definition at line 551 of file Expressions.py.

References index, exahype2.api.dslhype2.Expressions.ElementIndex.index, index_at(), and vector_data_block.

Referenced by index_at().

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

Field Documentation

◆ index

exahype2.api.dslhype2.Expressions.DataBlockIndex.index = index

Definition at line 545 of file Expressions.py.

Referenced by index_at().

◆ vector_data_block

exahype2.api.dslhype2.Expressions.DataBlockIndex.vector_data_block = vector_data_block

Definition at line 544 of file Expressions.py.

Referenced by index_at().


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