10 #ifndef ROL_UPPER_BOUND_TO_CONSTRAINT_DEF_H
11 #define ROL_UPPER_BOUND_TO_CONSTRAINT_DEF_H
15 template<
typename Real>
21 template<
typename Real>
27 template<
typename Real>
34 template<
typename Real>
44 template<
typename Real>
54 template<
typename Real>
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
void applyAdjointHessian(Vector< Real > &ahuv, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the derivative of the adjoint of the constraint Jacobian at to vector in direction ...
virtual void scale(const Real alpha)=0
Compute where .
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
virtual void axpy(const Real alpha, const Vector &x)
Compute where .
virtual void zero()
Set to zero vector.
Defines the linear algebra or vector space interface.
void applyAdjointJacobian(Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the adjoint of the the constraint Jacobian at , , to vector .
UpperBoundToConstraint(BoundConstraint< Real > &bnd)
virtual const Ptr< const Vector< Real > > getUpperBound(void) const
Return the ref count pointer to the upper bound vector.
Provides the interface to apply upper and lower bound constraints.
virtual void set(const Vector &x)
Set where .
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .