|
Peano
|


Public Member Functions | |
| __init__ (self, iteration_range, internal, requires_memory_allocation, id=None, underlying_type=String("double")) | |
| offset (self, offset) | |
| linearise_index (self, indices, dimensions, offset_start_index=0) | |
| multidimensional_index (self, index_list, start_index=0, dimensions=[]) | |
| get_type (self) | |
| print_cpp (self, indent_level=0) | |
| print_omp (self, indent_level=0) | |
| print_sycl (self, indent_level=0) | |
| print_mlir (self, indent_level=0) | |
| print_tree (self, indent_level=0) | |
Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Expression | |
| mlir_id (self, id=None) | |
Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| parent (self, parent=None) | |
| on_left (self, left=None) | |
| hoist (self, flag=None) | |
| get_mlir_id (cls) | |
| reset_mlir_ids (cls) | |
| create_memref_from_ptr (cls, ptr_id, target_type, indent_level=0, size_hint=None, target_var_name=None) | |
| create_memref_from_extracted_descriptor (cls, alloc_ptr_id, aligned_ptr_id, offset_id, sizes_0_id, sizes_1_id, strides_0_id, strides_1_id, target_type, struct_type, indent_level=0, target_var_name=None, is_2d=False) | |
Data Fields | |
| requires_memory_allocation | |
| id | |
Data Fields inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| mlir_id_count | |
Protected Attributes | |
| _iteration_range | |
| _internal | |
| _underlying_type | |
| _offset | |
| _memory_range | |
Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Expression | |
| _mlir_id | |
Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| _parent | |
| _on_left | |
| _hoist | |
| _index_type | |
Additional Inherited Members | |
Static Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| get_mlir_type (type_string) | |
| generate_pointer_to_2d_element (memref_mlir, row_index, col_index, is_nested, indent_level=0) | |
Static Public Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| output_format = None | |
| int | spaces_per_tab = 4 |
| bool | use_accelerator = False |
| bool | use_memory_manager = False |
| int | mlir_id_count = 0 |
| dict | type_map = {} |
| dict | struct_map = {} |
| context = Context() | |
| target_variable_name = None | |
| dict | mlir_symbol_table = {} |
| dict | mlir_memref_types = {} |
| str | descriptor2DType = "!llvm.struct<(ptr, ptr, i64, array<2 x i64>, array<2 x i64>)>" |
| str | descriptor1DType = "!llvm.struct<(ptr, ptr, i64, array<1 x i64>, array<1 x i64>)>" |
| list | patchTypes |
| target_type = field_info.split('|||')[0] | |
Definition at line 1275 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.DataBlock.__init__ | ( | self, | |
| iteration_range, | |||
| internal, | |||
| requires_memory_allocation, | |||
id = None, |
|||
underlying_type = String("double") |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Reimplemented in exahype2.api.dslhype.SyntaxTree.FaceDataBlock.
Definition at line 1276 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock.__init__().
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.__init__().


| exahype2.api.dslhype.SyntaxTree.DataBlock.get_type | ( | self | ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 1346 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.FaceDataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockIndex._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation._iteration_range, exahype2.api.dslhype.SyntaxTree.For._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, and exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type.
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.linearise_index().

| exahype2.api.dslhype.SyntaxTree.DataBlock.linearise_index | ( | self, | |
| indices, | |||
| dimensions, | |||
offset_start_index = 0 |
|||
| ) |
Definition at line 1311 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._memory_range, exahype2.api.dslhype.SyntaxTree.DataBlockIndex._memory_range, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._memory_range, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._memory_range, exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation._memory_range, exahype2.api.dslhype.SyntaxTree.DataBlock._offset, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._offset, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._offset, exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation._offset, peano4::grid::GridControlEvent._offset, scenarios.acoustic_planar_waves.AcousticPlanarWaves._offset, scenarios.elastic_planar_waves.ElasticPlanarWaves._offset, scenarios.euler_gaussian_bell.EulerGaussianBell._offset, scenarios.euler_isotropic_vortex.EulerIsotropicVortex._offset, scenarios.scenario.Scenario._offset, scenarios.swe_radial_dam_break.SWERadialDamBreak._offset, scenarios.swe_resting_lake.SWERestingLake._offset, exahype2.api.dslhype.SyntaxTree.DataBlock.get_type(), and exahype2.api.dslhype.SyntaxTree.DataBlock.multidimensional_index().
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.multidimensional_index().


| exahype2.api.dslhype.SyntaxTree.DataBlock.multidimensional_index | ( | self, | |
| index_list, | |||
start_index = 0, |
|||
dimensions = [] |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Reimplemented in exahype2.api.dslhype.SyntaxTree.FaceDataBlock.
Definition at line 1337 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.FaceDataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockIndex._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation._iteration_range, exahype2.api.dslhype.SyntaxTree.For._iteration_range, and exahype2.api.dslhype.SyntaxTree.DataBlock.linearise_index().
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.linearise_index().


| exahype2.api.dslhype.SyntaxTree.DataBlock.offset | ( | self, | |
| offset | |||
| ) |
Reimplemented in exahype2.api.dslhype.SyntaxTree.FaceDataBlock.
Definition at line 1289 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._internal, exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._internal, exahype2.api.dslhype.SyntaxTree.Matrix._internal, exahype2.api.dslhype.SyntaxTree.DataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.FaceDataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockIndex._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation._iteration_range, exahype2.api.dslhype.SyntaxTree.For._iteration_range, exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, exahype2.api.dslhype.SyntaxTree.Name.id, exahype2.api.dslhype.SyntaxTree.DataBlock.id, exahype2.api.dslhype.SyntaxTree.FunctionCall.id, exahype2::CellData< inType, outType >.id, exahype2::CopyCellDataGPU< inType, outType >.id, and tarch::la::DynamicMatrix.id().
Referenced by tarch.plotter.api.input.Patch.Patch.__repr__().


| exahype2.api.dslhype.SyntaxTree.DataBlock.print_cpp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1350 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._internal, exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._internal, exahype2.api.dslhype.SyntaxTree.Matrix._internal, exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, exahype2.api.dslhype.SyntaxTree.Name.id, exahype2.api.dslhype.SyntaxTree.DataBlock.id, exahype2.api.dslhype.SyntaxTree.FunctionCall.id, exahype2::CellData< inType, outType >.id, exahype2::CopyCellDataGPU< inType, outType >.id, tarch::la::DynamicMatrix.id(), and exahype2.api.dslhype.SyntaxTree.DataBlock.print_cpp().
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.print_cpp().


| exahype2.api.dslhype.SyntaxTree.DataBlock.print_mlir | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1369 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._internal, exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._internal, exahype2.api.dslhype.SyntaxTree.Matrix._internal, exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, exahype2.api.dslhype.SyntaxTree.Name.id, exahype2.api.dslhype.SyntaxTree.DataBlock.id, exahype2.api.dslhype.SyntaxTree.FunctionCall.id, exahype2::CellData< inType, outType >.id, exahype2::CopyCellDataGPU< inType, outType >.id, tarch::la::DynamicMatrix.id(), and exahype2.api.dslhype.SyntaxTree.DataBlock.print_mlir().
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.print_mlir().


| exahype2.api.dslhype.SyntaxTree.DataBlock.print_omp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1356 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._internal, exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._internal, exahype2.api.dslhype.SyntaxTree.Matrix._internal, exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, exahype2.api.dslhype.SyntaxTree.Name.id, exahype2.api.dslhype.SyntaxTree.DataBlock.id, exahype2.api.dslhype.SyntaxTree.FunctionCall.id, exahype2::CellData< inType, outType >.id, exahype2::CopyCellDataGPU< inType, outType >.id, tarch::la::DynamicMatrix.id(), and exahype2.api.dslhype.SyntaxTree.DataBlock.print_omp().
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.print_omp().


| exahype2.api.dslhype.SyntaxTree.DataBlock.print_sycl | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1362 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._internal, exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._internal, exahype2.api.dslhype.SyntaxTree.Matrix._internal, exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, exahype2.api.dslhype.SyntaxTree.Name.id, exahype2.api.dslhype.SyntaxTree.DataBlock.id, exahype2.api.dslhype.SyntaxTree.FunctionCall.id, exahype2::CellData< inType, outType >.id, exahype2::CopyCellDataGPU< inType, outType >.id, tarch::la::DynamicMatrix.id(), and exahype2.api.dslhype.SyntaxTree.DataBlock.print_sycl().
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.print_sycl().


| exahype2.api.dslhype.SyntaxTree.DataBlock.print_tree | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1375 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, exahype2.api.dslhype.SyntaxTree.Name.id, exahype2.api.dslhype.SyntaxTree.DataBlock.id, exahype2.api.dslhype.SyntaxTree.FunctionCall.id, exahype2::CellData< inType, outType >.id, exahype2::CopyCellDataGPU< inType, outType >.id, and tarch::la::DynamicMatrix.id().

|
protected |
Definition at line 1279 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.offset(), exahype2.api.dslhype.SyntaxTree.FaceDataBlock.offset(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_cpp(), exahype2.api.dslhype.SyntaxTree.DiagonalMatrix.print_cpp(), exahype2.api.dslhype.SyntaxTree.Matrix.print_cpp(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_mlir(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_omp(), exahype2.api.dslhype.SyntaxTree.DiagonalMatrix.print_omp(), exahype2.api.dslhype.SyntaxTree.Matrix.print_omp(), and exahype2.api.dslhype.SyntaxTree.DataBlock.print_sycl().
|
protected |
Definition at line 1278 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.For.get_interval_size(), exahype2.api.dslhype.SyntaxTree.DataBlock.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockIndex.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlock.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlock.offset(), and exahype2.api.dslhype.SyntaxTree.FaceDataBlock.offset().
|
protected |
Definition at line 1284 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.linearise_index().
|
protected |
Definition at line 1283 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlock.linearise_index(), and scenarios.scenario.Scenario.set_global_simulation_parameters().
|
protected |
Definition at line 1281 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.TDataBlock.get_array_element_info(), exahype2.api.dslhype.SyntaxTree.TDataBlock.get_element_type(), exahype2.api.dslhype.SyntaxTree.TDataBlock.get_single(), exahype2.api.dslhype.SyntaxTree.DataBlock.get_type(), exahype2.api.dslhype.SyntaxTree.TDataBlock.print_cpp(), exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir(), exahype2.api.dslhype.SyntaxTree.TDataBlock.print_omp(), and exahype2.api.dslhype.SyntaxTree.TDataBlock.print_sycl().
| exahype2.api.dslhype.SyntaxTree.DataBlock.id |
Definition at line 1282 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.Name.__eq__(), exahype2.api.dslhype.SyntaxTree.Name.__gt__(), exahype2.api.dslhype.SyntaxTree.Name.index(), exahype2.api.dslhype.SyntaxTree.Name.index(), exahype2.api.dslhype.SyntaxTree.Name.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlock.offset(), exahype2.api.dslhype.SyntaxTree.FaceDataBlock.offset(), exahype2.api.dslhype.SyntaxTree.Argument.print_cpp(), exahype2.api.dslhype.SyntaxTree.Name.print_cpp(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_cpp(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_definition_with_timer(), exahype2.api.dslhype.SyntaxTree.Name.print_mlir(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_mlir(), exahype2.api.dslhype.SyntaxTree.Argument.print_omp(), exahype2.api.dslhype.SyntaxTree.Name.print_omp(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_omp(), exahype2.api.dslhype.SyntaxTree.Argument.print_sycl(), exahype2.api.dslhype.SyntaxTree.Name.print_sycl(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_sycl(), exahype2.api.dslhype.SyntaxTree.Name.print_tree(), and exahype2.api.dslhype.SyntaxTree.DataBlock.print_tree().
| exahype2.api.dslhype.SyntaxTree.DataBlock.requires_memory_allocation |
Definition at line 1280 of file SyntaxTree.py.