Tempus
Version of the Day
Time Integration
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Tempus_StepperHHTAlphaObserverBase.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_StepperHHTAlphaObserverBase_hpp
10
#define Tempus_StepperHHTAlphaObserverBase_hpp
11
12
#include "Tempus_config.hpp"
13
#include "Tempus_SolutionHistory.hpp"
14
#include "
Tempus_StepperHHTAlphaAppAction.hpp
"
15
16
17
namespace
Tempus
{
18
30
template
<
class
Scalar>
31
class
StepperHHTAlphaObserverBase
32
:
virtual
public
Tempus::StepperHHTAlphaAppAction
<Scalar>
33
{
34
private
:
35
36
/* \brief Adaptor execute function
37
*
38
* This is an adaptor function to bridge between the AppAction
39
* interface and this derived interface. It is meant to be private
40
* and non-virtual as deriving from this class should only need to
41
* implement the observe function.
42
*
43
* For the Observer interface, this adaptor simply "applies" constantness
44
* to the arguments.
45
*/
46
void
execute
(
47
Teuchos::RCP<
SolutionHistory<Scalar>
> sh,
48
Teuchos::RCP<
StepperHHTAlpha<Scalar>
> stepper,
49
const
typename
StepperHHTAlphaAppAction<Scalar>::ACTION_LOCATION
actLoc)
50
{ this->
observe
(sh, stepper, actLoc); }
51
52
public
:
53
55
virtual
void
observe
(
56
Teuchos::RCP<
const
SolutionHistory<Scalar>
>
/* sh */
,
57
Teuchos::RCP<
const
StepperHHTAlpha<Scalar>
>
/* stepper */
,
58
const
typename
StepperHHTAlphaAppAction<Scalar>::ACTION_LOCATION
actLoc) = 0;
59
60
};
61
62
}
// namespace Tempus
63
64
#endif
// Tempus_StepperHHTAlphaObserverBase_hpp
Tempus_StepperHHTAlphaAppAction.hpp
Tempus::SolutionHistory
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Definition
Tempus_SolutionHistory_decl.hpp:121
Tempus::StepperHHTAlphaAppAction
Application Action for HHT Alpha.
Definition
Tempus_StepperHHTAlphaAppAction.hpp:31
Tempus::StepperHHTAlphaAppAction::ACTION_LOCATION
ACTION_LOCATION
Indicates the location of application action (see algorithm).
Definition
Tempus_StepperHHTAlphaAppAction.hpp:35
Tempus::StepperHHTAlphaObserverBase
Base observer for StepperHHTAlpha.
Definition
Tempus_StepperHHTAlphaObserverBase.hpp:33
Tempus::StepperHHTAlphaObserverBase::execute
void execute(Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperHHTAlpha< Scalar > > stepper, const typename StepperHHTAlphaAppAction< Scalar >::ACTION_LOCATION actLoc)
Execute application action for HHTAlpha Stepper.
Definition
Tempus_StepperHHTAlphaObserverBase.hpp:46
Tempus::StepperHHTAlphaObserverBase::observe
virtual void observe(Teuchos::RCP< const SolutionHistory< Scalar > >, Teuchos::RCP< const StepperHHTAlpha< Scalar > >, const typename StepperHHTAlphaAppAction< Scalar >::ACTION_LOCATION actLoc)=0
Observe HHTAlpha Stepper.
Tempus::StepperHHTAlpha
HHT-Alpha time stepper.
Definition
Tempus_StepperHHTAlpha_decl.hpp:47
Tempus
Definition
Tempus_AdjointAuxSensitivityModelEvaluator_decl.hpp:21
Generated by
1.17.0