10 #ifndef ROL_ELASTICLINEARCONSTRAINT_H
11 #define ROL_ELASTICLINEARCONSTRAINT_H
25 template<
typename Real>
28 const Ptr<Constraint<Real>>
con_;
const Ptr< Constraint< Real > > con_
void update(const Vector< Real > &x, UpdateType type, int iter=-1) override
Update constraint function.
const Ptr< Vector< Real > > x_
const Ptr< Vector< Real > > tmp_
Defines the linear algebra or vector space interface.
const Ptr< Vector< Real > > c_
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
ElasticLinearConstraint(const Ptr< const Vector< Real >> &x, const Ptr< Constraint< Real >> &con, const Ptr< const Vector< Real >> &c)
void setAnchor(const Ptr< const Vector< Real >> &x)
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 ...
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 .
Defines the general affine constraint with the form .
Defines the general constraint operator interface.
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .