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

Public Member Functions

 __init__ (self, Element element, Index index)
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

 element = element
 index = index
Data Fields inherited from exahype2.api.dslhype2.Expressions.Element
int value

Detailed Description

Definition at line 340 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.ElementIndex.__init__ ( self,
Element element,
Index index )

Definition at line 341 of file Expressions.py.

Member Function Documentation

◆ convert_indices_to_integers()

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

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

Definition at line 348 of file Expressions.py.

◆ convert_integers_to_indices()

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

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

Definition at line 345 of file Expressions.py.

◆ get_type()

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

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

Definition at line 351 of file Expressions.py.

◆ print()

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

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

Definition at line 354 of file Expressions.py.

Field Documentation

◆ element

exahype2.api.dslhype2.Expressions.ElementIndex.element = element

Definition at line 342 of file Expressions.py.

◆ index

exahype2.api.dslhype2.Expressions.ElementIndex.index = index

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