Tempus
Version of the Day
Time Integration
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Tempus_TimeStepControlStrategy.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_TimeStepControlStrategy_hpp
10
#define Tempus_TimeStepControlStrategy_hpp
11
12
// Teuchos
13
#include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
14
15
#include "Tempus_SolutionHistory.hpp"
16
17
18
namespace
Tempus {
19
20
template
<
class
Scalar>
class
TimeStepControl;
21
22
/** \brief StepControlStrategy class for TimeStepControl
23
*
24
*/
25
template
<
class
Scalar>
26
class
TimeStepControlStrategy
27
:
virtual
public
Teuchos::ParameterListAcceptor
28
{
29
public
:
30
31
/// Constructor
32
TimeStepControlStrategy
(){}
33
34
/// Destructor
35
virtual
~TimeStepControlStrategy
(){}
36
37
/// Determine the time step size.
38
virtual
void
getNextTimeStep
(
39
const
TimeStepControl<Scalar>
/* tsc */
,
40
Teuchos::RCP<
SolutionHistory<Scalar>
>
/* sh */
,
41
Status
&
/* integratorStatus */
){}
42
43
/// \name Overridden from Teuchos::ParameterListAcceptor
44
//@{
45
void
setParameterList
(
const
Teuchos::RCP<Teuchos::ParameterList> &
/* pl */
){}
46
Teuchos::RCP<const Teuchos::ParameterList>
getValidParameters
()
const
47
{
return
Teuchos::null;}
48
Teuchos::RCP<Teuchos::ParameterList>
getNonconstParameterList
()
49
{
return
Teuchos::null;}
50
Teuchos::RCP<Teuchos::ParameterList>
unsetParameterList
()
51
{
return
Teuchos::null;}
52
//@}
53
};
54
}
// namespace Tempus
55
#endif // Tempus_TimeStepControlStrategy_hpp
Tempus::TimeStepControlStrategy::unsetParameterList
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
Definition:
Tempus_TimeStepControlStrategy.hpp:50
Tempus::TimeStepControlStrategy::getValidParameters
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Definition:
Tempus_TimeStepControlStrategy.hpp:46
Tempus::TimeStepControlStrategy::getNextTimeStep
virtual void getNextTimeStep(const TimeStepControl< Scalar >, Teuchos::RCP< SolutionHistory< Scalar > >, Status &)
Determine the time step size.
Definition:
Tempus_TimeStepControlStrategy.hpp:38
Tempus::Status
Status
Status for the Integrator, the Stepper and the SolutionState.
Definition:
Tempus_Types.hpp:16
Tempus::TimeStepControl
TimeStepControl manages the time step size. There several mechanicisms that effect the time step size...
Definition:
Tempus_Integrator.hpp:26
Tempus::TimeStepControlStrategy::setParameterList
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > &)
Definition:
Tempus_TimeStepControlStrategy.hpp:45
Tempus::SolutionHistory
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Definition:
Tempus_Integrator.hpp:25
Tempus::TimeStepControlStrategy::~TimeStepControlStrategy
virtual ~TimeStepControlStrategy()
Destructor.
Definition:
Tempus_TimeStepControlStrategy.hpp:35
Tempus::TimeStepControlStrategy::TimeStepControlStrategy
TimeStepControlStrategy()
Constructor.
Definition:
Tempus_TimeStepControlStrategy.hpp:32
Tempus::TimeStepControlStrategy
StepControlStrategy class for TimeStepControl.
Definition:
Tempus_TimeStepControlStrategy.hpp:26
Tempus::TimeStepControlStrategy::getNonconstParameterList
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
Definition:
Tempus_TimeStepControlStrategy.hpp:48
src
Tempus_TimeStepControlStrategy.hpp
Generated on Fri Dec 20 2024 09:38:31 for Tempus by
1.8.5