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

Public Member Functions

 __init__ (self, Operator operator, Expression lhs, Expression rhs)
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
 lhs = lhs
 rhs = rhs
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 451 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.DataBlockBinaryOperation.__init__ ( self,
Operator operator,
Expression lhs,
Expression rhs )

Definition at line 452 of file Expressions.py.

Member Function Documentation

◆ index_at()

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

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

Definition at line 515 of file Expressions.py.

References assert, index_at(), exahype2.api.dslhype2.AbstractSyntaxTree.Assignment.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.Construction.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockAssignment.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromElement.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromExternal.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromFunctionCall.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromOperation.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockUnaryMax.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.MemoryAllocation.lhs, exahype2.api.dslhype2.AbstractSyntaxTree.MemoryDeallocation.lhs, lhs, exahype2.api.dslhype2.Expressions.ElementBinaryOperation.lhs, operator, exahype2.api.dslhype2.Expressions.ElementBinaryOperation.operator, exahype2.api.dslhype2.Expressions.ElementUnaryOperation.operator, exahype2.api.dslhype2.AbstractSyntaxTree.Assignment.rhs, exahype2.api.dslhype2.AbstractSyntaxTree.Construction.rhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockAssignment.rhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromElement.rhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromExternal.rhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromFunctionCall.rhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockConstructionFromOperation.rhs, exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockUnaryMax.rhs, rhs, and exahype2.api.dslhype2.Expressions.ElementBinaryOperation.rhs.

Referenced by index_at().

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

Field Documentation

◆ lhs

exahype2.api.dslhype2.Expressions.DataBlockBinaryOperation.lhs = lhs

Definition at line 454 of file Expressions.py.

Referenced by index_at().

◆ operator

exahype2.api.dslhype2.Expressions.DataBlockBinaryOperation.operator = operator

◆ rhs

exahype2.api.dslhype2.Expressions.DataBlockBinaryOperation.rhs = rhs

Definition at line 455 of file Expressions.py.

Referenced by index_at().


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