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

Public Member Functions

 __init__ (self, Operator operator, Element|Variable operand)
ElementUnaryOperation convert_integers_to_indices (self)
ElementUnaryOperation convert_indices_to_integers (self)
TElement get_type (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

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

Detailed Description

Definition at line 321 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.ElementUnaryOperation.__init__ ( self,
Operator operator,
Element | Variable operand )

Definition at line 322 of file Expressions.py.

Member Function Documentation

◆ convert_indices_to_integers()

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

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

Definition at line 329 of file Expressions.py.

References convert_indices_to_integers(), operand, exahype2.api.dslhype2.Expressions.ElementBinaryOperation.operator, and operator.

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()

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

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

Definition at line 326 of file Expressions.py.

References convert_integers_to_indices(), operand, exahype2.api.dslhype2.Expressions.ElementBinaryOperation.operator, and operator.

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.ElementUnaryOperation.get_type ( self)

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

Definition at line 332 of file Expressions.py.

References assert, get_type(), and operand.

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.ElementUnaryOperation.print ( self,
printer,
int indent_level = 0 )

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

Definition at line 337 of file Expressions.py.

Field Documentation

◆ operand

exahype2.api.dslhype2.Expressions.ElementUnaryOperation.operand = operand

◆ operator


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