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

Public Member Functions

 __init__ (self, Variable variable, Array array)
 print (self, printer, int indent_level=0)

Data Fields

 variable = variable
 array = array
 allocation = MemoryAllocation(self.variable, self.array.element_type, self.array.array_size[0])
bool use_1d_allocation = False
 outer_allocation = MemoryAllocation(self.variable, TArray(self.array.element_type, 1), outer_allocation_size)
 inner_allocation = For(Index(0), outer_allocation_size)

Static Public Attributes

list array_allocations = []

Detailed Description

Definition at line 256 of file AbstractSyntaxTree.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.__init__ ( self,
Variable variable,
Array array )

Definition at line 259 of file AbstractSyntaxTree.py.

Member Function Documentation

◆ print()

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

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

Definition at line 280 of file AbstractSyntaxTree.py.

Field Documentation

◆ allocation

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.allocation = MemoryAllocation(self.variable, self.array.element_type, self.array.array_size[0])

Definition at line 264 of file AbstractSyntaxTree.py.

◆ array

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.array = array

Definition at line 261 of file AbstractSyntaxTree.py.

◆ array_allocations

list exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.array_allocations = []
static

Definition at line 257 of file AbstractSyntaxTree.py.

◆ inner_allocation

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.inner_allocation = For(Index(0), outer_allocation_size)

Definition at line 273 of file AbstractSyntaxTree.py.

◆ outer_allocation

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.outer_allocation = MemoryAllocation(self.variable, TArray(self.array.element_type, 1), outer_allocation_size)

Definition at line 272 of file AbstractSyntaxTree.py.

◆ use_1d_allocation

bool exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.use_1d_allocation = False

Definition at line 268 of file AbstractSyntaxTree.py.

◆ variable

exahype2.api.dslhype2.AbstractSyntaxTree.ArrayAllocation.variable = variable

Definition at line 260 of file AbstractSyntaxTree.py.


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