10 #ifndef THYRA_DIAGONAL_QUADRATIC_RESPONSE_ONLY_MODEL_EVALUATOR_DECL_HPP
11 #define THYRA_DIAGONAL_QUADRATIC_RESPONSE_ONLY_MODEL_EVALUATOR_DECL_HPP
14 #include "Thyra_ResponseOnlyModelEvaluatorBase.hpp"
15 #include "Teuchos_Comm.hpp"
91 template<
class Scalar>
181 Scalar nonlinearTermFactor_;
191 template<
class Scalar>
193 diagonalQuadraticResponseOnlyModelEvaluator(
206 #endif // THYRA_DIAGONAL_QUADRATIC_RESPONSE_ONLY_MODEL_EVALUATOR_DECL_HPP
Concrete aggregate class for all output arguments computable by a ModelEvaluator subclass object...
void setSolutionVector(const RCP< const VectorBase< Scalar > > &ps)
Set the solution vector ps .
DiagonalQuadraticResponseOnlyModelEvaluator(const int localDim, const RCP< const Teuchos::Comm< Ordinal > > &comm=Teuchos::null)
void setScalarOffset(const Scalar &g_offset)
Set offset scalar g_offset .
const RCP< const VectorBase< Scalar > > getSolutionVector() const
Get the solution vector ps .
void setNonlinearTermFactor(const Scalar &nonlinearTermFactor)
Set nonlinear term factory.
RCP< const VectorSpaceBase< Scalar > > get_g_space(int j) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
This base class defines default function implementations appropritate for a response-only model evalu...
RCP< const VectorSpaceBase< Scalar > > get_p_space(int l) const
Abstract interface for finite-dimensional dense vectors.
void setDiagonalVector(const RCP< const VectorBase< Scalar > > &diag)
Set the diagonal vector diag.
ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
void setDiagonalBarVector(const RCP< const VectorBase< Scalar > > &diag_bar)
Set the diagonal vector diag_bar.
Simple parallel response-only ModelEvaluator.
Concrete aggregate class for all input arguments computable by a ModelEvaluator subclass object...