Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Tempus_StepperRKAppAction.hpp
Go to the documentation of this file.
1// @HEADER
2// ****************************************************************************
3// Tempus: Copyright (2017) Sandia Corporation
4//
5// Distributed under BSD 3-clause license (See accompanying file Copyright.txt)
6// ****************************************************************************
7// @HEADER
8
9#ifndef Tempus_StepperRKAppAction_hpp
10#define Tempus_StepperRKAppAction_hpp
11
12#include "Tempus_config.hpp"
13#include "Tempus_SolutionHistory.hpp"
14
15
16namespace Tempus {
17
18// Forward Declaration
19template<class Scalar> class StepperRKBase;
20
33template<class Scalar>
35{
36public:
37
48
51
54
56 virtual void execute(
57 Teuchos::RCP<SolutionHistory<Scalar> > sh,
58 Teuchos::RCP<StepperRKBase<Scalar> > stepper,
59 const typename StepperRKAppAction<Scalar>::ACTION_LOCATION actLoc) = 0;
60};
61
62} // namespace Tempus
63
64#endif // Tempus_StepperRKAppAction_hpp
Application Action for StepperRKBase.
ACTION_LOCATION
Indicates the location of application action (see algorithm).
@ BEGIN_STEP
At the beginning of the step.
@ BEFORE_SOLVE
Before the implicit solve.
@ BEFORE_EXPLICIT_EVAL
Before the explicit evaluation.
@ AFTER_SOLVE
After the implicit solve.
@ BEGIN_STAGE
At the beginning of the stage.
@ END_STAGE
At the end of the stage.
virtual void execute(Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperRKBase< Scalar > > stepper, const typename StepperRKAppAction< Scalar >::ACTION_LOCATION actLoc)=0
Execute application action for RK Stepper.