EpetraExt
Development
|
Base interface for evaluating a stateless "model". More...
#include <EpetraExt_ModelEvaluator.h>
Classes | |
class | Derivative |
Simple aggregate class that stores a derivative object as a general linear operator or as a multi-vector. More... | |
class | DerivativeMultiVector |
Simple aggregate class for a derivative object represented as a column-wise multi-vector or its transpose as a row-wise multi-vector. More... | |
struct | DerivativeProperties |
class | DerivativeSupport |
class | Evaluation |
class | InArgs |
class | InArgsSetup |
class | MPDerivative |
Simple aggregate class that stores a derivative object as a general linear operator or as a multi-vector. More... | |
class | MPDerivativeMultiVector |
Simple aggregate class for a derivative object represented as a column-wise multi-vector or its transpose as a row-wise multi-vector. More... | |
class | OutArgs |
class | OutArgsSetup |
struct | Preconditioner |
Simple aggregate struct that stores a preconditioner as an Epetra_Operator and a bool, about whether it is inverted or not. More... | |
class | SGDerivative |
Simple aggregate class that stores a derivative object as a general linear operator or as a multi-vector. More... | |
class | SGDerivativeMultiVector |
Simple aggregate class for a derivative object represented as a column-wise multi-vector or its transpose as a row-wise multi-vector. More... | |
Destructor | |
virtual | ~ModelEvaluator () |
Vector maps | |
virtual Teuchos::RCP< const Epetra_Map > | get_x_map () const =0 |
. More... | |
virtual Teuchos::RCP< const Epetra_Map > | get_f_map () const =0 |
. More... | |
virtual Teuchos::RCP< const Epetra_Map > | get_p_map (int l) const |
. More... | |
virtual Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_names (int l) const |
Get the names of the parameters associated with parameter subvector l if available. More... | |
virtual Teuchos::RCP< const Epetra_Map > | get_g_map (int j) const |
. More... | |
virtual Teuchos::ArrayView < const std::string > | get_g_names (int j) const |
Get the names of the response functions associated with response subvector j if available. More... | |
Initial guesses for variables/parameters | |
virtual Teuchos::RCP< const Epetra_Vector > | get_x_init () const |
virtual Teuchos::RCP< const Epetra_Vector > | get_x_dot_init () const |
virtual Teuchos::RCP< const Epetra_Vector > | get_x_dotdot_init () const |
virtual Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
virtual double | get_t_init () const |
Bounds for variables/parameters | |
virtual double | getInfBound () const |
Return the value of an infinite bound. More... | |
virtual Teuchos::RCP< const Epetra_Vector > | get_x_lower_bounds () const |
virtual Teuchos::RCP< const Epetra_Vector > | get_x_upper_bounds () const |
virtual Teuchos::RCP< const Epetra_Vector > | get_p_lower_bounds (int l) const |
virtual Teuchos::RCP< const Epetra_Vector > | get_p_upper_bounds (int l) const |
virtual double | get_t_lower_bound () const |
virtual double | get_t_upper_bound () const |
Factory functions for creating derivative objects | |
virtual Teuchos::RCP < Epetra_Operator > | create_W () const |
If supported, create a Epetra_Operator object for W to be evaluated. More... | |
virtual Teuchos::RCP < EpetraExt::ModelEvaluator::Preconditioner > | create_WPrec () const |
virtual Teuchos::RCP < Epetra_Operator > | create_DfDp_op (int l) const |
virtual Teuchos::RCP < Epetra_Operator > | create_DgDx_dot_op (int j) const |
virtual Teuchos::RCP < Epetra_Operator > | create_DgDx_dotdot_op (int j) const |
virtual Teuchos::RCP < Epetra_Operator > | create_DgDx_op (int j) const |
virtual Teuchos::RCP < Epetra_Operator > | create_DgDp_op (int j, int l) const |
Computational functions | |
virtual InArgs | createInArgs () const =0 |
virtual OutArgs | createOutArgs () const =0 |
virtual void | evalModel (const InArgs &inArgs, const OutArgs &outArgs) const =0 |
Base interface for evaluating a stateless "model".
ToDo: Finish Documentation!
Definition at line 85 of file EpetraExt_ModelEvaluator.h.
typedef Teuchos::RCP<const Stokhos::ProductEpetraVector> EpetraExt::ModelEvaluator::mp_const_vector_t |
Definition at line 91 of file EpetraExt_ModelEvaluator.h.
typedef Teuchos::RCP<const Stokhos::ProductEpetraMultiVector> EpetraExt::ModelEvaluator::mp_const_multivector_t |
Definition at line 92 of file EpetraExt_ModelEvaluator.h.
typedef Teuchos::RCP<const Stokhos::ProductEpetraOperator > EpetraExt::ModelEvaluator::mp_const_operator_t |
Definition at line 93 of file EpetraExt_ModelEvaluator.h.
typedef Teuchos::RCP<Stokhos::ProductEpetraVector> EpetraExt::ModelEvaluator::mp_vector_t |
Definition at line 94 of file EpetraExt_ModelEvaluator.h.
typedef Teuchos::RCP<Stokhos::ProductEpetraMultiVector> EpetraExt::ModelEvaluator::mp_multivector_t |
Definition at line 95 of file EpetraExt_ModelEvaluator.h.
typedef Teuchos::RCP<Stokhos::ProductEpetraOperator > EpetraExt::ModelEvaluator::mp_operator_t |
Definition at line 96 of file EpetraExt_ModelEvaluator.h.
Definition at line 99 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
IN_ARG_p_sg |
Definition at line 125 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
IN_ARG_p_mp |
Definition at line 130 of file EpetraExt_ModelEvaluator.h.
Definition at line 298 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
DERIV_MV_BY_COL | |
DERIV_TRANS_MV_BY_ROW |
Definition at line 326 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
DERIV_LINEAR_OP |
Definition at line 332 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
DERIV_LINEARITY_UNKNOWN | |
DERIV_LINEARITY_CONST | |
DERIV_LINEARITY_NONCONST |
Definition at line 404 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
DERIV_RANK_UNKNOWN | |
DERIV_RANK_FULL | |
DERIV_RANK_DEFICIENT |
Definition at line 410 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_f | |
OUT_ARG_W | |
OUT_ARG_f_poly |
Residual vector Taylor polynomial. |
OUT_ARG_f_sg |
Stochastic Galerkin residual vector polynomial. |
OUT_ARG_W_sg |
Stochastic Galerkin "W" operator polyomial. |
OUT_ARG_f_mp |
Multi-point residual vector. |
OUT_ARG_W_mp |
Multi-point "W" operator. |
OUT_ARG_WPrec |
Preconditioner operator (approx Jacobian) |
Definition at line 662 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DfDp |
Definition at line 675 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_dot |
Definition at line 680 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_dotdot |
Definition at line 685 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx |
Definition at line 690 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDp |
Definition at line 695 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DfDp_sg |
Definition at line 700 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_g_sg |
Definition at line 705 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_dot_sg |
Definition at line 710 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_dotdot_sg |
Definition at line 715 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_sg |
Definition at line 720 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDp_sg |
Definition at line 725 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DfDp_mp |
Definition at line 730 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_g_mp |
Definition at line 735 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_dot_mp |
Definition at line 740 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_dotdot_mp |
Definition at line 745 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDx_mp |
Definition at line 750 of file EpetraExt_ModelEvaluator.h.
Enumerator | |
---|---|
OUT_ARG_DgDp_mp |
Definition at line 755 of file EpetraExt_ModelEvaluator.h.
|
virtual |
Definition at line 923 of file EpetraExt_ModelEvaluator.cpp.
|
pure virtual |
|
pure virtual |
|
virtual |
.
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraExt::DiagonalTransientModel, EpetraModelEval4DOpt, EpetraMultiPointModelEval4DOpt, EpetraExt::MultiPointModelEvaluator, and EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator.
Definition at line 931 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Get the names of the parameters associated with parameter subvector l if available.
The default implementation return returnVal==Teuchos::null which means by default, parameters have no names associated with them.
Reimplemented in EpetraExt::DiagonalTransientModel.
Definition at line 935 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
.
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraExt::DiagonalTransientModel, EpetraModelEval4DOpt, EpetraMultiPointModelEval4DOpt, EpetraExt::MultiPointModelEvaluator, and EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator.
Definition at line 939 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Get the names of the response functions associated with response subvector j if available.
The default implementation return returnVal==Teuchos::null which means by default, responses have no names associated with them.
Definition at line 943 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraExt::DiagonalTransientModel, EpetraModelEval4DOpt, EpetraMultiPointModelEval4DOpt, EpetraExt::MultiPointModelEvaluator, and EpetraModelEval2DSim.
Definition at line 951 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in EpetraExt::DiagonalTransientModel.
Definition at line 955 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 959 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraExt::DiagonalTransientModel, EpetraModelEval4DOpt, EpetraMultiPointModelEval4DOpt, EpetraExt::MultiPointModelEvaluator, and EpetraExt::DiagonalQuadraticResponseOnlyModelEvaluator.
Definition at line 963 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 966 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Return the value of an infinite bound.
The default implementation returns 1e+50.
Definition at line 973 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraModelEval4DOpt, and EpetraMultiPointModelEval4DOpt.
Definition at line 980 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraModelEval4DOpt, and EpetraMultiPointModelEval4DOpt.
Definition at line 985 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraModelEval4DOpt, and EpetraMultiPointModelEval4DOpt.
Definition at line 990 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraModelEval4DOpt, and EpetraMultiPointModelEval4DOpt.
Definition at line 995 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 999 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 1003 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
If supported, create a Epetra_Operator
object for W
to be evaluated.
Same for preconditioner M
The default implementation returns return.get()==NULL
(i.e. implicit solvers are not supported by default).
Reimplemented in GLpApp::AdvDiffReactOptModel, EpetraExt::DiagonalTransientModel, EpetraModelEval4DOpt, EpetraMultiPointModelEval4DOpt, EpetraExt::MultiPointModelEvaluator, and EpetraModelEval2DSim.
Definition at line 1011 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 1015 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Reimplemented in GLpApp::AdvDiffReactOptModel.
Definition at line 1019 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 1023 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 1027 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 1031 of file EpetraExt_ModelEvaluator.cpp.
|
virtual |
Definition at line 1035 of file EpetraExt_ModelEvaluator.cpp.
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 122 of file EpetraExt_ModelEvaluator.h.
|
static |
Definition at line 672 of file EpetraExt_ModelEvaluator.h.