|
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 | |
| __init__ (self) | |
| 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 | |
| int | _dimensions = dimensions |
| _underlying_type = underlying_type | |
| Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| _parent = None | |
| bool | _on_left = False |
| bool | _hoist = False |
| bool | _index_type = False |
Additional Inherited Members | |
| 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 ) |
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 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, _underlying_type, exahype2.api.dslhype.SyntaxTree.Type.get_element_type(), and 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 _underlying_type.
|
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 _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, _underlying_type, and print_cpp().
Referenced by 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.Matrix._dimensions, exahype2.api.dslhype.SyntaxTree.Subscript._dimensions, _dimensions, exahype2.api.dslhype.SyntaxTree.TSimpleMemref._dimensions, exahype2.api.dslhype.SyntaxTree.DataBlock._underlying_type, _underlying_type, and print_mlir().
Referenced by generate_memref_load(), get_array_element_info(), and 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, _underlying_type, and print_omp().
Referenced by 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, _underlying_type, and print_sycl().
Referenced by 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 api.Project.Project.__configure_makefile(), exaparty.api.Project.Project.__configure_makefile(), api.Project.Project.__export_constants(), exahype2.api.Project.Project.__export_constants(), exaparty.api.Project.Project.__export_constants(), api.Project.Project.__init__(), solvers.api.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi._construct_narrow_to_interior_matrix(), solvers.api.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi.ContinuousGalerkinDiscretisationGaussLobattoWithBlockJacobi.add_implementation_files_to_project(), scenarios.elastic_planar_waves.ElasticPlanarWaves.analytical_solution(), tarch.plotter.api.output.Visualiser.PatchFileData.apply_renderer_to_data(), exahype2.api.Project.Project.generate_Peano4_project(), scenarios.elastic_planar_waves.ElasticPlanarWaves.initial_conditions(), print_mlir(), api.Project.Project.set_global_simulation_parameters(), api.Project.Project.set_global_simulation_parameters(), exahype2.api.Project.Project.set_global_simulation_parameters(), exaparty.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 get_array_element_info(), get_element_type(), get_single(), print_cpp(), print_mlir(), print_omp(), and print_sycl().