Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Tempus_StepperBDF2AppAction.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_StepperBDF2AppAction_hpp
10#define Tempus_StepperBDF2AppAction_hpp
11
12#include "Tempus_config.hpp"
13#include "Tempus_SolutionHistory.hpp"
14
15
16namespace Tempus {
17
18// Forward Declaration
19template<class Scalar> class StepperBDF2;
20
33template<class Scalar>
35{
36public:
37
44 };
45
48
51
53 virtual void execute(
54 Teuchos::RCP<SolutionHistory<Scalar> > sh,
55 Teuchos::RCP<StepperBDF2<Scalar> > stepper,
56 const typename StepperBDF2AppAction<Scalar>::ACTION_LOCATION actLoc) = 0;
57};
58
59} // namespace Tempus
60
61#endif // Tempus_StepperBDF2AppAction_hpp
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Application Action for StepperBDF2.
ACTION_LOCATION
Indicates the location of application action (see algorithm).
@ BEGIN_STEP
At the beginning of the step.
virtual void execute(Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperBDF2< Scalar > > stepper, const typename StepperBDF2AppAction< Scalar >::ACTION_LOCATION actLoc)=0
Execute application action for BDF2 Stepper.
BDF2 (Backward-Difference-Formula-2) time stepper.