3import exahype2.solvers.LocalTimeSteppingCodeSnippets
9 Code snippet generator for fixed time stepping in the Runge-Kutta schemes
12 def __init__(self, time_step_relaxation, use_enclave_tasking):
18 return create_start_time_step_implementation_for_adaptive_time_stepping_with_subcycling(use_enclave_tasking)
24 This routine is inserted after we have reduced all global quantities. These
25 are the quantities with the postfix ThisTimeStep.
30 double newMaxEigenvalue = _maxEigenvalue;
31 tarch::mpi::Rank::getInstance().allReduce(
37 [&]() -> void { tarch::services::ServiceRepository::getInstance().receiveDanglingMessages(); }
41 if ( _solverState == SolverState::Secondary ) {
42 _maxEigenvalueOfPreviousSweep = _maxEigenvalue;
Code snippet generator for fixed time stepping in the Runge-Kutta schemes.
create_finish_time_step_implementation(self)
This routine is inserted after we have reduced all global quantities.
__init__(self, time_step_relaxation, use_enclave_tasking)
create_start_time_step_implementation(self)