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

Public Member Functions

 __init__ (self, ArrayAllocation array_allocation)
 print (self, printer, int indent_level=0)

Data Fields

 array = array_allocation.array
 deallocation = MemoryDeallocation(array_allocation.variable)
 inner_deallocation = For(Index(0), self.array.array_size[0])
 outer_deallocation = MemoryDeallocation(array_allocation.variable)

Detailed Description

Definition at line 283 of file AbstractSyntaxTree.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayDeallocation.__init__ ( self,
ArrayAllocation array_allocation )

Definition at line 284 of file AbstractSyntaxTree.py.

Member Function Documentation

◆ print()

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayDeallocation.print ( self,
printer,
int indent_level = 0 )

Reimplemented from exahype2.api.dslhype2.AbstractSyntaxTree.Statement.

Definition at line 294 of file AbstractSyntaxTree.py.

Field Documentation

◆ array

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayDeallocation.array = array_allocation.array

Definition at line 285 of file AbstractSyntaxTree.py.

◆ deallocation

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayDeallocation.deallocation = MemoryDeallocation(array_allocation.variable)

Definition at line 287 of file AbstractSyntaxTree.py.

◆ inner_deallocation

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayDeallocation.inner_deallocation = For(Index(0), self.array.array_size[0])

Definition at line 289 of file AbstractSyntaxTree.py.

◆ outer_deallocation

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayDeallocation.outer_deallocation = MemoryDeallocation(array_allocation.variable)

Definition at line 292 of file AbstractSyntaxTree.py.


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