Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tempus_SolutionState.cpp
Go to the documentation of this file.
1 //@HEADER
2 // *****************************************************************************
3 // Tempus: Time Integration and Sensitivity Analysis Package
4 //
5 // Copyright 2017 NTESS and the Tempus contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 //@HEADER
9 
11 
12 #ifdef HAVE_TEMPUS_EXPLICIT_INSTANTIATION
13 #include "Tempus_SolutionState.hpp"
15 
16 namespace Tempus {
17 
19 
20 // Nonmember constructor from non-const solution vectors, x.
21 template Teuchos::RCP<SolutionState<double> > createSolutionStateX(
22  const Teuchos::RCP<Thyra::VectorBase<double> >& x,
23  const Teuchos::RCP<Thyra::VectorBase<double> >& xdot,
24  const Teuchos::RCP<Thyra::VectorBase<double> >& xdotdot);
25 
26 // Nonmember constructor from const solution vectors, x.
27 template Teuchos::RCP<SolutionState<double> > createSolutionStateX(
28  const Teuchos::RCP<const Thyra::VectorBase<double> >& x,
29  const Teuchos::RCP<const Thyra::VectorBase<double> >& xdot,
30  const Teuchos::RCP<const Thyra::VectorBase<double> >& xdotdot);
31 
32 // Nonmember constructor from const solution vectors, x.
33 template Teuchos::RCP<SolutionState<double> > createSolutionStateME(
34  const Teuchos::RCP<const Thyra::ModelEvaluator<double> >& model,
35  const Teuchos::RCP<StepperState<double> >& stepperState,
36  const Teuchos::RCP<PhysicsState<double> >& physicsState);
37 
38 } // namespace Tempus
39 
40 #endif
Teuchos::RCP< SolutionState< Scalar > > createSolutionStateX(const Teuchos::RCP< Thyra::VectorBase< Scalar > > &x, const Teuchos::RCP< Thyra::VectorBase< Scalar > > &xdot=Teuchos::null, const Teuchos::RCP< Thyra::VectorBase< Scalar > > &xdotdot=Teuchos::null)
Nonmember constructor from non-const solution vectors, x.
#define TEMPUS_INSTANTIATE_TEMPLATE_CLASS(name)
Teuchos::RCP< SolutionState< Scalar > > createSolutionStateME(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model, const Teuchos::RCP< StepperState< Scalar > > &stepperState=Teuchos::null, const Teuchos::RCP< PhysicsState< Scalar > > &physicsState=Teuchos::null)
Nonmember constructor from Thyra ModelEvaluator.