Peano 4
Loading...
Searching...
No Matches
exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep Class Reference
Inheritance diagram for exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep:
Collaboration diagram for exahype2.solvers.aderdg.rusanov.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=PDETerms.None_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, 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)
 
 set_preprocess_reconstructed_patch_kernel (self, kernel)
 Most subclasses will redefine/overwrite this operation as they have to incorporate the kernel into their generated stuff.
 
 set_postprocess_updated_patch_kernel (self, kernel)
 
- Public Member Functions inherited from exahype2.solvers.aderdg.ADERDG.ADERDG
 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)
 if verbose: print( "Patch data" ) print( "----------" ) print( str(self._current_time_step) ) print( "Patch overlap data" ) print( "----------" ) print( str(self._current_time_step_projection) )
 
 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)
 
 generate_kernels (self, namespace, output, dimensions)
 
 add_implementation_files_to_project (self, namespace, output, dimensions)
 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)
 
 add_entries_to_text_replacement_dictionary (self, d)
 
 add_error_measurement (self, error_measurement_implementation=PDETerms.User_Defined_Implementation)
 
 add_kernel_optimizations (self, is_linear=False, polynomials=Polynomials.Gauss_Legendre, use_kernel_generator=True, use_libxsmm=False, use_BLIS=False, use_Eigen=False, use_libxsmm_JIT=False, predictor_computation_precisions=["double"], corrector_computation_precision="double", solution_persistent_storage_precision="double", precompute_picard_precision=False, precision_criterion_implementation=PDETerms.None_Implementation, riemann_solver_implementation=PDETerms.None_Implementation, hold_cell_data_on_heap_with_smart_pointer=False, hold_face_data_on_heap_with_smart_pointer=False, use_vectorized_PDE=False, architecture="noarch", use_CERK_guess=False, use_split_CK=False, predictor_recompute=False, initialize_patches=False)
 

Protected Attributes

 _cflSafetyFactor
 
 _corrector_computation_precision
 
 _precompute_picard_precision
 
 _abstract_solver_user_declarations
 
 _flux_implementation
 
 _ncp_implementation
 
 _eigenvalues_implementation
 
 _source_term_implementation
 
 _material_param_implementation
 
 _point_sources_implementation
 
 _is_linear
 
 _abstract_solver_user_definitions
 
 _solver_user_declarations
 
 _solver_user_definitions
 
 _constructor_implementation
 
 _compute_time_step_size
 
 _compute_new_time_step_size
 
 _start_time_step_implementation
 
 _finish_time_step_implementation
 
- Protected Attributes inherited from exahype2.solvers.aderdg.SingleSweep.SingleSweep
 _solver_template_file_class_name
 
 _preprocess_reconstructed_patch
 
 _postprocess_updated_patch
 
 _use_kernel_generator
 
- 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
 
 _use_kernel_generator
 
 _architecture
 
 _use_libxsmm
 
 _use_BLIS
 
 _use_Eigen
 
 _use_libxsmm_JIT
 
 _use_CERK_Guess
 
 _use_vectorized_PDE
 
 _use_split_CK
 
 _predictor_recompute
 
 _initialize_patches
 
 _predictor_computation_precisions
 
 _corrector_computation_precision
 
 _solution_persistent_storage_precision
 
 _precompute_picard_precision
 
 _use_half_precision
 
 _hold_cell_data_on_heap_with_smart_pointer
 
 _hold_face_data_on_heap_with_smart_pointer
 
 _hold_previous_time_step
 
 _compute_and_store_solver_error
 
 _error_measurement_implementation
 
 _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
 
 _number_of_face_projections
 
 _current_time_step
 
 _previous_time_step
 
 _rhs_estimates_projection
 
 _flux_estimates_projection
 
 _cell_label
 
 _face_label
 
 _action_set_initial_conditions
 
 _action_set_initial_conditions_for_grid_construction
 
 _action_set_handle_boundary
 
 _action_set_AMR
 
 _action_set_AMR_commit_without_further_analysis
 
 _action_set_couple_resolution_transitions_and_handle_dynamic_mesh_refinement
 
 _action_set_update_face_label
 
 _action_set_update_cell_label
 
 _action_set_prediction
 
 _action_set_prediction_on_hanging_cells
 
 _action_set_correction
 

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)
 
 _clear_face_data_default_guard (self)
 
 _restrict_face_data_default_guard (self)
 
 _interpolate_face_data_default_guard (self)
 
- 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)
 
 _init_dictionary_with_default_parameters (self, d)
 

Detailed Description

Definition at line 38 of file GlobalAdaptiveTimeStep.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.solvers.aderdg.rusanov.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 39 of file GlobalAdaptiveTimeStep.py.

References exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.__init__().

