Peano
Loading...
Searching...
No Matches
exahype2.api.dslhype2.AbstractSyntaxTree.Function Class Reference
Collaboration diagram for exahype2.api.dslhype2.AbstractSyntaxTree.Function:

Public Member Functions

 __init__ (self, Name name, list[str] namespace=[], bool stateless=False)
 add_statements (self, list[Statement] new_statements)
 add_arguments (self, list[Argument] new_arguments)
 print_declaration (self, printer, int indent_level=0)
 print_definition (self, printer, int indent_level=0)
 print_declaration_with_timer (self, printer, int indent_level=0)
 print_definition_with_timer (self, printer, int indent_level=0)

Data Fields

 name = name
 namespace = namespace
list arguments = []
list body = []
 stateless = stateless
dict[Name, TFunction] function_map = None

Detailed Description

Definition at line 7 of file AbstractSyntaxTree.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.AbstractSyntaxTree.Function.__init__ ( self,
Name name,
list[str] namespace = [],
bool stateless = False )

Definition at line 8 of file AbstractSyntaxTree.py.

Member Function Documentation

◆ add_arguments()

exahype2.api.dslhype2.AbstractSyntaxTree.Function.add_arguments ( self,
list[Argument] new_arguments )

Definition at line 19 of file AbstractSyntaxTree.py.

References arguments.

◆ add_statements()

exahype2.api.dslhype2.AbstractSyntaxTree.Function.add_statements ( self,
list[Statement] new_statements )

Definition at line 16 of file AbstractSyntaxTree.py.

References body.

◆ print_declaration()

exahype2.api.dslhype2.AbstractSyntaxTree.Function.print_declaration ( self,
printer,
int indent_level = 0 )

Definition at line 22 of file AbstractSyntaxTree.py.

◆ print_declaration_with_timer()

exahype2.api.dslhype2.AbstractSyntaxTree.Function.print_declaration_with_timer ( self,
printer,
int indent_level = 0 )

Definition at line 28 of file AbstractSyntaxTree.py.

◆ print_definition()

exahype2.api.dslhype2.AbstractSyntaxTree.Function.print_definition ( self,
printer,
int indent_level = 0 )

Definition at line 25 of file AbstractSyntaxTree.py.

◆ print_definition_with_timer()

exahype2.api.dslhype2.AbstractSyntaxTree.Function.print_definition_with_timer ( self,
printer,
int indent_level = 0 )

Definition at line 31 of file AbstractSyntaxTree.py.

Field Documentation

◆ arguments

list exahype2.api.dslhype2.AbstractSyntaxTree.Function.arguments = []

Definition at line 11 of file AbstractSyntaxTree.py.

Referenced by add_arguments().

◆ body

list exahype2.api.dslhype2.AbstractSyntaxTree.Function.body = []

Definition at line 12 of file AbstractSyntaxTree.py.

Referenced by add_statements().

◆ function_map

dict[Name, TFunction] exahype2.api.dslhype2.AbstractSyntaxTree.Function.function_map = None

◆ name

exahype2.api.dslhype2.AbstractSyntaxTree.Function.name = name

Definition at line 9 of file AbstractSyntaxTree.py.

Referenced by solvers.aderdg.kernels.Gemms.Gemms.__init__(), solvers.aderdg.kernels.Gemms.Gemms.__repr__(), test_derive_load_store_compute_flag._FakeSubmodel.__repr__(), test_propagate_use_statements._FakeSubmodel.__repr__(), exaparty.api.particle.ExplicitEulerFixedSearchRadius.ExplicitEulerFixedSearchRadius.__setup_algorithm_steps(), exaparty.api.particle.AlgorithmStep.AlgorithmStep.__str__(), exahype2.api.Solver.Solver.Plotter._add_time_interval_bookkeeping_to_solver(), exaparty.api.particle.Particle.Particle._dependency_checks_modify_steps(), exagrype.api.CCZ4SolverBase.CCZ4SolverBase._insert_constraint_enforcement(), exaparty.api.particle.LeapfrogFixedSearchRadius.LeapfrogFixedSearchRadius._setup_algorithm_steps_dict(), exagrype.api.CCZ4SolverBase.CCZ4SolverBase._tasks_of_this_solver(), peano4.api.datamodel.DoF.DoF.additional_load_and_store_arguments_for_other_dof(), exaparty.api.particle.ExplicitEulerDynamicSearchRadius.ExplicitEulerDynamicSearchRadius.algorithm_steps(), exaparty.api.particle.tests.DastgenTestDummyParticle.DastgenTestDummyParticle.algorithm_steps(), exaparty.api.particle.tests.DisappearingParticleTest.DisappearingParticleTest.algorithm_steps(), exaparty.api.particle.tests.testLeapfrogFixedTimeStepSize.testLeapfrogFixedTimeStepSize.algorithm_steps(), exahype2.api.dslhype2.Expressions.Variable.convert_indices_to_integers(), exahype2.api.dslhype2.Expressions.Variable.convert_integers_to_indices(), exahype2.api.Solver.Solver.Plotter.create_finish_call(), exahype2.api.Solver.Solver.Plotter.create_is_active_predicate(), exagrype.api.FOSOReconstructionSolver.FOSOReconstructionSolver.create_task_graph(), peano4.api.solversteps.UserActionSet.UserActionSet.get_action_set_name(), peano4.api.taskgraph.compiler.fuse-steps-illustrations._IllustrationActionSet.get_action_set_name(), test_fuse_steps._FakeActionSet.get_action_set_name(), peano4.api.datamodel.DoF.DoF.get_full_qualified_type(), peano4.api.datamodel.DoF.DoF.get_logical_type_name(), exahype2.api.dslhype2.Expressions.Variable.get_name(), peano4.api.solversteps.Step.Step.get_observer_class_name(), dastgen2.attributes.Enumeration.Enumeration.get_to_string(), exahype2.api.dslhype2.Expressions.Variable.get_type(), exahype2.api.dslhype2.Expressions.Variable.get_value(), and exaparty.api.particle.Particle.Particle.readme_descriptor().

◆ namespace

◆ stateless

exahype2.api.dslhype2.AbstractSyntaxTree.Function.stateless = stateless

Definition at line 13 of file AbstractSyntaxTree.py.


The documentation for this class was generated from the following file: