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

Public Member Functions

 __init__ (self, Operator operator, Expression operand)
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

 operator = operator
 operand = operand
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 522 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.DataBlockUnaryOperation.__init__ ( self,
Operator operator,
Expression operand )

Definition at line 523 of file Expressions.py.

References assert.

Member Function Documentation

◆ index_at()

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

Field Documentation

◆ operand

exahype2.api.dslhype2.Expressions.DataBlockUnaryOperation.operand = operand

Definition at line 533 of file Expressions.py.

Referenced by index_at().

◆ operator

exahype2.api.dslhype2.Expressions.DataBlockUnaryOperation.operator = operator

Definition at line 532 of file Expressions.py.

Referenced by index_at().


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