Provides interfaces for the evaluation of quantities related to the constraint function. More...
#include <Aristos_Constraints.hpp>
Public Member Functions | |
virtual void | getValue (const Vector &x, Vector &c) const =0 |
Evaluates the vector of constraints. More... | |
virtual void | applyJacobian (bool Trans, const Vector &x, const Vector &v, Vector &Jv) const =0 |
Applies the Jacobian operator to vector. More... | |
virtual void | applyNullSp (bool Trans, const Vector &x, const Vector &v, Vector &Wv, double *tol) const =0 |
Applies the constraint null space operator to a vector. More... | |
Provides interfaces for the evaluation of quantities related to the constraint function.
These include:
|
pure virtual |
Applies the Jacobian operator to vector.
Trans | [in] - If Trans==true , apply adjoint operator, otherwise apply standard operator. |
x | [in] - Current SQP iterate vector. |
v | [in] - The vector to which the Jacobian operator is applied. |
Jv | [out] - Resulting vector. |
Interface function that evaluates the vector obtained by applying the Jacobian operator (or the adjoint thereof) to a vector. To be subclassed and implemented by the user.
Teuchos::RefCountPtr<const YourVectorClass> ex = (Teuchos::dyn_cast<Aristos::YourVectorAdapter>(const_cast<Aristos::Vector&>(x))).getVector();
|
pure virtual |
Applies the constraint null space operator to a vector.
Trans | [in] - If Trans==true , apply adjoint operator, otherwise apply standard operator. |
x | [in] - Current SQP iterate vector. |
v | [in] - The vector to which the constraint null space operator is applied. |
Wv | [out] - Resulting vector. |
tol | [in] - Tolerance for inexact computations. |
Interface function that evaluates the vector obtained by applying the constraint null space operator (or the adjoint thereof) to a vector. To be subclassed and implemented by the user.
Teuchos::RefCountPtr<const YourVectorClass> ex = (Teuchos::dyn_cast<Aristos::YourVectorAdapter>(const_cast<Aristos::Vector&>(x))).getVector();
Evaluates the vector of constraints.
x | [in] - Current SQP iterate vector. |
c | [out] - Value of constraints. |
Interface function that evaluates the vector of constraints. To be subclassed and implemented by the user.
Teuchos::RefCountPtr<const YourVectorClass> ex = (Teuchos::dyn_cast<Aristos::YourVectorAdapter>(const_cast<Aristos::Vector&>(x))).getVector();