Thyra
Version of the Day
|
A model evaluator decorator for computing an explicit adjoint. More...
#include <Thyra_TpetraExplicitAdjointModelEvaluator.hpp>
Public Member Functions | |
TpetraExplicitAdjointModelEvaluator (const RCP< const ModelEvaluator< Scalar > > &model) | |
Constructor. More... | |
TpetraExplicitAdjointModelEvaluator (const RCP< ModelEvaluator< Scalar > > &model) | |
Constructor. More... | |
virtual | ~TpetraExplicitAdjointModelEvaluator ()=default |
Destructor. More... | |
ModelEvaluatorBase::InArgs < Scalar > | createInArgs () const |
RCP< LinearOpBase< Scalar > > | create_W_op () const |
Public Member Functions inherited from Thyra::ModelEvaluatorDelegatorBase< Scalar > | |
ModelEvaluatorDelegatorBase () | |
Constructs to uninitialized. More... | |
ModelEvaluatorDelegatorBase (const RCP< ModelEvaluator< Scalar > > &model) | |
Calls initialize() . More... | |
ModelEvaluatorDelegatorBase (const RCP< const ModelEvaluator< Scalar > > &model) | |
Calls initialize() . More... | |
void | initialize (const RCP< ModelEvaluator< Scalar > > &model) |
Initialize given a non-const model evaluator. More... | |
void | initialize (const RCP< const ModelEvaluator< Scalar > > &model) |
Initialize given a const model evaluator. More... | |
void | uninitialize () |
Uninitialize. More... | |
virtual bool | isUnderlyingModelConst () const |
virtual RCP< ModelEvaluator < Scalar > > | getNonconstUnderlyingModel () |
virtual RCP< const ModelEvaluator< Scalar > > | getUnderlyingModel () const |
RCP< const VectorSpaceBase < Scalar > > | get_x_space () const |
RCP< const VectorSpaceBase < Scalar > > | get_f_space () const |
RCP< const VectorSpaceBase < Scalar > > | get_f_multiplier_space () const |
RCP< const VectorSpaceBase < Scalar > > | get_p_space (int l) const |
RCP< const Teuchos::Array < std::string > > | get_p_names (int l) const |
RCP< const VectorSpaceBase < Scalar > > | get_g_space (int j) const |
RCP< const VectorSpaceBase < Scalar > > | get_g_multiplier_space (int j) const |
Teuchos::ArrayView< const std::string > | get_g_names (int j) const |
ModelEvaluatorBase::InArgs < Scalar > | getNominalValues () const |
ModelEvaluatorBase::InArgs < Scalar > | getLowerBounds () const |
ModelEvaluatorBase::InArgs < Scalar > | getUpperBounds () const |
RCP< LinearOpWithSolveBase < Scalar > > | create_W () const |
RCP< PreconditionerBase< Scalar > > | create_W_prec () const |
RCP< const LinearOpWithSolveFactoryBase < Scalar > > | get_W_factory () const |
void | reportFinalPoint (const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved) |
Public Member Functions inherited from Thyra::ModelEvaluatorDefaultBase< Scalar > | |
int | Np () const |
int | Ng () const |
RCP< LinearOpBase< Scalar > > | create_DfDp_op (int l) const |
RCP< LinearOpBase< Scalar > > | create_DgDx_dot_op (int j) const |
RCP< LinearOpBase< Scalar > > | create_DgDx_op (int j) const |
RCP< LinearOpBase< Scalar > > | create_DgDp_op (int j, int l) const |
ModelEvaluatorBase::OutArgs < Scalar > | createOutArgs () const |
void | evalModel (const ModelEvaluatorBase::InArgs< Scalar > &inArgs, const ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const |
Public Member Functions inherited from Thyra::ModelEvaluator< Scalar > | |
Public Member Functions inherited from Thyra::ModelEvaluatorBase | |
ModelEvaluatorBase () | |
constructor More... | |
A model evaluator decorator for computing an explicit adjoint.
This ModelEvaluator only supports computing W_op and forms the adjoint by computing W_op from the underlying ModelEvaluator and then explicitly transposes it.
Since it derives from ModelEvaluatorDelegatorBase, it forwards all ModelEvaluator methods to the supplied underlying ModelEvaluator except those overloaded here.
Definition at line 30 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
|
inline |
Constructor.
Definition at line 35 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
|
inline |
Constructor.
Definition at line 40 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Reimplemented from Thyra::ModelEvaluatorDelegatorBase< Scalar >.
Definition at line 47 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
|
inlinevirtual |
Reimplemented from Thyra::ModelEvaluatorDelegatorBase< Scalar >.
Definition at line 60 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.