|
Peano
|


Public Member Functions | |
| __init__ (self, dimensions, internal, index_dimensions) | |
| index (self, row_index, column_index) | |
| 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) | |
| get_type (self) | |
Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Expression | |
| mlir_id (self, id=None) | |
| multidimensional_index (self, index_list, start_index=0, dimensions=[]) | |
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) | |
Protected Attributes | |
| _internal | |
| _dimensions | |
| _index_dimensions | |
| _id | |
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) | |
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 1799 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Matrix.__init__ | ( | self, | |
| dimensions, | |||
| internal, | |||
| index_dimensions | |||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 1800 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Matrix.get_type | ( | self | ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 1830 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Matrix.index | ( | self, | |
| row_index, | |||
| column_index | |||
| ) |
Definition at line 1806 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, and scenarios.swe_resting_lake.SWERestingLake._dimensions.
| exahype2.api.dslhype.SyntaxTree.Matrix.print_cpp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1809 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._id, exahype2.api.dslhype.SyntaxTree.Matrix._id, exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromKroneckerProduct._id, exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue._id, exahype2.api.dslhype.SyntaxTree.MatrixConstructionFromKroneckerProduct._id, peano4::grid::GridTraversalEventGenerator._id, peano4::grid::Spacetree._id, peano4::parallel::TreeEntry._id, peano4::stacks::tests::GeneratedTestObject._id, peano4::stacks::tests::GeneratedTestObject_Flattened._id, exahype2.api.dslhype.SyntaxTree.DataBlock._internal, exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._internal, exahype2.api.dslhype.SyntaxTree.Matrix._internal, and exahype2.api.dslhype.SyntaxTree.Matrix.print_cpp().
Referenced by exahype2.api.dslhype.SyntaxTree.Matrix.print_cpp(), and exahype2.api.dslhype.SyntaxTree.Matrix.print_omp().


| exahype2.api.dslhype.SyntaxTree.Matrix.print_mlir | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1824 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Matrix.print_omp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1815 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._id, exahype2.api.dslhype.SyntaxTree.Matrix._id, exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromKroneckerProduct._id, exahype2.api.dslhype.SyntaxTree.DiagonalMatrixConstructionFromValue._id, exahype2.api.dslhype.SyntaxTree.MatrixConstructionFromKroneckerProduct._id, peano4::grid::GridTraversalEventGenerator._id, peano4::grid::Spacetree._id, peano4::parallel::TreeEntry._id, peano4::stacks::tests::GeneratedTestObject._id, peano4::stacks::tests::GeneratedTestObject_Flattened._id, exahype2.api.dslhype.SyntaxTree.DataBlock._internal, exahype2.api.dslhype.SyntaxTree.DiagonalMatrix._internal, exahype2.api.dslhype.SyntaxTree.Matrix._internal, and exahype2.api.dslhype.SyntaxTree.Matrix.print_cpp().

| exahype2.api.dslhype.SyntaxTree.Matrix.print_sycl | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1821 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Matrix.print_tree | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1827 of file SyntaxTree.py.
|
protected |
Definition at line 1802 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 |
|
protected |
Definition at line 1803 of file SyntaxTree.py.
|
protected |
Definition at line 1801 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().