|
Peano
|


Public Member Functions | |
| __init__ (self, dimensions, underlying_type) | |
| get_single (self) | |
| get_element_type (self) | |
| get_array_element_info (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.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) | |
Static Public Member Functions | |
| needs_memref_load (operand) | |
| generate_memref_load (operand, operand_mlir, const_zero_id, indent_level) | |
| ensure_const_zero (const_zero_id, indent_level) | |
| get_mlir_type_for_operation (lhs, rhs) | |
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) | |
Protected Attributes | |
| _dimensions | |
| _underlying_type | |
Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| _parent | |
| _on_left | |
| _hoist | |
| _index_type | |
Additional Inherited Members | |
Data Fields inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| mlir_id_count | |
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 2939 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.TDataBlock.__init__ | ( | self, | |
| dimensions, | |||
| underlying_type | |||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 2940 of file SyntaxTree.py.
|
static |
Definition at line 2984 of file SyntaxTree.py.
|
static |
Definition at line 2961 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir().

| exahype2.api.dslhype.SyntaxTree.TDataBlock.get_array_element_info | ( | self | ) |
Definition at line 3031 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type, exahype2.api.dslhype.SyntaxTree.Type.get_element_type(), exahype2.api.dslhype.SyntaxTree.TNestedMemref.get_element_type(), exahype2.api.dslhype.SyntaxTree.TSimpleMemref.get_element_type(), exahype2.api.dslhype.SyntaxTree.TDataBlock.get_element_type(), and exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir().

| exahype2.api.dslhype.SyntaxTree.TDataBlock.get_element_type | ( | self | ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Type.
Definition at line 2994 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, and exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type.
Referenced by exahype2.api.dslhype.SyntaxTree.TDataBlock.get_array_element_info().

|
static |
Definition at line 3006 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.TDataBlock.get_single | ( | self | ) |
Definition at line 2991 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, and exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type.
|
static |
Definition at line 2945 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.TDataBlock.print_cpp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3051 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type, and exahype2.api.dslhype.SyntaxTree.TDataBlock.print_cpp().
Referenced by exahype2.api.dslhype.SyntaxTree.TDataBlock.print_cpp().


| exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3060 of file SyntaxTree.py.
References convert::input::PeanoTextPatchFileReader._dimensions, exahype2.api.dslhype.SyntaxTree.Subscript._dimensions, exahype2.api.dslhype.SyntaxTree.Matrix._dimensions, exahype2.api.dslhype.SyntaxTree.TSimpleMemref._dimensions, exahype2.api.dslhype.SyntaxTree.TDataBlock._dimensions, exahype2.api.dslhype.SyntaxTree.MemoryAllocation._dimensions, exahype2.api.dslhype.SyntaxTree.MemoryDeallocation._dimensions, exahype2.api.Project.Project._dimensions, exaparty.api.Project.Project._dimensions, api.Project.Project._dimensions, solvers.api.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi._dimensions, solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver._dimensions, tarch.plotter.api.output.Visualiser.PatchFileData._dimensions, tarch.plotter.api.output.Visualiser.Visualiser._dimensions, tarch.plotter::griddata::blockstructured::PeanoBinaryPatchFileWriter._dimensions, tarch.plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter._dimensions, tarch.plotter::griddata::blockstructured::PeanoTextPatchFileWriter._dimensions, scenarios.acoustic_planar_waves.AcousticPlanarWaves._dimensions, scenarios.advection_linear.AdvectionLinear._dimensions, scenarios.elastic_planar_waves.ElasticPlanarWaves._dimensions, scenarios.euler_gaussian_bell.EulerGaussianBell._dimensions, scenarios.euler_isotropic_vortex.EulerIsotropicVortex._dimensions, scenarios.scenario.Scenario._dimensions, scenarios.swe_radial_dam_break.SWERadialDamBreak._dimensions, scenarios.swe_resting_lake.SWERestingLake._dimensions, exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type, and exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir().
Referenced by exahype2.api.dslhype.SyntaxTree.TDataBlock.generate_memref_load(), exahype2.api.dslhype.SyntaxTree.TDataBlock.get_array_element_info(), and exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir().


| exahype2.api.dslhype.SyntaxTree.TDataBlock.print_omp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3054 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type, and exahype2.api.dslhype.SyntaxTree.TDataBlock.print_omp().
Referenced by exahype2.api.dslhype.SyntaxTree.TDataBlock.print_omp().


| exahype2.api.dslhype.SyntaxTree.TDataBlock.print_sycl | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3057 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, exahype2.api.dslhype.SyntaxTree.TDataBlock._underlying_type, and exahype2.api.dslhype.SyntaxTree.TDataBlock.print_sycl().
Referenced by exahype2.api.dslhype.SyntaxTree.TDataBlock.print_sycl().


| exahype2.api.dslhype.SyntaxTree.TDataBlock.print_tree | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Type.
Definition at line 3120 of file SyntaxTree.py.
|
protected |
Definition at line 2941 of file SyntaxTree.py.
Referenced by exaparty.api.Project.Project.__configure_makefile(), api.Project.Project.__configure_makefile(), exaparty.api.Project.Project.__export_constants(), api.Project.Project.__export_constants(), exahype2.api.Project.Project.__export_constants(), api.Project.Project.__init__(), solvers.api.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi._construct_narrow_to_interior_matrix(), scenarios.elastic_planar_waves.ElasticPlanarWaves.analytical_solution(), tarch.plotter.api.output.Visualiser.PatchFileData.apply_renderer_to_data(), exahype2.api.dslhype.SyntaxTree.Matrix.index(), scenarios.elastic_planar_waves.ElasticPlanarWaves.initial_conditions(), exahype2.api.dslhype.SyntaxTree.TSimpleMemref.print_mlir(), exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir(), exaparty.api.Project.Project.set_global_simulation_parameters(), api.Project.Project.set_global_simulation_parameters(), api.Project.Project.set_global_simulation_parameters(), exahype2.api.Project.Project.set_global_simulation_parameters(), and scenarios.scenario.Scenario.set_global_simulation_parameters().
|
protected |
Definition at line 2942 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().