#include <Thyra_ModelEvaluatorDelegatorBase.hpp>
Inheritance diagram for Thyra::ModelEvaluatorDelegatorBase< Scalar >:
Constructors/initializers | |
| ModelEvaluatorDelegatorBase () | |
| Constructs to uninitialized. | |
| ModelEvaluatorDelegatorBase (const Teuchos::RefCountPtr< ModelEvaluator< Scalar > > &model) | |
Calls initialize(). | |
| ModelEvaluatorDelegatorBase (const Teuchos::RefCountPtr< const ModelEvaluator< Scalar > > &model) | |
Calls initialize(). | |
| void | initialize (const Teuchos::RefCountPtr< ModelEvaluator< Scalar > > &model) |
| Initialize given a non-const model evaluator. | |
| void | initialize (const Teuchos::RefCountPtr< const ModelEvaluator< Scalar > > &model) |
| Initialize given a const model evaluator. | |
| void | uninitialize () |
| Uninitialize. | |
Virtual functions that can overriden | |
| virtual bool | isUnderlyingModelConst () const |
| | |
| virtual Teuchos::RefCountPtr< ModelEvaluator< Scalar > > | getNonconstUnderlyingModel () |
| | |
| virtual Teuchos::RefCountPtr< const ModelEvaluator< Scalar > > | getUnderlyingModel () const |
| | |
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 | reportFinalPoint (const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved) |
| | |
This class makes it easy to write many different types of decorator subclasses by only requiring those subclasses to override just the behavior that they need to overide and leave the rest alone. Note that whenever the definition of ModelEvaluator changes, this class will have to be updated. However, the decorator subclasses that derive from this base class might be able to remain unchanged. Note that changes in only the ModelEvaluatorBase::InArgs and ModelEvaluatorBase::OutArgs classes should not require any changes here.
The only functions that a client must override in order to create a concrete subcalss is the evalModel() function. All other functions have implementations here that simply delegate to the model evaluator object returned from getUnderlyingModel(). However, most decorator classes will need to override at least one other function.
This class provides a default implemntation of the machinary to store and access the wrapped model evaluator object. A subclass can choose to ignore this and override the functions isUnderlyingModelConst()
, getConstUnderlyingModel(), and getUnderlyingModel().
Definition at line 62 of file Thyra_ModelEvaluatorDelegatorBase.hpp.
|
|||||||||
|
Constructs to uninitialized.
Definition at line 165 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Calls
Definition at line 169 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Calls
Definition at line 177 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Initialize given a non-const model evaluator.
Definition at line 185 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Initialize given a const model evaluator.
Definition at line 193 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Uninitialize.
Definition at line 201 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 209 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 216 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 223 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 231 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 237 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 244 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 251 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Definition at line 258 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Definition at line 265 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Reimplemented in Thyra::DefaultNominalBoundsOverrideModelEvaluator< Scalar >, and Thyra::SingleResidSSDAEModelEvaluator< Scalar >. Definition at line 272 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Reimplemented in Thyra::DefaultNominalBoundsOverrideModelEvaluator< Scalar >. Definition at line 279 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Reimplemented in Thyra::DefaultNominalBoundsOverrideModelEvaluator< Scalar >. Definition at line 286 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Reimplemented in Thyra::DefaultModelEvaluatorWithSolveFactory< Scalar >. Definition at line 293 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Definition at line 300 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Definition at line 307 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||
|
Definition at line 314 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||||||||
|
Definition at line 321 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Reimplemented in Thyra::SingleResidSSDAEModelEvaluator< Scalar >. Definition at line 328 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
|||||||||
|
Reimplemented in Thyra::DefaultFiniteDifferenceModelEvaluator< Scalar >, Thyra::DefaultModelEvaluatorWithSolveFactory< Scalar >, and Thyra::SingleResidSSDAEModelEvaluator< Scalar >. Definition at line 337 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
|
||||||||||||||||
|
Reimplemented in Thyra::DefaultFinalPointCaptureModelEvaluator< Scalar >. Definition at line 345 of file Thyra_ModelEvaluatorDelegatorBase.hpp. |
1.3.9.1