ModelEvaluator objects and represents them as a single aggregate multi-period ModelEvalator object.
More...
#include <Thyra_DefaultMultiPeriodModelEvaluator.hpp>
Constructors/Intializers/Accessors | |
| DefaultMultiPeriodModelEvaluator () | |
| | |
| DefaultMultiPeriodModelEvaluator (const int N, const Teuchos::RefCountPtr< ModelEvaluator< Scalar > > models[], const Scalar weights[], const Teuchos::RefCountPtr< const VectorBase< Scalar > > z[], const int z_index, const Teuchos::RefCountPtr< ProductVectorSpaceBase< Scalar > > &x_bar_space=Teuchos::null, const Teuchos::RefCountPtr< ProductVectorSpaceBase< Scalar > > &f_bar_space=Teuchos::null) | |
| | |
| void | initialize (const int N, const Teuchos::RefCountPtr< ModelEvaluator< Scalar > > models[], const Scalar weights[], const Teuchos::RefCountPtr< const VectorBase< Scalar > > z[], const int z_index, const Teuchos::RefCountPtr< ProductVectorSpaceBase< Scalar > > &x_bar_space=Teuchos::null, const Teuchos::RefCountPtr< ProductVectorSpaceBase< Scalar > > &f_bar_space=Teuchos::null) |
| Initialize. | |
Public functions overridden from ModelEvaulator. | |
| int | Np () const |
| | |
| int | Ng () const |
| | |
| Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > | get_x_space () const |
| | |
| Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > | get_f_space () const |
| | |
| Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > | get_p_space (int l) const |
| | |
| Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > | get_g_space (int j) const |
| | |
| ModelEvaluatorBase::InArgs< Scalar > | getNominalValues () const |
| | |
| ModelEvaluatorBase::InArgs< Scalar > | getLowerBounds () const |
| | |
| ModelEvaluatorBase::InArgs< Scalar > | getUpperBounds () const |
| | |
| Teuchos::RefCountPtr< LinearOpWithSolveBase< Scalar > > | create_W () const |
| | |
| Teuchos::RefCountPtr< LinearOpBase< Scalar > > | create_W_op () const |
| Teuchos::RefCountPtr< LinearOpBase< Scalar > > | create_DfDp_op (int l) const |
| | |
| Teuchos::RefCountPtr< LinearOpBase< Scalar > > | create_DgDx_op (int j) const |
| | |
| Teuchos::RefCountPtr< LinearOpBase< Scalar > > | create_DgDp_op (int j, int l) const |
| | |
| ModelEvaluatorBase::InArgs< Scalar > | createInArgs () const |
| | |
| ModelEvaluatorBase::OutArgs< Scalar > | createOutArgs () const |
| | |
| void | evalModel (const ModelEvaluatorBase::InArgs< Scalar > &inArgs, const ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const |
| | |
| void | reportFinalPoint (const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved) |
| | |
ModelEvaluator objects and represents them as a single aggregate multi-period ModelEvalator object.
This class represents fairly classic "composite" subclass that takes N ModelEvaluator objects and makes them appear to be just one.
Mathematically, this subclass is used to form a multi-period problem of the form:
(x_bar,{p_l}\p_period) -> f_bar
(x_bar,{p_l}\p_period) -> g_bar
where
x_bar = [ x[0], x[1], ..., x[N-1]]
{p_l}\p_period = { p_0, p_1, ..., p_{period-1}, p_{period+1}, ..., p_Np
f_bar(...) = [ f[0](x[0],{p_l}), f[1](x[1],{p_l}), ..., f[N-1](x[N-1],{p_l}) ]
g_bar(...) = sum( w[i]*g(x[0],{p_l}\p_period,p_peroid[i]), i = 0,...,N-1 )
Above, the notation {p_l} is meant to represent the set of all parameter subvectors in each of the constituent models minus the parameter used to define period data.
Also, above we use g(...) and g_bar(..) to represent the zeroth axillary response function unless otherwise noted.
This class could be made much more general but for now ...
Definition at line 78 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp.
|
|||||||||
|
Definition at line 241 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 246 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Initialize.
Definition at line 261 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 309 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 316 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 324 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 332 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||
|
Definition at line 340 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||
|
Definition at line 348 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 356 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 364 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 372 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 380 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
. Definition at line 388 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||
|
Definition at line 396 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||
|
Definition at line 404 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||||||||
|
Definition at line 412 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 420 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
|||||||||
|
Definition at line 430 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||||||||
|
Definition at line 439 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
|
||||||||||||||||
|
Definition at line 448 of file Thyra_DefaultMultiPeriodModelEvaluator.hpp. |
1.3.9.1