#include <LOCA_TurningPoint_MinimallyAugmented_Constraint.H>
Inheritance diagram for LOCA::TurningPoint::MinimallyAugmented::Constraint:
Public Member Functions | |
| Constraint (const Teuchos::RefCountPtr< LOCA::GlobalData > &global_data, const Teuchos::RefCountPtr< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RefCountPtr< Teuchos::ParameterList > &tpParams, const Teuchos::RefCountPtr< LOCA::TurningPoint::MinimallyAugmented::AbstractGroup > &g, bool is_symmetric, const NOX::Abstract::Vector &a, const NOX::Abstract::Vector *b, int bif_param) | |
| Constructor. | |
| Constraint (const Constraint &source, NOX::CopyType type=NOX::DeepCopy) | |
| Copy constructor. | |
| virtual | ~Constraint () |
| Destructor. | |
| virtual void | setGroup (const Teuchos::RefCountPtr< LOCA::TurningPoint::MinimallyAugmented::AbstractGroup > &g) |
| Set the group pointer. | |
|
virtual Teuchos::RefCountPtr< const NOX::Abstract::Vector > | getLeftNullVec () const |
| Returns left null vector w. | |
|
virtual Teuchos::RefCountPtr< const NOX::Abstract::Vector > | getRightNullVec () const |
| Returns right null vector v. | |
| virtual double | getSigma () const |
| Returns sigma. | |
Implementation of LOCA::MultiContinuation::ConstraintInterface | |
virtual methods | |
| virtual void | copy (const LOCA::MultiContinuation::ConstraintInterface &source) |
| Copy. | |
|
virtual Teuchos::RefCountPtr< LOCA::MultiContinuation::ConstraintInterface > | clone (NOX::CopyType type=NOX::DeepCopy) const |
| Cloning function. | |
| virtual int | numConstraints () const |
| Return number of constraints. | |
| virtual void | setX (const NOX::Abstract::Vector &y) |
| Set the solution vector to y. | |
| virtual void | setParam (int paramID, double val) |
| Sets parameter indexed by paramID. | |
| virtual void | setParams (const vector< int > ¶mIDs, const NOX::Abstract::MultiVector::DenseMatrix &vals) |
| Sets parameters indexed by paramIDs. | |
| virtual NOX::Abstract::Group::ReturnType | computeConstraints () |
| Compute continuation constraint equations. | |
| virtual NOX::Abstract::Group::ReturnType | computeDX () |
| Compute derivative of constraints w.r.t. solution vector x. | |
| virtual NOX::Abstract::Group::ReturnType | computeDP (const vector< int > ¶mIDs, NOX::Abstract::MultiVector::DenseMatrix &dgdp, bool isValidG) |
| Compute derivative of constraints w.r.t. supplied parameters. | |
| virtual bool | isConstraints () const |
Return true if constraint residuals are valid. | |
| virtual bool | isDX () const |
Return true if derivatives of constraints w.r.t. x are valid. | |
| virtual const NOX::Abstract::MultiVector::DenseMatrix & | getConstraints () const |
| Return constraint residuals. | |
| virtual const NOX::Abstract::MultiVector * | getDX () const |
| Return solution component of constraint derivatives. | |
| virtual bool | isDXZero () const |
Return true if solution component of constraint derivatives is zero. | |
| virtual void | postProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus) |
| Perform any postprocessing after a continuation step finishes. | |
Protected Attributes | |
| Teuchos::RefCountPtr< LOCA::GlobalData > | globalData |
| Pointer LOCA global data object. | |
| Teuchos::RefCountPtr< LOCA::Parameter::SublistParser > | parsedParams |
| Parsed top-level parameters. | |
| Teuchos::RefCountPtr< Teuchos::ParameterList > | turningPointParams |
| Bifurcation parameter list. | |
| Teuchos::RefCountPtr< LOCA::TurningPoint::MinimallyAugmented::AbstractGroup > | grpPtr |
Pointer to base group that defines . | |
| Teuchos::RefCountPtr< NOX::Abstract::MultiVector > | a_vector |
Vector for . | |
| Teuchos::RefCountPtr< NOX::Abstract::MultiVector > | b_vector |
Vector for . | |
| Teuchos::RefCountPtr< NOX::Abstract::MultiVector > | w_vector |
| Stores left null vector. | |
| Teuchos::RefCountPtr< NOX::Abstract::MultiVector > | v_vector |
| Stores right null vector. | |
| Teuchos::RefCountPtr< NOX::Abstract::MultiVector > | Jv_vector |
| Stores J*v. | |
| Teuchos::RefCountPtr< NOX::Abstract::MultiVector > | sigma_x |
| Stores sigma_x. | |
| NOX::Abstract::MultiVector::DenseMatrix | constraints |
| Constraint values. | |
| Teuchos::RefCountPtr< LOCA::BorderedSolver::AbstractStrategy > | borderedSolver |
| Stores bordered solver strategy. | |
| double | dn |
| Stores vector length as a double. | |
| double | sigma_scale |
| Stores scale factor on sigma. | |
| bool | isSymmetric |
| Flag indicating whether Jacobian is symmetric. | |
| bool | isValidConstraints |
| Flag indicating whether constraints are valid. | |
| bool | isValidDX |
| Flag indicating whether sigma_x is valid. | |
| vector< int > | bifParamID |
| Stores the bifurcation parameter index. | |
| bool | updateVectorsEveryContinuationStep |
Flag indicating whether to update and every continuation step. | |
| bool | updateVectorsEveryIteration |
Flag indicating whether to update and every nonlinear iteration. | |
This class implements the turning point constraint equation
for the minimally augmented turning point formulation where
is defined via
for any vectors
and
in
. Using these relationships, it is easy to show
The class is intialized via the tpParams parameter list argument to the constructor. The parameters this class recognizes are:
and
vectors via
and
every continuation step
and
vectors via
and
every nonlinear iteration
|
||||||||||||||||
|
Compute derivative of constraints w.r.t. supplied parameters.
The first column of Implements LOCA::MultiContinuation::ConstraintInterface. |
|
|
Perform any postprocessing after a continuation step finishes.
The Reimplemented from LOCA::MultiContinuation::ConstraintInterface. Reimplemented in LOCA::TurningPoint::MinimallyAugmented::ModifiedConstraint. |
|
|
Set the group pointer. This method should be called when ever the constrained group is copied, since we don't explicitly copy the underlying group here. |
1.3.9.1