Thyra Package Browser (Single Doxygen Collection)
Version of the Day
|
A model evaluator decorator for computing an explicit adjoint. More...
#include <Thyra_TpetraExplicitAdjointModelEvaluator.hpp>
Inherits ModelEvaluatorDelegatorBase< Scalar >.
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 |
Private Member Functions | |
ModelEvaluatorBase::OutArgs < Scalar > | createOutArgsImpl () const |
void | evalModelImpl (const ModelEvaluatorBase::InArgs< Scalar > &inArgs, const ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const |
Private Attributes | |
RCP< Thyra::LinearOpBase < Scalar > > | thyra_fwd_op |
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.
|
inline |
Definition at line 47 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
|
inline |
Definition at line 60 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
References Teuchos::null, and Thyra::TpetraExplicitAdjointModelEvaluator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::thyra_fwd_op.
|
inlineprivate |
Definition at line 82 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
References TEUCHOS_ASSERT.
|
inlineprivate |
Definition at line 95 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
References Teuchos::null, and Thyra::TpetraExplicitAdjointModelEvaluator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::thyra_fwd_op.
|
mutableprivate |
Definition at line 80 of file Thyra_TpetraExplicitAdjointModelEvaluator.hpp.
Referenced by Thyra::TpetraExplicitAdjointModelEvaluator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::create_W_op(), and Thyra::TpetraExplicitAdjointModelEvaluator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::evalModelImpl().