|
Peano
|


Public Member Functions | |
| __init__ (self, Expression value, Expression index) | |
| __neg__ (self) | |
| is_nested_subscript (self) | |
| 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 | |
| __init__ (self) | |
| mlir_id (self, id=None) | |
| multidimensional_index (self, index_list, start_index=0, dimensions=[]) | |
| 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) | |
Protected Attributes | |
| _value = value | |
| _index = index | |
| _dimensions = dims | |
| _new_index = new_index | |
| Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Expression | |
| _mlir_id = None | |
| 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 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 1462 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Subscript.__init__ | ( | self, | |
| Expression | value, | ||
| Expression | index ) |
Definition at line 1463 of file SyntaxTree.py.
References __init__().
Referenced by __init__().


| exahype2.api.dslhype.SyntaxTree.Subscript.__neg__ | ( | self | ) |
Definition at line 1468 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Subscript.get_type | ( | self | ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 1474 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Boolean._value, exahype2.api.dslhype.SyntaxTree.Float._value, exahype2.api.dslhype.SyntaxTree.Integer._value, exahype2.api.dslhype.SyntaxTree.Name._value, exahype2.api.dslhype.SyntaxTree.String._value, _value, and get_type().
Referenced by exahype2.api.dslhype2.Expressions.Variable.__add__(), exahype2.api.dslhype2.Expressions.Variable.__div__(), exahype2.api.dslhype2.Expressions.Variable.__mul__(), exahype2.api.dslhype2.Expressions.Variable.__neg__(), exahype2.api.dslhype2.Expressions.Variable.__sub__(), get_type(), and exahype2.api.dslhype2.Expressions.Variable.index_at().


| exahype2.api.dslhype.SyntaxTree.Subscript.is_nested_subscript | ( | self | ) |
Definition at line 1471 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Boolean._value, exahype2.api.dslhype.SyntaxTree.Float._value, exahype2.api.dslhype.SyntaxTree.Integer._value, exahype2.api.dslhype.SyntaxTree.Name._value, exahype2.api.dslhype.SyntaxTree.String._value, and _value.
| exahype2.api.dslhype.SyntaxTree.Subscript.print_cpp | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1477 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Subscript.print_mlir | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1486 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Boolean._value, exahype2.api.dslhype.SyntaxTree.Float._value, exahype2.api.dslhype.SyntaxTree.Integer._value, exahype2.api.dslhype.SyntaxTree.Name._value, exahype2.api.dslhype.SyntaxTree.String._value, and _value.
| exahype2.api.dslhype.SyntaxTree.Subscript.print_omp | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1480 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Subscript.print_sycl | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1483 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Subscript.print_tree | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 1631 of file SyntaxTree.py.
|
protected |
Definition at line 1494 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(), exahype2.api.dslhype.SyntaxTree.Matrix.index(), scenarios.elastic_planar_waves.ElasticPlanarWaves.initial_conditions(), exahype2.api.dslhype.SyntaxTree.TDataBlock.print_mlir(), exahype2.api.dslhype.SyntaxTree.TSimpleMemref.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 1466 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.DataBlockIndex.index(), exahype2.api.dslhype.SyntaxTree.DataBlockIndex.multidimensional_index(), and exahype2.api.dslhype.SyntaxTree.VectorIndex.print_mlir().
|
protected |
Definition at line 1515 of file SyntaxTree.py.
|
protected |
Definition at line 1465 of file SyntaxTree.py.
Referenced by get_type(), exahype2.api.dslhype.SyntaxTree.VectorIndex.get_type(), is_nested_subscript(), print_mlir(), and exahype2.api.dslhype.SyntaxTree.VectorIndex.print_mlir().