44 #ifndef ROL_UPPER_BOUND_TO_CONSTRAINT_H
45 #define ROL_UPPER_BOUND_TO_CONSTRAINT_H
59 ROL::Ptr<Vector<Real> >
up_;
virtual const ROL::Ptr< const Vector< Real > > getUpperBound(void) const
Return the ref count pointer to the upper bound vector.
virtual void scale(const Real alpha)=0
Compute where .
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
ROL::Ptr< Vector< Real > > up_
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.
UpperBoundToConstraint(BoundConstraint< Real > &bnd)
void applyAdjointHessian(Vector< Real > &ahuv, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply the derivative of the adjoint of the constraint Jacobian at to vector in direction ...
UpperBoundToConstraint(const Vector< Real > &up)
Provides the interface to apply upper and lower bound constraints.
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply the constraint Jacobian at , , to vector .
virtual void set(const Vector &x)
Set where .
void applyAdjointJacobian(Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply the adjoint of the the constraint Jacobian at , , to vector .
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol)
Evaluate the constraint operator at .
Provides an implementation for upper bound constraints.
Defines the general constraint operator interface.