Referenced by exahype2.solvers.aderdg.rusanov.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.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation ( self,
flux = PDETerms.None_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,
material_parameters = 0,
point_source = PDETerms.None_Implementation,
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 83 of file GlobalAdaptiveTimeStep.py.

References exahype2.solvers.aderdg.ADERDG.ADERDG._corrector_computation_precision, exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._corrector_computation_precision, exahype2.solvers.aderdg.rusanov.GlobalFixedTimeStep.GlobalFixedTimeStep._corrector_computation_precision, exahype2.solvers.aderdg.ADERDG.ADERDG._predictor_computation_precisions, and exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation().

Referenced by ccz4.CCZ4Solver.__init__(), CCZ4Solver.CCZ4Solver_FV_GlobalAdaptiveTimeStep.__init__(), CCZ4Solver.CCZ4Solver_FV_GlobalAdaptiveTimeStepWithEnclaveTasking.__init__(), CCZ4Solver.CCZ4Solver_FD4_GlobalAdaptiveTimeStep.__init__(), CCZ4Solver.CCZ4Solver_FD4_GlobalAdaptiveTimeStepWithEnclaveTasking.__init__(), CCZ4Solver.CCZ4Solver_RKDG_GlobalAdaptiveTimeStepWithEnclaveTasking.__init__(), and exahype2.solvers.aderdg.rusanov.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.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._cflSafetyFactor
protected

◆ _compute_new_time_step_size

◆ _compute_time_step_size

◆ _constructor_implementation

◆ _corrector_computation_precision

◆ _eigenvalues_implementation

exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._eigenvalues_implementation
protected

Definition at line 120 of file GlobalAdaptiveTimeStep.py.

Referenced by exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.__str__(), PointWiseClawPackAdaptiveTimeStepSize.PointWiseClawPackAdaptiveTimeStepSize.add_entries_to_text_replacement_dictionary(), PointWiseClawPackAdaptiveTimeStepSize.PointWiseClawPackAdaptiveTimeStepSize.set_implementation(), exahype2.solvers.aderdg.ADERDG.ADERDG.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStepWithEnclaveTasking.GlobalAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStepWithEnclaveTasking.GlobalFixedTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.LocalTimeStepWithEnclaveTasking.LocalTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingAdaptiveTimeStepWithEnclaveTasking.SubcyclingAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStep.SubcyclingFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStepWithEnclaveTasking.SubcyclingFixedTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.set_implementation(), and exahype2.solvers.fv.riemann.UserDefinedRiemann.UserDefinedRiemann.set_implementation().

◆ _finish_time_step_implementation

◆ _flux_implementation

exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._flux_implementation
protected

Definition at line 118 of file GlobalAdaptiveTimeStep.py.

Referenced by ccz4.CCZ4Solver.__init__(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.__str__(), exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), exahype2.solvers.aderdg.ADERDG.ADERDG.generate_kernels(), exahype2.solvers.aderdg.ADERDG.ADERDG.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStepWithEnclaveTasking.GlobalAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStepWithEnclaveTasking.GlobalFixedTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.LocalTimeStepWithEnclaveTasking.LocalTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingAdaptiveTimeStepWithEnclaveTasking.SubcyclingAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStep.SubcyclingFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStepWithEnclaveTasking.SubcyclingFixedTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.set_implementation(), and exahype2.solvers.fv.riemann.UserDefinedRiemann.UserDefinedRiemann.set_implementation().

◆ _is_linear

exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._is_linear
protected

◆ _material_param_implementation

◆ _ncp_implementation

exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._ncp_implementation
protected

Definition at line 119 of file GlobalAdaptiveTimeStep.py.

Referenced by ccz4.CCZ4Solver.__init__(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.__str__(), exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), exahype2.solvers.aderdg.ADERDG.ADERDG.generate_kernels(), exahype2.solvers.aderdg.ADERDG.ADERDG.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStepWithEnclaveTasking.GlobalAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStepWithEnclaveTasking.GlobalFixedTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.LocalTimeStepWithEnclaveTasking.LocalTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingAdaptiveTimeStepWithEnclaveTasking.SubcyclingAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStep.SubcyclingFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStepWithEnclaveTasking.SubcyclingFixedTimeStepWithEnclaveTasking.set_implementation(), and exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.set_implementation().

◆ _point_sources_implementation

◆ _precompute_picard_precision

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

◆ _solver_user_declarations

◆ _solver_user_definitions

◆ _source_term_implementation

exahype2.solvers.aderdg.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep._source_term_implementation
protected

Definition at line 121 of file GlobalAdaptiveTimeStep.py.

Referenced by ccz4.CCZ4Solver.__init__(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.__str__(), exahype2.solvers.aderdg.ADERDG.ADERDG._init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG._init_dictionary_with_default_parameters(), PointWiseClawPackAdaptiveTimeStepSize.PointWiseClawPackAdaptiveTimeStepSize.add_entries_to_text_replacement_dictionary(), exahype2.solvers.aderdg.ADERDG.ADERDG.generate_kernels(), PointWiseClawPackAdaptiveTimeStepSize.PointWiseClawPackAdaptiveTimeStepSize.set_implementation(), exahype2.solvers.fv.clawpack.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.aderdg.ADERDG.ADERDG.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.musclhancock.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalAdaptiveTimeStepWithEnclaveTasking.GlobalAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStep.GlobalFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.GlobalFixedTimeStepWithEnclaveTasking.GlobalFixedTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.LocalTimeStepWithEnclaveTasking.LocalTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingAdaptiveTimeStepWithEnclaveTasking.SubcyclingAdaptiveTimeStepWithEnclaveTasking.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStep.SubcyclingFixedTimeStep.set_implementation(), exahype2.solvers.fv.rusanov.SubcyclingFixedTimeStepWithEnclaveTasking.SubcyclingFixedTimeStepWithEnclaveTasking.set_implementation(), and exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.set_implementation().

◆ _start_time_step_implementation


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