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

Public Member Functions

 __init__ (self, Operator operator, Element|Variable|Subscript lhs, Element|Variable|Subscript rhs)
TElement get_type (self)
ElementBinaryOperation convert_integers_to_indices (self)
ElementBinaryOperation convert_indices_to_integers (self)
 print (self, printer, int indent_level=0)
Public Member Functions inherited from exahype2.api.dslhype2.Expressions.Element
Expression index_at (self, Sequence[Element|Variable] indices, get_address=False)
Element|Variable __add__ (self, Element|Variable rhs)
Element|Variable __sub__ (self, Element|Variable rhs)
Element|Variable __neg__ (self)
Element|Variable __mul__ (self, Element|Variable rhs)

Data Fields

 lhs = lhs
 rhs = rhs
 operator = operator
Data Fields inherited from exahype2.api.dslhype2.Expressions.Element
int value

Detailed Description

Definition at line 294 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.ElementBinaryOperation.__init__ ( self,
Operator operator,
Element | Variable | Subscript lhs,
Element | Variable | Subscript rhs )

Definition at line 295 of file Expressions.py.

Member Function Documentation

◆ convert_indices_to_integers()

ElementBinaryOperation exahype2.api.dslhype2.Expressions.ElementBinaryOperation.convert_indices_to_integers ( self)

Reimplemented from exahype2.api.dslhype2.Expressions.Element.

Definition at line 314 of file Expressions.py.

References convert_indices_to_integers(), 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, 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, and rhs.

Referenced by convert_indices_to_integers().

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

◆ convert_integers_to_indices()

ElementBinaryOperation exahype2.api.dslhype2.Expressions.ElementBinaryOperation.convert_integers_to_indices ( self)

Reimplemented from exahype2.api.dslhype2.Expressions.Element.

Definition at line 311 of file Expressions.py.

References convert_integers_to_indices(), 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, 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, and rhs.

Referenced by convert_integers_to_indices().

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

◆ get_type()

TElement exahype2.api.dslhype2.Expressions.ElementBinaryOperation.get_type ( self)

Reimplemented from exahype2.api.dslhype2.Expressions.Element.

Definition at line 304 of file Expressions.py.

References get_type(), 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.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, and rhs.

Referenced by get_type().

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

◆ print()

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

Reimplemented from exahype2.api.dslhype2.Expressions.Expression.

Definition at line 317 of file Expressions.py.

Field Documentation

◆ lhs

exahype2.api.dslhype2.Expressions.ElementBinaryOperation.lhs = lhs

◆ operator

◆ rhs

exahype2.api.dslhype2.Expressions.ElementBinaryOperation.rhs = rhs

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