29 #ifndef RYTHMOS_RESPONSE_AND_FWD_SEND_POINT_HPP
30 #define RYTHMOS_RESPONSE_AND_FWD_SEND_POINT_HPP
33 #include "Rythmos_Types.hpp"
34 #include "Thyra_OperatorVectorTypes.hpp"
35 #include "Thyra_AssertOp.hpp"
47 template<
class Scalar>
53 : t_(ScalarTraits<Scalar>::zero())
62 const RCP<
const Thyra::VectorBase<Scalar> > &
g,
63 const RCP<
const Thyra::MultiVectorBase<Scalar> > &
DgDp
65 :t_(t), g_(
g), DgDp_(
DgDp)
67 #ifdef HAVE_RYTHMOS_DEBUG
68 TEUCHOS_TEST_FOR_EXCEPT(is_null(
g));
69 TEUCHOS_TEST_FOR_EXCEPT(is_null(
DgDp));
70 THYRA_ASSERT_VEC_SPACES(
"Rythmos::ResponseAndFwdSensPoint()",
71 *
g->space(), *
DgDp->range() );
80 const RCP<const Thyra::VectorBase<Scalar> >
g()
const
84 const RCP<const Thyra::MultiVectorBase<Scalar> >
DgDp()
const
90 RCP<const Thyra::VectorBase<Scalar> > g_;
91 RCP<const Thyra::MultiVectorBase<Scalar> > DgDp_;
99 #endif //RYTHMOS_RESPONSE_AND_FWD_SEND_POINT_HPP
const RCP< const Thyra::MultiVectorBase< Scalar > > DgDp() const
Simple class to combine a response and it's forward sensitivity at a time point.
ResponseAndFwdSensPoint()
ResponseAndFwdSensPoint(const Scalar &t, const RCP< const Thyra::VectorBase< Scalar > > &g, const RCP< const Thyra::MultiVectorBase< Scalar > > &DgDp)
const RCP< const Thyra::VectorBase< Scalar > > g() const