![]() |
Peano
|
Public Member Functions | |
__init__ (self, name, order, unknowns, auxiliary_variables, min_cell_h, max_cell_h, time_step_relaxation, flux=PDETerms.User_Defined_Implementation, ncp=PDETerms.None_Implementation, eigenvalues=PDETerms.User_Defined_Implementation, boundary_conditions=PDETerms.User_Defined_Implementation, refinement_criterion=PDETerms.Empty_Implementation, initial_conditions=PDETerms.User_Defined_Implementation, source_term=PDETerms.None_Implementation, point_source=0, material_parameters=PDETerms.None_Implementation, plot_grid_properties=False) | |
set_implementation (self, flux=None, ncp=None, eigenvalues=None, boundary_conditions=None, refinement_criterion=None, initial_conditions=None, source_term=None, point_source=0, material_parameters=None, additional_action_set_includes="", additional_user_includes="") | |
If you pass in User_Defined, then the generator will create C++ stubs that you have to befill manually. | |
![]() | |
create_data_structures (self) | |
create_action_sets (self) | |
get_user_action_set_includes (self) | |
![]() | |
__str__ (self) | |
create_readme_descriptor (self, domain_offset, domain_size) | |
get_user_solver_includes (self) | |
add_user_action_set_includes (self, value) | |
Add further includes to this property, if your action sets require some additional routines from other header files. | |
add_user_solver_includes (self, value) | |
Add further includes to this property, if your solver requires some additional routines from other header files. | |
get_name_of_global_instance (self) | |
add_to_Peano4_datamodel (self, datamodel, verbose) | |
add_use_data_statements_to_Peano4_solver_step (self, step) | |
add_actions_to_init_grid (self, step) | |
add_actions_to_create_grid (self, step, evaluate_refinement_criterion) | |
add_actions_to_plot_solution (self, step, output_path) | |
add_actions_to_perform_time_step (self, step) | |
set_plot_description (self, description) | |
add_implementation_files_to_project (self, namespace, output, dimensions, subdirectory="") | |
The ExaHyPE2 project will call this operation when it sets up the overall environment. | |
set_solver_constants (self, datastring) | |
add_solver_constants (self, datastring) | |
order (self) | |
unknowns (self) | |
auxiliary_variables (self) | |
preprocess_reconstructed_patch (self) | |
preprocess_reconstructed_patch (self, kernel) | |
postprocess_updated_patch (self) | |
postprocess_updated_patch (self, kernel) | |
add_entries_to_text_replacement_dictionary (self, d) | |
add_kernel_optimisations (self, is_linear=False, polynomials=Polynomials.Gauss_Legendre, use_libxsmm=False, precision=False, predictor_computation_precisions=False, corrector_computation_precision=False, solution_persistent_storage_precision=False, precompute_picard_precision=False, precision_criterion_implementation=PDETerms.User_Defined_Implementation, riemann_solver_implementation=PDETerms.None_Implementation, architecture="noarch", initialise_patches=False) | |
switch_storage_scheme (self, Storage cell_data_storage, Storage face_data_storage) | |
By default, we hold all data on the heap using smart pointers. | |
Definition at line 13 of file GlobalAdaptiveTimeStep.py.
exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.__init__ | ( | self, | |
name, | |||
order, | |||
unknowns, | |||
auxiliary_variables, | |||
min_cell_h, | |||
max_cell_h, | |||
time_step_relaxation, | |||
flux = PDETerms.User_Defined_Implementation, | |||
ncp = PDETerms.None_Implementation, | |||
eigenvalues = PDETerms.User_Defined_Implementation, | |||
boundary_conditions = PDETerms.User_Defined_Implementation, | |||
refinement_criterion = PDETerms.Empty_Implementation, | |||
initial_conditions = PDETerms.User_Defined_Implementation, | |||
source_term = PDETerms.None_Implementation, | |||
point_source = 0, | |||
material_parameters = PDETerms.None_Implementation, | |||
plot_grid_properties = False ) |
Reimplemented from exahype2.solvers.aderdg.SingleSweep.SingleSweep.
Definition at line 14 of file GlobalAdaptiveTimeStep.py.
References exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.__init__().
Referenced by exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.__init__().
exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation | ( | self, | |
flux = None, | |||
ncp = None, | |||
eigenvalues = None, | |||
boundary_conditions = None, | |||
refinement_criterion = None, | |||
initial_conditions = None, | |||
source_term = None, | |||
material_parameters = 0, | |||
point_source = None, | |||
additional_action_set_includes = "", | |||
additional_user_includes = "" ) |
If you pass in User_Defined, then the generator will create C++ stubs that you have to befill manually.
If you pass in None_Implementation, it will create nop, i.e., no implementation or defaults. Any other string is copied 1:1 into the implementation. If you pass in None, then the set value so far won't be overwritten.
Reimplemented from exahype2.solvers.aderdg.ADERDG.ADERDG.
Definition at line 58 of file GlobalAdaptiveTimeStep.py.
References exahype2.solvers.aderdg.ADERDG.ADERDG._corrector_computation_precision, exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._corrector_computation_precision, exahype2.solvers.aderdg.GlobalFixedTimeStep.GlobalFixedTimeStep._corrector_computation_precision, exahype2.solvers.aderdg.ADERDG.ADERDG._predictor_computation_precisions, and exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation().
Referenced by SBH.FVSolver.__init__(), ccz4.CCZ4Solver.__init__(), CCZ4Solver.CCZ4Solver_FV_GlobalAdaptiveTimeStep.__init__(), CCZ4Solver.CCZ4Solver_FV_GlobalAdaptiveTimeStepWithEnclaveTasking.__init__(), CCZ4Solver.CCZ4Solver_FD4_GlobalAdaptiveTimeStepWithEnclaveTasking.__init__(), CCZ4Solver.CCZ4Solver_FD4_GlobalAdaptiveTimeStep.__init__(), CCZ4Solver.CCZ4Solver_RKDG_GlobalAdaptiveTimeStepWithEnclaveTasking.__init__(), CCZ4Solver.CCZ4Solver_RKDG_GlobalAdaptiveTimeStep.__init__(), and exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation().
|
protected |
Definition at line 143 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 150 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 44 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters().
|
protected |
Definition at line 167 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 164 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 178 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 88 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.aderdg.ADERDG.ADERDG.add_kernel_optimisations(), exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), and exahype2.solvers.aderdg.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation().
|
protected |
Definition at line 174 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 93 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), and exahype2.solvers.aderdg.ADERDG.ADERDG.add_kernel_optimisations().
|
protected |
|
protected |
Definition at line 157 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 160 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().
|
protected |
Definition at line 171 of file GlobalAdaptiveTimeStep.py.
Referenced by exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences._init_dictionary_with_default_parameters().