Peano
Loading...
Searching...
No Matches
exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep Class Reference
Inheritance diagram for exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep:
Collaboration diagram for exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep:

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.
 
- Public Member Functions inherited from exahype2.solvers.aderdg.SingleSweep.SingleSweep
 create_data_structures (self)
 
 create_action_sets (self)
 
 get_user_action_set_includes (self)
 
- Public Member Functions inherited from exahype2.solvers.aderdg.ADERDG.ADERDG
 __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.
 

Protected Attributes

 _cflSafetyFactor
 
 _corrector_computation_precision
 
 _precompute_picard_precision
 
 _solution_persistent_storage_precision
 
 _abstract_solver_user_declarations
 
 _abstract_solver_user_definitions
 
 _solver_user_declarations
 
 _solver_user_definitions
 
 _compute_time_step_size
 
 _compute_new_time_step_size
 
 _start_time_step_implementation
 
 _finish_time_step_implementation
 
 _constructor_implementation
 
- Protected Attributes inherited from exahype2.solvers.aderdg.SingleSweep.SingleSweep
 _solver_template_file_class_name
 
 _split_sweeps
 
- Protected Attributes inherited from exahype2.solvers.aderdg.ADERDG.ADERDG
 _name
 
 _order
 
 _use_var_shortcut
 
 _variable_names
 
 _variable_pos
 
 _unknowns
 
 _auxiliary_variables
 
 _min_cell_h
 
 _max_cell_h
 
 _is_linear
 
 _polynomials
 
 _basis
 
 _architecture
 
 _use_libxsmm
 
 _initialise_patches
 
 _predictor_computation_precisions
 
 _corrector_computation_precision
 
 _solution_persistent_storage_precision
 
 _precompute_picard_precision
 
 _use_half_precision
 
 _plot_grid_properties
 
 _solver_constants
 
 _compute_time_step_size
 
 _compute_new_time_step_size
 
 _flux_implementation
 
 _ncp_implementation
 
 _source_term_implementation
 
 _point_sources_implementation
 
 _eigenvalues_implementation
 
 _material_param_implementation
 
 _refinement_criterion_implementation
 
 _initial_conditions_implementation
 
 _boundary_conditions_implementation
 
 _precision_criterion_implementation
 
 _riemann_solver_implementation
 
 _number_of_point_sources
 
 _abstract_solver_user_declarations
 
 _abstract_solver_user_definitions
 
 _solver_user_declarations
 
 _solver_user_definitions
 
 _start_time_step_implementation
 
 _finish_time_step_implementation
 
 _constructor_implementation
 
 _destructor_implementation
 
 _cflAder
 
 _cflSafetyFactor
 
 _action_set_postprocess_solution
 
 _preprocess_reconstructed_patch
 
 _postprocess_updated_patch
 
 _cell_data_storage
 
 _face_data_storage
 
 _number_of_face_projections
 
 _current_time_step
 
 _previous_time_step
 
 _rhs_estimates_projection
 
 _flux_estimates_projection
 
 _cell_label
 
 _face_label
 
 _action_set_update_face_label
 
 _action_set_update_cell_label
 
 _action_set_initial_conditions
 
 _action_set_initial_conditions_for_grid_construction
 
 _action_set_handle_boundary
 
 _action_set_couple_resolution_transitions_and_handle_dynamic_mesh_refinement
 
 _action_set_correction
 
 _action_set_prediction
 
 _action_set_prediction_on_hanging_cells
 
 _action_set_AMR
 
 _action_set_AMR_commit_without_further_analysis
 
 _action_set_AMR_throughout_grid_construction
 

Additional Inherited Members

- Data Fields inherited from exahype2.solvers.aderdg.SingleSweep.SingleSweep
 initialisation_sweep_guard
 
 first_iteration_after_initialisation_guard
 
- Data Fields inherited from exahype2.solvers.aderdg.ADERDG.ADERDG
 plot_description
 
 plot_metadata
 
 select_dofs_to_print
 
 user_action_set_includes
 
 user_solver_includes
 
- Protected Member Functions inherited from exahype2.solvers.aderdg.SingleSweep.SingleSweep
 _store_boundary_data_default_guard (self)
 
 _delete_face_data_default_guard (self)
 
 _restrict_face_data_default_guard (self)
 
 _interpolate_face_data_default_guard (self)
 
 _init_dictionary_with_default_parameters (self, d)
 
- Protected Member Functions inherited from exahype2.solvers.aderdg.ADERDG.ADERDG
 _store_cell_data_default_guard (self)
 
 _provide_cell_data_to_compute_kernels_default_guard (self)
 
 _provide_face_data_to_compute_kernels_default_guard (self)
 
 _load_cell_data_default_guard (self)
 
 _store_face_data_default_guard (self)
 
 _load_face_data_default_guard (self)
 
 _unknown_identifier (self)
 
 _get_default_includes (self)
 
 _generate_kernels (self, namespace, output, subdirectory, dimensions)
 

Detailed Description

Definition at line 13 of file GlobalAdaptiveTimeStep.py.

Constructor & Destructor Documentation

◆ __init__()

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__().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ set_implementation()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ _abstract_solver_user_declarations

◆ _abstract_solver_user_definitions

◆ _cflSafetyFactor

exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._cflSafetyFactor
protected

◆ _compute_new_time_step_size

◆ _compute_time_step_size

◆ _constructor_implementation

◆ _corrector_computation_precision

◆ _finish_time_step_implementation

◆ _precompute_picard_precision

exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._precompute_picard_precision
protected

◆ _solution_persistent_storage_precision

exahype2.solvers.aderdg.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._solution_persistent_storage_precision
protected

◆ _solver_user_declarations

◆ _solver_user_definitions

◆ _start_time_step_implementation


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