Tempus
Version of the Day
Time Integration
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp
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
10
#ifndef Tempus_AuxiliaryIntegralModelEvaluator_decl_hpp
11
#define Tempus_AuxiliaryIntegralModelEvaluator_decl_hpp
12
13
#include "Thyra_StateFuncModelEvaluatorBase.hpp"
14
15
#include "Tempus_config.hpp"
16
#include "Tempus_SolutionHistory.hpp"
17
18
namespace
Tempus {
19
28
template
<
typename
Scalar>
29
class
AuxiliaryIntegralModelEvaluator
30
:
public
Thyra::StateFuncModelEvaluatorBase
<Scalar> {
31
public
:
32
typedef
Thyra::VectorBase<Scalar>
Vector
;
33
typedef
Thyra::MultiVectorBase<Scalar>
MultiVector
;
34
36
AuxiliaryIntegralModelEvaluator
(
37
const
Teuchos::RCP
<
const
Thyra::ModelEvaluator<Scalar>
> &model,
38
const
int
g_index);
39
41
Teuchos::RCP<const Thyra::ModelEvaluator<Scalar>
>
getModel
()
const
42
{
43
return
model_
;
44
}
45
47
void
setForwardSolutionHistory
(
48
const
Teuchos::RCP
<
const
Tempus::SolutionHistory<Scalar>
> &sh);
49
52
53
Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar>
>
get_p_space
(
int
p)
const
;
54
55
Teuchos::RCP<const Teuchos::Array<std::string>
>
get_p_names
(
int
p)
const
;
56
57
Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar>
>
get_x_space
()
const
;
58
59
Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar>
>
get_f_space
()
const
;
60
61
Teuchos::RCP<Thyra::LinearOpBase<Scalar>
>
create_W_op
()
const
;
62
63
Teuchos::RCP<const Thyra::LinearOpWithSolveFactoryBase<Scalar>
>
64
get_W_factory
()
const
;
65
66
Thyra::ModelEvaluatorBase::InArgs<Scalar>
createInArgs
()
const
;
67
68
Thyra::ModelEvaluatorBase::InArgs<Scalar>
getNominalValues
()
const
;
69
71
72
private
:
73
Thyra::ModelEvaluatorBase::OutArgs<Scalar>
createOutArgsImpl
()
const
;
74
75
void
evalModelImpl
(
76
const
Thyra::ModelEvaluatorBase::InArgs<Scalar>
&inArgs,
77
const
Thyra::ModelEvaluatorBase::OutArgs<Scalar>
&outArgs)
const
;
78
79
Thyra::ModelEvaluatorBase::InArgs<Scalar>
prototypeInArgs_
;
80
Thyra::ModelEvaluatorBase::OutArgs<Scalar>
prototypeOutArgs_
;
81
82
Teuchos::RCP<const Thyra::ModelEvaluator<Scalar>
>
model_
;
83
Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar>
>
space_
;
84
Teuchos::RCP<const Tempus::SolutionHistory<Scalar>
>
sh_
;
85
int
g_index_
;
86
87
mutable
Teuchos::RCP<Tempus::SolutionState<Scalar>
>
forward_state_
;
88
mutable
Scalar
t_interp_
;
89
};
90
91
}
// namespace Tempus
92
93
#endif
Thyra::ModelEvaluator
Tempus::AuxiliaryIntegralModelEvaluator::g_index_
int g_index_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:85
Tempus::AuxiliaryIntegralModelEvaluator::AuxiliaryIntegralModelEvaluator
AuxiliaryIntegralModelEvaluator(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model, const int g_index)
Constructor.
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:20
Thyra::ModelEvaluatorBase::OutArgs
Tempus::AuxiliaryIntegralModelEvaluator::createInArgs
Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:107
Tempus::AuxiliaryIntegralModelEvaluator::prototypeInArgs_
Thyra::ModelEvaluatorBase::InArgs< Scalar > prototypeInArgs_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:79
Tempus::AuxiliaryIntegralModelEvaluator::get_W_factory
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:100
Tempus::AuxiliaryIntegralModelEvaluator::Vector
Thyra::VectorBase< Scalar > Vector
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:32
Tempus::AuxiliaryIntegralModelEvaluator::createOutArgsImpl
Thyra::ModelEvaluatorBase::OutArgs< Scalar > createOutArgsImpl() const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:144
Tempus::AuxiliaryIntegralModelEvaluator
ModelEvaluator for integrating auxiliary equations.
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:29
Tempus::AuxiliaryIntegralModelEvaluator::get_f_space
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_f_space() const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:86
Thyra::MultiVectorBase
Tempus::AuxiliaryIntegralModelEvaluator::setForwardSolutionHistory
void setForwardSolutionHistory(const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &sh)
Set solution history from forward evaluation.
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:53
Tempus::AuxiliaryIntegralModelEvaluator::getModel
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getModel() const
Get the underlying model 'f'.
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:41
Tempus::AuxiliaryIntegralModelEvaluator::forward_state_
Teuchos::RCP< Tempus::SolutionState< Scalar > > forward_state_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:87
Tempus::AuxiliaryIntegralModelEvaluator::space_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > space_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:83
Tempus::AuxiliaryIntegralModelEvaluator::t_interp_
Scalar t_interp_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:88
Thyra::VectorBase
Tempus::AuxiliaryIntegralModelEvaluator::get_p_names
Teuchos::RCP< const Teuchos::Array< std::string > > get_p_names(int p) const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:71
Tempus::AuxiliaryIntegralModelEvaluator::evalModelImpl
void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:150
Thyra::StateFuncModelEvaluatorBase
Tempus::SolutionHistory
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Definition:
Tempus_Integrator.hpp:28
Tempus::AuxiliaryIntegralModelEvaluator::prototypeOutArgs_
Thyra::ModelEvaluatorBase::OutArgs< Scalar > prototypeOutArgs_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:80
Tempus::AuxiliaryIntegralModelEvaluator::sh_
Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > sh_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:84
Tempus::AuxiliaryIntegralModelEvaluator::MultiVector
Thyra::MultiVectorBase< Scalar > MultiVector
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:33
Tempus::AuxiliaryIntegralModelEvaluator::getNominalValues
Thyra::ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:114
Teuchos::RCP
Tempus::AuxiliaryIntegralModelEvaluator::get_x_space
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:79
Tempus::AuxiliaryIntegralModelEvaluator::get_p_space
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int p) const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:63
Tempus::AuxiliaryIntegralModelEvaluator::model_
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > model_
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp:82
Tempus::AuxiliaryIntegralModelEvaluator::create_W_op
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > create_W_op() const
Definition:
Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp:93
Thyra::ModelEvaluatorBase::InArgs
Generated on Fri Nov 22 2024 09:23:25 for Tempus by
1.8.5