#include <LOCA_MultiContinuation_ConstrainedGroup.H>
Public Member Functions | |
ConstrainedGroup (const Teuchos::RCP< LOCA::GlobalData > &global_data, const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &constraintParams, const Teuchos::RCP< LOCA::MultiContinuation::AbstractGroup > &grp, const Teuchos::RCP< LOCA::MultiContinuation::ConstraintInterface > &constraints, const vector< int > ¶mIDs, bool skip_dfdp=false) | |
Constructor. | |
ConstrainedGroup (const ConstrainedGroup &source, NOX::CopyType type=NOX::DeepCopy) | |
Copy constructor. | |
virtual | ~ConstrainedGroup () |
Destructor. | |
virtual void | setConstraintParameter (int i, double val) |
Set constraint parameter i to value val . | |
virtual double | getConstraintParameter (int i) const |
Get constraint parameter i . | |
virtual const vector< int > & | getConstraintParamIDs () const |
Get constraint parameter IDs. | |
virtual Teuchos::RCP < LOCA::MultiContinuation::AbstractGroup > | getGroup () |
Get group. | |
virtual Teuchos::RCP < LOCA::MultiContinuation::ConstraintInterface > | getConstraints () |
Get constraints. | |
Implementation of NOX::Abstract::Group virtual methods | |
virtual NOX::Abstract::Group & | operator= (const NOX::Abstract::Group &source) |
Assignment operator. | |
virtual Teuchos::RCP < NOX::Abstract::Group > | clone (NOX::CopyType type=NOX::DeepCopy) const |
Clone function. | |
virtual void | setX (const NOX::Abstract::Vector &y) |
Set the solution vector to y. | |
virtual void | computeX (const NOX::Abstract::Group &g, const NOX::Abstract::Vector &d, double step) |
Compute and return solution vector, x, where this.x = grp.x + step * d. | |
virtual NOX::Abstract::Group::ReturnType | computeF () |
Compute extended continuation equations. | |
virtual NOX::Abstract::Group::ReturnType | computeJacobian () |
Compute extended continuation jacobian. | |
virtual NOX::Abstract::Group::ReturnType | computeGradient () |
Gradient is not defined for this system. | |
virtual NOX::Abstract::Group::ReturnType | computeNewton (Teuchos::ParameterList ¶ms) |
Compute Newton direction for extended continuation system. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobian (const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Applies Jacobian for extended system. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianTranspose (const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Jacobian transpose not defined for this system. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianInverse (Teuchos::ParameterList ¶ms, const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Applies Jacobian inverse for extended system. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianMultiVector (const NOX::Abstract::MultiVector &input, NOX::Abstract::MultiVector &result) const |
Applies Jacobian for extended system. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianTransposeMultiVector (const NOX::Abstract::MultiVector &input, NOX::Abstract::MultiVector &result) const |
Jacobian transpose not defined for this system. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianInverseMultiVector (Teuchos::ParameterList ¶ms, const NOX::Abstract::MultiVector &input, NOX::Abstract::MultiVector &result) const |
Applies Jacobian inverse for extended system. | |
virtual bool | isF () const |
Return true if extended residual is valid. | |
virtual bool | isJacobian () const |
Return true if the extended Jacobian is valid. | |
virtual bool | isGradient () const |
Always returns false. | |
virtual bool | isNewton () const |
Return true if the extended Newton direction is valid. | |
virtual const NOX::Abstract::Vector & | getX () const |
Return extended solution vector. | |
virtual const NOX::Abstract::Vector & | getF () const |
Return extended residual. | |
virtual double | getNormF () const |
Return 2-norm of extended residual. | |
virtual const NOX::Abstract::Vector & | getGradient () const |
Gradient is never valid. | |
virtual const NOX::Abstract::Vector & | getNewton () const |
Return extended Newton direction. | |
virtual double | getNormNewtonSolveResidual () const |
Returns 2-norm of extended Newton solve residual. | |
Implementation of LOCA::Extended::MultiAbstractGroup | |
virtual methods | |
virtual Teuchos::RCP< const LOCA::MultiContinuation::AbstractGroup > | getUnderlyingGroup () const |
Return underlying group. | |
virtual Teuchos::RCP < LOCA::MultiContinuation::AbstractGroup > | getUnderlyingGroup () |
Return underlying group. | |
Implementation of LOCA::MultiContinuation::AbstractGroup | |
virtual methods | |
virtual void | copy (const NOX::Abstract::Group &source) |
Assignment operator. | |
virtual void | setParamsMulti (const vector< int > ¶mIDs, const NOX::Abstract::MultiVector::DenseMatrix &vals) |
Set parameters indexed by (integer) paramIDs. | |
virtual void | setParams (const ParameterVector &p) |
Set the parameter vector in the group to p (pVector = p). | |
virtual void | setParam (int paramID, double val) |
Set parameter indexed by (integer) paramID. | |
virtual void | setParam (string paramID, double val) |
Set parameter indexed by (string) paramID. | |
virtual const ParameterVector & | getParams () const |
Return a const reference to the ParameterVector owned by the group. | |
virtual double | getParam (int paramID) const |
Return copy of parameter indexed by (integer) paramID. | |
virtual double | getParam (string paramID) const |
Return copy of parameter indexed by (string) paramID. | |
virtual NOX::Abstract::Group::ReturnType | computeDfDpMulti (const vector< int > ¶mIDs, NOX::Abstract::MultiVector &dfdp, bool isValidF) |
virtual void | preProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus) |
Perform any preprocessing before a continuation step starts. | |
virtual void | postProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus) |
Perform any postprocessing after a continuation step finishes. | |
virtual void | projectToDraw (const NOX::Abstract::Vector &x, double *px) const |
Projects solution to a few scalars for multiparameter continuation. | |
virtual int | projectToDrawDimension () const |
Returns the dimension of the project to draw array. | |
virtual double | computeScaledDotProduct (const NOX::Abstract::Vector &a, const NOX::Abstract::Vector &b) const |
Compute a scaled dot product. | |
virtual void | printSolution (const double conParam) const |
Function to print out solution and parameter after successful step. | |
virtual void | printSolution (const NOX::Abstract::Vector &x, const double conParam) const |
Function to print out a vector and parameter after successful step. | |
virtual void | scaleVector (NOX::Abstract::Vector &x) const |
Scales a vector using scaling vector. | |
Implementation of | |
virtual int | getBorderedWidth () const |
Return the total width of the bordered rows/columns. | |
virtual Teuchos::RCP< const NOX::Abstract::Group > | getUnborderedGroup () const |
Get bottom-level unbordered group. | |
virtual bool | isCombinedAZero () const |
Indicates whether combined A block is zero. | |
virtual bool | isCombinedBZero () const |
Indicates whether combined B block is zero. | |
virtual bool | isCombinedCZero () const |
Indicates whether combined C block is zero. | |
virtual void | extractSolutionComponent (const NOX::Abstract::MultiVector &v, NOX::Abstract::MultiVector &v_x) const |
virtual void | extractParameterComponent (bool use_transpose, const NOX::Abstract::MultiVector &v, NOX::Abstract::MultiVector::DenseMatrix &v_p) const |
virtual void | loadNestedComponents (const NOX::Abstract::MultiVector &v_x, const NOX::Abstract::MultiVector::DenseMatrix &v_p, NOX::Abstract::MultiVector &v) const |
virtual void | fillA (NOX::Abstract::MultiVector &A) const |
Fill the combined A block as described above. | |
virtual void | fillB (NOX::Abstract::MultiVector &B) const |
Fill the combined B block as described above. | |
virtual void | fillC (NOX::Abstract::MultiVector::DenseMatrix &C) const |
Fill the combined C block as described above. | |
Implementation of LOCA::Abstract::TransposeSolveGroup | |
virtual methods | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianTransposeInverse (Teuchos::ParameterList ¶ms, const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Solve Jacobian-tranpose system. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianTransposeInverseMultiVector (Teuchos::ParameterList ¶ms, const NOX::Abstract::MultiVector &input, NOX::Abstract::MultiVector &result) const |
Solve Jacobian-tranpose system with multiple right-hand sides. | |
Protected Member Functions | |
virtual void | resetIsValid () |
Resets all isValid flags to false. | |
virtual void | setupViews () |
Sets up multivector views. | |
Protected Attributes | |
Teuchos::RCP< LOCA::GlobalData > | globalData |
Pointer LOCA global data object. | |
Teuchos::RCP < LOCA::Parameter::SublistParser > | parsedParams |
Parsed top-level parameters. | |
Teuchos::RCP < Teuchos::ParameterList > | constraintParams |
Constraint parameter list. | |
Teuchos::RCP < LOCA::MultiContinuation::AbstractGroup > | grpPtr |
Pointer to base group that defines ![]() | |
Teuchos::RCP < LOCA::BorderedSystem::AbstractGroup > | bordered_grp |
Pointer to base group as a bordered group. | |
Teuchos::RCP < LOCA::MultiContinuation::ConstraintInterface > | constraintsPtr |
Pointer to constraint object. | |
int | numParams |
Number of parameters. | |
LOCA::MultiContinuation::ExtendedMultiVector | xMultiVec |
Stores the extended solution vector. | |
LOCA::MultiContinuation::ExtendedMultiVector | fMultiVec |
Stores the extended residual vector and df/dp. | |
LOCA::MultiContinuation::ExtendedMultiVector | newtonMultiVec |
Stores the extended Newton vector. | |
LOCA::MultiContinuation::ExtendedMultiVector | gradientMultiVec |
Stores the extended gradient vector. | |
Teuchos::RCP < LOCA::MultiContinuation::ExtendedVector > | xVec |
Stores view of first column of xMultiVec. | |
Teuchos::RCP < LOCA::MultiContinuation::ExtendedVector > | fVec |
Stores view of first column of fMultiVec. | |
Teuchos::RCP < LOCA::MultiContinuation::ExtendedMultiVector > | ffMultiVec |
Stores view of first column of fMultiVec as a multivec. | |
Teuchos::RCP < LOCA::MultiContinuation::ExtendedMultiVector > | dfdpMultiVec |
Stores view of df/dp columns of fMultiVec. | |
Teuchos::RCP < LOCA::MultiContinuation::ExtendedVector > | newtonVec |
Stores view of first column of newtonMultiVec. | |
Teuchos::RCP < LOCA::MultiContinuation::ExtendedVector > | gradientVec |
Stores view of first column of gradientMultiVec. | |
Teuchos::RCP < LOCA::BorderedSolver::JacobianOperator > | jacOp |
Teuchos::RCP < LOCA::BorderedSolver::AbstractStrategy > | borderedSolver |
Stores bordered solver strategy. | |
vector< int > | index_f |
Stores indices for getting f part of fMultiVec. | |
vector< int > | index_dfdp |
Stores indices for getting df/dp part of fMultiVec. | |
vector< int > | constraintParamIDs |
integer id of constraint parameters | |
bool | isValidF |
Is residual vector valid. | |
bool | isValidJacobian |
Is Jacobian matrix valid. | |
bool | isValidNewton |
Is Newton vector valid. | |
bool | isValidGradient |
Is Gradient vector valid. | |
bool | isBordered |
Flag that indicates whether underlying group is a bordered group. | |
bool | skipDfDp |
Flag indicating whether to skip df/dp computations. | |
Private Member Functions | |
ConstrainedGroup & | operator= (const ConstrainedGroup &source) |
Prevent generation and use of operator=(). |
This class represents a constrained system of nonlinear equations:
where is the solution vector,
is a set of constraint parameters,
is represented by some LOCA::MultiContinuation::AbstractGroup, and
is a constraint represented by a LOCA::MultiContinuation::ConstraintInterface object. Newton steps for this system are computed via some LOCA::BorderedSolver::AbstractStrategy which is specified via the
constraintParams
argument to the constructor.
Definition at line 96 of file LOCA_MultiContinuation_ConstrainedGroup.H.
LOCA::MultiContinuation::ConstrainedGroup::ConstrainedGroup | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, | |
const Teuchos::RCP< LOCA::Parameter::SublistParser > & | topParams, | |||
const Teuchos::RCP< Teuchos::ParameterList > & | constraintParams, | |||
const Teuchos::RCP< LOCA::MultiContinuation::AbstractGroup > & | grp, | |||
const Teuchos::RCP< LOCA::MultiContinuation::ConstraintInterface > & | constraints, | |||
const vector< int > & | paramIDs, | |||
bool | skip_dfdp = false | |||
) |
Constructor.
global_data | [in] Global data object | |
topParams | [in] Parsed top-level parameter list. | |
constraintParams | [in] Parameter list determining the bordered solver method. | |
grp | [in] Group representing ![]() | |
constraints | [in] Constraint object representing ![]() | |
paramIDs | [in] Parameter IDs of the constraint parameters | |
skip_dfdp | [in] Whether to skip computation of df/dp when computing extended Jacobian. |
Definition at line 56 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, borderedSolver, constraintParamIDs, constraintParams, constraintsPtr, globalData, grpPtr, isBordered, numParams, parsedParams, setupViews(), and xVec.
Referenced by clone().
LOCA::MultiContinuation::ConstrainedGroup::ConstrainedGroup | ( | const ConstrainedGroup & | source, | |
NOX::CopyType | type = NOX::DeepCopy | |||
) |
Copy constructor.
Definition at line 118 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, borderedSolver, constraintParams, constraintsPtr, dfdpMultiVec, globalData, grpPtr, isBordered, isValidF, isValidGradient, isValidJacobian, isValidNewton, parsedParams, setupViews(), NOX::ShapeCopy, and skipDfDp.
LOCA::MultiContinuation::ConstrainedGroup::~ConstrainedGroup | ( | ) | [virtual] |
void LOCA::MultiContinuation::ConstrainedGroup::setConstraintParameter | ( | int | i, | |
double | val | |||
) | [virtual] |
Set constraint parameter i
to value val
.
Definition at line 197 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, constraintsPtr, grpPtr, resetIsValid(), and xVec.
double LOCA::MultiContinuation::ConstrainedGroup::getConstraintParameter | ( | int | i | ) | const [virtual] |
Get constraint parameter i
.
Definition at line 208 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, and grpPtr.
const vector< int > & LOCA::MultiContinuation::ConstrainedGroup::getConstraintParamIDs | ( | ) | const [virtual] |
Get constraint parameter IDs.
Definition at line 214 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs.
NOX::Abstract::Group & LOCA::MultiContinuation::ConstrainedGroup::operator= | ( | const NOX::Abstract::Group & | source | ) | [virtual] |
Assignment operator.
Implements NOX::Abstract::Group.
Definition at line 220 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References copy().
Teuchos::RCP< NOX::Abstract::Group > LOCA::MultiContinuation::ConstrainedGroup::clone | ( | NOX::CopyType | type = NOX::DeepCopy |
) | const [virtual] |
Clone function.
Implements NOX::Abstract::Group.
Definition at line 228 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References ConstrainedGroup().
void LOCA::MultiContinuation::ConstrainedGroup::setX | ( | const NOX::Abstract::Vector & | y | ) | [virtual] |
Set the solution vector to y.
Implements NOX::Abstract::Group.
Definition at line 234 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, constraintsPtr, LOCA::Extended::Vector::getScalars(), LOCA::MultiContinuation::ExtendedVector::getXVec(), grpPtr, resetIsValid(), and xVec.
void LOCA::MultiContinuation::ConstrainedGroup::computeX | ( | const NOX::Abstract::Group & | g, | |
const NOX::Abstract::Vector & | d, | |||
double | step | |||
) | [virtual] |
Compute and return solution vector, x, where this.x = grp.x + step * d.
Implements NOX::Abstract::Group.
Definition at line 250 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, constraintsPtr, getX(), LOCA::MultiContinuation::ExtendedVector::getXVec(), grpPtr, resetIsValid(), and xVec.
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::computeF | ( | ) | [virtual] |
Compute extended continuation equations.
Implements NOX::Abstract::Group.
Definition at line 270 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintsPtr, fVec, globalData, grpPtr, isValidF, and NOX::Abstract::Group::Ok.
Referenced by computeGradient(), and computeNewton().
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::computeJacobian | ( | ) | [virtual] |
Compute extended continuation jacobian.
Reimplemented from NOX::Abstract::Group.
Definition at line 302 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References borderedSolver, constraintParamIDs, constraintsPtr, dfdpMultiVec, fMultiVec, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), globalData, grpPtr, isValidF, isValidJacobian, NOX::Abstract::Group::Ok, and skipDfDp.
Referenced by computeGradient(), and computeNewton().
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::computeGradient | ( | ) | [virtual] |
Gradient is not defined for this system.
Reimplemented from NOX::Abstract::Group.
Definition at line 376 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References computeF(), computeJacobian(), constraintsPtr, dfdpMultiVec, ffMultiVec, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), globalData, gradientMultiVec, gradientVec, grpPtr, isF(), isJacobian(), isValidGradient, and NOX::Abstract::Group::Ok.
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::computeNewton | ( | Teuchos::ParameterList & | params | ) | [virtual] |
Compute Newton direction for extended continuation system.
Reimplemented from NOX::Abstract::Group.
Definition at line 438 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References applyJacobianInverseMultiVector(), computeF(), computeJacobian(), ffMultiVec, globalData, LOCA::Extended::MultiVector::init(), isF(), isJacobian(), isValidNewton, newtonMultiVec, NOX::Abstract::Group::Ok, and LOCA::Extended::MultiVector::scale().
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobian | ( | const NOX::Abstract::Vector & | input, | |
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Applies Jacobian for extended system.
Reimplemented from NOX::Abstract::Group.
Definition at line 485 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References applyJacobianMultiVector(), NOX::Abstract::Vector::createMultiVector(), and NOX::DeepCopy.
Referenced by getNormNewtonSolveResidual().
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobianTranspose | ( | const NOX::Abstract::Vector & | input, | |
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Jacobian transpose not defined for this system.
Reimplemented from NOX::Abstract::Group.
Definition at line 506 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References applyJacobianTransposeMultiVector(), NOX::Abstract::Vector::createMultiVector(), and NOX::DeepCopy.
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobianInverse | ( | Teuchos::ParameterList & | params, | |
const NOX::Abstract::Vector & | input, | |||
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Applies Jacobian inverse for extended system.
Reimplemented from NOX::Abstract::Group.
Definition at line 527 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References applyJacobianInverseMultiVector(), NOX::Abstract::Vector::createMultiVector(), and NOX::DeepCopy.
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobianMultiVector | ( | const NOX::Abstract::MultiVector & | input, | |
NOX::Abstract::MultiVector & | result | |||
) | const [virtual] |
Applies Jacobian for extended system.
Reimplemented from NOX::Abstract::Group.
Definition at line 549 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References borderedSolver, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), globalData, and isJacobian().
Referenced by applyJacobian().
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobianTransposeMultiVector | ( | const NOX::Abstract::MultiVector & | input, | |
NOX::Abstract::MultiVector & | result | |||
) | const [virtual] |
Jacobian transpose not defined for this system.
Reimplemented from NOX::Abstract::Group.
Definition at line 586 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References borderedSolver, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), globalData, and isJacobian().
Referenced by applyJacobianTranspose().
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobianInverseMultiVector | ( | Teuchos::ParameterList & | params, | |
const NOX::Abstract::MultiVector & | input, | |||
NOX::Abstract::MultiVector & | result | |||
) | const [virtual] |
Applies Jacobian inverse for extended system.
Reimplemented from NOX::Abstract::Group.
Definition at line 624 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References borderedSolver, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), globalData, and isJacobian().
Referenced by applyJacobianInverse(), and computeNewton().
bool LOCA::MultiContinuation::ConstrainedGroup::isF | ( | ) | const [virtual] |
Return true
if extended residual is valid.
Implements NOX::Abstract::Group.
Definition at line 663 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References isValidF.
Referenced by computeGradient(), and computeNewton().
bool LOCA::MultiContinuation::ConstrainedGroup::isJacobian | ( | ) | const [virtual] |
Return true
if the extended Jacobian is valid.
Reimplemented from NOX::Abstract::Group.
Definition at line 669 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References isValidJacobian.
Referenced by applyJacobianInverseMultiVector(), applyJacobianMultiVector(), applyJacobianTransposeInverseMultiVector(), applyJacobianTransposeMultiVector(), computeGradient(), and computeNewton().
bool LOCA::MultiContinuation::ConstrainedGroup::isGradient | ( | ) | const [virtual] |
Always returns false.
Reimplemented from NOX::Abstract::Group.
Definition at line 675 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References isValidGradient.
bool LOCA::MultiContinuation::ConstrainedGroup::isNewton | ( | ) | const [virtual] |
Return true
if the extended Newton direction is valid.
Reimplemented from NOX::Abstract::Group.
Definition at line 681 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References isValidNewton.
const NOX::Abstract::Vector & LOCA::MultiContinuation::ConstrainedGroup::getX | ( | ) | const [virtual] |
Return extended solution vector.
Implements NOX::Abstract::Group.
Definition at line 687 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References xVec.
Referenced by computeX().
const NOX::Abstract::Vector & LOCA::MultiContinuation::ConstrainedGroup::getF | ( | ) | const [virtual] |
Return extended residual.
Implements NOX::Abstract::Group.
Definition at line 693 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References fVec.
double LOCA::MultiContinuation::ConstrainedGroup::getNormF | ( | ) | const [virtual] |
Return 2-norm of extended residual.
Implements NOX::Abstract::Group.
Definition at line 699 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References fVec.
const NOX::Abstract::Vector & LOCA::MultiContinuation::ConstrainedGroup::getGradient | ( | ) | const [virtual] |
Gradient is never valid.
Implements NOX::Abstract::Group.
Definition at line 705 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References gradientVec.
const NOX::Abstract::Vector & LOCA::MultiContinuation::ConstrainedGroup::getNewton | ( | ) | const [virtual] |
Return extended Newton direction.
Implements NOX::Abstract::Group.
Definition at line 711 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References newtonVec.
double LOCA::MultiContinuation::ConstrainedGroup::getNormNewtonSolveResidual | ( | ) | const [virtual] |
Returns 2-norm of extended Newton solve residual.
Definition at line 717 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References applyJacobian(), fVec, globalData, newtonVec, LOCA::Extended::Vector::norm(), and LOCA::Extended::Vector::update().
Teuchos::RCP< const LOCA::MultiContinuation::AbstractGroup > LOCA::MultiContinuation::ConstrainedGroup::getUnderlyingGroup | ( | ) | const [virtual] |
Return underlying group.
Implements LOCA::Extended::MultiAbstractGroup.
Definition at line 732 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References grpPtr.
Teuchos::RCP< LOCA::MultiContinuation::AbstractGroup > LOCA::MultiContinuation::ConstrainedGroup::getUnderlyingGroup | ( | ) | [virtual] |
Return underlying group.
Implements LOCA::Extended::MultiAbstractGroup.
Definition at line 738 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References grpPtr.
void LOCA::MultiContinuation::ConstrainedGroup::copy | ( | const NOX::Abstract::Group & | source | ) | [virtual] |
Assignment operator.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 744 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References borderedSolver, constraintParamIDs, constraintParams, constraintsPtr, dfdpMultiVec, fMultiVec, globalData, gradientMultiVec, grpPtr, index_dfdp, index_f, isValidF, isValidGradient, isValidJacobian, isValidNewton, newtonMultiVec, numParams, parsedParams, setupViews(), skipDfDp, and xMultiVec.
Referenced by operator=().
void LOCA::MultiContinuation::ConstrainedGroup::setParamsMulti | ( | const vector< int > & | paramIDs, | |
const NOX::Abstract::MultiVector::DenseMatrix & | vals | |||
) | [virtual] |
Set parameters indexed by (integer) paramIDs.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 801 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, constraintsPtr, grpPtr, resetIsValid(), and xVec.
void LOCA::MultiContinuation::ConstrainedGroup::setParams | ( | const ParameterVector & | p | ) | [virtual] |
Set the parameter vector in the group to p (pVector = p).
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 817 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, constraintsPtr, grpPtr, LOCA::ParameterVector::length(), numParams, resetIsValid(), and xVec.
void LOCA::MultiContinuation::ConstrainedGroup::setParam | ( | int | paramID, | |
double | val | |||
) | [virtual] |
Set parameter indexed by (integer) paramID.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 830 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, constraintsPtr, grpPtr, resetIsValid(), and xVec.
Referenced by setParam().
void LOCA::MultiContinuation::ConstrainedGroup::setParam | ( | string | paramID, | |
double | val | |||
) | [virtual] |
Set parameter indexed by (string) paramID.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 843 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References LOCA::ParameterVector::getIndex(), grpPtr, and setParam().
const LOCA::ParameterVector & LOCA::MultiContinuation::ConstrainedGroup::getParams | ( | ) | const [virtual] |
Return a const reference to the ParameterVector owned by the group.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 851 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References grpPtr.
double LOCA::MultiContinuation::ConstrainedGroup::getParam | ( | int | paramID | ) | const [virtual] |
Return copy of parameter indexed by (integer) paramID.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 857 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References grpPtr.
double LOCA::MultiContinuation::ConstrainedGroup::getParam | ( | string | paramID | ) | const [virtual] |
Return copy of parameter indexed by (string) paramID.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 863 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References grpPtr.
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::computeDfDpMulti | ( | const vector< int > & | paramIDs, | |
NOX::Abstract::MultiVector & | dfdp, | |||
bool | isValidF | |||
) | [virtual] |
Compute for each parameter
indexed by paramIDs. The first column of dfdp holds F, which is valid if isValidF is true. Otherwise F must be computed.
Implements LOCA::MultiContinuation::AbstractGroup.
Definition at line 869 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintsPtr, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), globalData, grpPtr, and NOX::Abstract::Group::Ok.
void LOCA::MultiContinuation::ConstrainedGroup::preProcessContinuationStep | ( | LOCA::Abstract::Iterator::StepStatus | stepStatus | ) | [virtual] |
Perform any preprocessing before a continuation step starts.
The stepStatus
argument indicates whether the previous step was successful.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 904 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintsPtr, and grpPtr.
void LOCA::MultiContinuation::ConstrainedGroup::postProcessContinuationStep | ( | LOCA::Abstract::Iterator::StepStatus | stepStatus | ) | [virtual] |
Perform any postprocessing after a continuation step finishes.
The stepStatus
argument indicates whether the step was successful.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 912 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintsPtr, and grpPtr.
void LOCA::MultiContinuation::ConstrainedGroup::projectToDraw | ( | const NOX::Abstract::Vector & | x, | |
double * | px | |||
) | const [virtual] |
Projects solution to a few scalars for multiparameter continuation.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 920 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References LOCA::Extended::Vector::getScalar(), LOCA::MultiContinuation::ExtendedVector::getXVec(), grpPtr, and numParams.
int LOCA::MultiContinuation::ConstrainedGroup::projectToDrawDimension | ( | ) | const [virtual] |
Returns the dimension of the project to draw array.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 934 of file LOCA_MultiContinuation_ConstrainedGroup.C.
double LOCA::MultiContinuation::ConstrainedGroup::computeScaledDotProduct | ( | const NOX::Abstract::Vector & | a, | |
const NOX::Abstract::Vector & | b | |||
) | const [virtual] |
Compute a scaled dot product.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 940 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References LOCA::Extended::Vector::getScalar(), LOCA::MultiContinuation::ExtendedVector::getXVec(), grpPtr, and numParams.
void LOCA::MultiContinuation::ConstrainedGroup::printSolution | ( | const double | conParam | ) | const [virtual] |
Function to print out solution and parameter after successful step.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 958 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References xVec.
void LOCA::MultiContinuation::ConstrainedGroup::printSolution | ( | const NOX::Abstract::Vector & | x, | |
const double | conParam | |||
) | const [virtual] |
Function to print out a vector and parameter after successful step.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 965 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintParamIDs, LOCA::ParameterVector::getLabel(), LOCA::Extended::Vector::getScalar(), LOCA::MultiContinuation::ExtendedVector::getXVec(), globalData, grpPtr, numParams, and NOX::Utils::StepperDetails.
void LOCA::MultiContinuation::ConstrainedGroup::scaleVector | ( | NOX::Abstract::Vector & | x | ) | const [virtual] |
Scales a vector using scaling vector.
Reimplemented from LOCA::MultiContinuation::AbstractGroup.
Definition at line 992 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References LOCA::MultiContinuation::ExtendedVector::getXVec(), and grpPtr.
int LOCA::MultiContinuation::ConstrainedGroup::getBorderedWidth | ( | ) | const [virtual] |
Return the total width of the bordered rows/columns.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1002 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, isBordered, and numParams.
Teuchos::RCP< const NOX::Abstract::Group > LOCA::MultiContinuation::ConstrainedGroup::getUnborderedGroup | ( | ) | const [virtual] |
Get bottom-level unbordered group.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1012 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, grpPtr, and isBordered.
bool LOCA::MultiContinuation::ConstrainedGroup::isCombinedAZero | ( | ) | const [virtual] |
Indicates whether combined A block is zero.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1021 of file LOCA_MultiContinuation_ConstrainedGroup.C.
bool LOCA::MultiContinuation::ConstrainedGroup::isCombinedBZero | ( | ) | const [virtual] |
Indicates whether combined B block is zero.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1027 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, constraintsPtr, and isBordered.
bool LOCA::MultiContinuation::ConstrainedGroup::isCombinedCZero | ( | ) | const [virtual] |
Indicates whether combined C block is zero.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1036 of file LOCA_MultiContinuation_ConstrainedGroup.C.
void LOCA::MultiContinuation::ConstrainedGroup::extractSolutionComponent | ( | const NOX::Abstract::MultiVector & | v, | |
NOX::Abstract::MultiVector & | v_x | |||
) | const [virtual] |
Given the vector v
, extract the underlying solution component corresponding to the unbordered group.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1174 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), and isBordered.
void LOCA::MultiContinuation::ConstrainedGroup::extractParameterComponent | ( | bool | use_transpose, | |
const NOX::Abstract::MultiVector & | v, | |||
NOX::Abstract::MultiVector::DenseMatrix & | v_p | |||
) | const [virtual] |
Given the vector v
, extract the parameter components of all of the nested subvectors in v
down to the solution component for the unbordered group.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1197 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), isBordered, and numParams.
void LOCA::MultiContinuation::ConstrainedGroup::loadNestedComponents | ( | const NOX::Abstract::MultiVector & | v_x, | |
const NOX::Abstract::MultiVector::DenseMatrix & | v_p, | |||
NOX::Abstract::MultiVector & | v | |||
) | const [virtual] |
Given the solution component v_x
and combined parameter components v_p
, distribute these components through the nested sub-vectors in v
.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1255 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), isBordered, and numParams.
void LOCA::MultiContinuation::ConstrainedGroup::fillA | ( | NOX::Abstract::MultiVector & | A | ) | const [virtual] |
Fill the combined A block as described above.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1293 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, dfdpMultiVec, isBordered, numParams, and NOX::Abstract::MultiVector::subView().
void LOCA::MultiContinuation::ConstrainedGroup::fillB | ( | NOX::Abstract::MultiVector & | B | ) | const [virtual] |
Fill the combined B block as described above.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1331 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, constraintsPtr, globalData, NOX::Abstract::MultiVector::init(), isBordered, numParams, and NOX::Abstract::MultiVector::subView().
void LOCA::MultiContinuation::ConstrainedGroup::fillC | ( | NOX::Abstract::MultiVector::DenseMatrix & | C | ) | const [virtual] |
Fill the combined C block as described above.
Implements LOCA::BorderedSystem::AbstractGroup.
Definition at line 1386 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References bordered_grp, constraintsPtr, dfdpMultiVec, globalData, isBordered, and numParams.
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobianTransposeInverse | ( | Teuchos::ParameterList & | params, | |
const NOX::Abstract::Vector & | input, | |||
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Solve Jacobian-tranpose system.
Implements LOCA::Abstract::TransposeSolveGroup.
Definition at line 1448 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References applyJacobianTransposeInverseMultiVector(), NOX::Abstract::Vector::createMultiVector(), and NOX::DeepCopy.
NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::ConstrainedGroup::applyJacobianTransposeInverseMultiVector | ( | Teuchos::ParameterList & | params, | |
const NOX::Abstract::MultiVector & | input, | |||
NOX::Abstract::MultiVector & | result | |||
) | const [virtual] |
Solve Jacobian-tranpose system with multiple right-hand sides.
Implements LOCA::Abstract::TransposeSolveGroup.
Definition at line 1470 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References borderedSolver, LOCA::Extended::MultiVector::getScalars(), LOCA::MultiContinuation::ExtendedMultiVector::getXMultiVec(), globalData, isJacobian(), and NOX::Abstract::Group::Ok.
Referenced by applyJacobianTransposeInverse().
Teuchos::RCP< LOCA::MultiContinuation::AbstractGroup > LOCA::MultiContinuation::ConstrainedGroup::getGroup | ( | ) | [virtual] |
Get group.
Definition at line 1520 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References grpPtr.
Teuchos::RCP< LOCA::MultiContinuation::ConstraintInterface > LOCA::MultiContinuation::ConstrainedGroup::getConstraints | ( | ) | [virtual] |
Get constraints.
Definition at line 1526 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References constraintsPtr.
void LOCA::MultiContinuation::ConstrainedGroup::resetIsValid | ( | ) | [protected, virtual] |
Resets all isValid flags to false.
Definition at line 1532 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References isValidF, isValidGradient, isValidJacobian, and isValidNewton.
Referenced by computeX(), setConstraintParameter(), setParam(), setParams(), setParamsMulti(), and setX().
void LOCA::MultiContinuation::ConstrainedGroup::setupViews | ( | ) | [protected, virtual] |
Sets up multivector views.
Definition at line 1540 of file LOCA_MultiContinuation_ConstrainedGroup.C.
References dfdpMultiVec, ffMultiVec, fMultiVec, fVec, LOCA::Extended::MultiVector::getVector(), gradientMultiVec, gradientVec, index_dfdp, index_f, newtonMultiVec, newtonVec, numParams, LOCA::MultiContinuation::ExtendedMultiVector::subView(), xMultiVec, and xVec.
Referenced by ConstrainedGroup(), and copy().
ConstrainedGroup& LOCA::MultiContinuation::ConstrainedGroup::operator= | ( | const ConstrainedGroup & | source | ) | [private] |
Prevent generation and use of operator=().
Teuchos::RCP<LOCA::GlobalData> LOCA::MultiContinuation::ConstrainedGroup::globalData [protected] |
Pointer LOCA global data object.
Definition at line 459 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by applyJacobianInverseMultiVector(), applyJacobianMultiVector(), applyJacobianTransposeInverseMultiVector(), applyJacobianTransposeMultiVector(), computeDfDpMulti(), computeF(), computeGradient(), computeJacobian(), computeNewton(), ConstrainedGroup(), copy(), fillB(), fillC(), getNormNewtonSolveResidual(), and printSolution().
Teuchos::RCP<LOCA::Parameter::SublistParser> LOCA::MultiContinuation::ConstrainedGroup::parsedParams [protected] |
Parsed top-level parameters.
Definition at line 462 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by ConstrainedGroup(), and copy().
Teuchos::RCP<Teuchos::ParameterList> LOCA::MultiContinuation::ConstrainedGroup::constraintParams [protected] |
Constraint parameter list.
Definition at line 465 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by ConstrainedGroup(), and copy().
Teuchos::RCP<LOCA::MultiContinuation::AbstractGroup> LOCA::MultiContinuation::ConstrainedGroup::grpPtr [protected] |
Pointer to base group that defines .
Definition at line 468 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeDfDpMulti(), computeF(), computeGradient(), computeJacobian(), computeScaledDotProduct(), computeX(), ConstrainedGroup(), copy(), getConstraintParameter(), getGroup(), getParam(), getParams(), getUnborderedGroup(), getUnderlyingGroup(), postProcessContinuationStep(), preProcessContinuationStep(), printSolution(), projectToDraw(), projectToDrawDimension(), scaleVector(), setConstraintParameter(), setParam(), setParams(), setParamsMulti(), and setX().
Teuchos::RCP<LOCA::BorderedSystem::AbstractGroup> LOCA::MultiContinuation::ConstrainedGroup::bordered_grp [protected] |
Pointer to base group as a bordered group.
Definition at line 471 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by ConstrainedGroup(), extractParameterComponent(), extractSolutionComponent(), fillA(), fillB(), fillC(), getBorderedWidth(), getUnborderedGroup(), isCombinedBZero(), and loadNestedComponents().
Teuchos::RCP<LOCA::MultiContinuation::ConstraintInterface> LOCA::MultiContinuation::ConstrainedGroup::constraintsPtr [protected] |
Pointer to constraint object.
Definition at line 474 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeDfDpMulti(), computeF(), computeGradient(), computeJacobian(), computeX(), ConstrainedGroup(), copy(), fillB(), fillC(), getConstraints(), isCombinedBZero(), postProcessContinuationStep(), preProcessContinuationStep(), setConstraintParameter(), setParam(), setParams(), setParamsMulti(), and setX().
int LOCA::MultiContinuation::ConstrainedGroup::numParams [protected] |
Number of parameters.
Definition at line 477 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeScaledDotProduct(), ConstrainedGroup(), copy(), extractParameterComponent(), fillA(), fillB(), fillC(), getBorderedWidth(), loadNestedComponents(), printSolution(), projectToDraw(), projectToDrawDimension(), setParams(), and setupViews().
LOCA::MultiContinuation::ExtendedMultiVector LOCA::MultiContinuation::ConstrainedGroup::xMultiVec [protected] |
Stores the extended solution vector.
Definition at line 480 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by copy(), and setupViews().
LOCA::MultiContinuation::ExtendedMultiVector LOCA::MultiContinuation::ConstrainedGroup::fMultiVec [protected] |
Stores the extended residual vector and df/dp.
Definition at line 483 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeJacobian(), copy(), and setupViews().
LOCA::MultiContinuation::ExtendedMultiVector LOCA::MultiContinuation::ConstrainedGroup::newtonMultiVec [protected] |
Stores the extended Newton vector.
Definition at line 486 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeNewton(), copy(), and setupViews().
LOCA::MultiContinuation::ExtendedMultiVector LOCA::MultiContinuation::ConstrainedGroup::gradientMultiVec [protected] |
Stores the extended gradient vector.
Definition at line 489 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeGradient(), copy(), and setupViews().
Teuchos::RCP<LOCA::MultiContinuation::ExtendedVector> LOCA::MultiContinuation::ConstrainedGroup::xVec [protected] |
Stores view of first column of xMultiVec.
Definition at line 492 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeX(), ConstrainedGroup(), getX(), printSolution(), setConstraintParameter(), setParam(), setParams(), setParamsMulti(), setupViews(), and setX().
Teuchos::RCP<LOCA::MultiContinuation::ExtendedVector> LOCA::MultiContinuation::ConstrainedGroup::fVec [protected] |
Stores view of first column of fMultiVec.
Definition at line 495 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeF(), getF(), getNormF(), getNormNewtonSolveResidual(), and setupViews().
Teuchos::RCP<LOCA::MultiContinuation::ExtendedMultiVector> LOCA::MultiContinuation::ConstrainedGroup::ffMultiVec [protected] |
Stores view of first column of fMultiVec as a multivec.
Definition at line 498 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeGradient(), computeNewton(), and setupViews().
Teuchos::RCP<LOCA::MultiContinuation::ExtendedMultiVector> LOCA::MultiContinuation::ConstrainedGroup::dfdpMultiVec [protected] |
Stores view of df/dp columns of fMultiVec.
Definition at line 501 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeGradient(), computeJacobian(), ConstrainedGroup(), copy(), fillA(), fillC(), and setupViews().
Teuchos::RCP<LOCA::MultiContinuation::ExtendedVector> LOCA::MultiContinuation::ConstrainedGroup::newtonVec [protected] |
Stores view of first column of newtonMultiVec.
Definition at line 504 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by getNewton(), getNormNewtonSolveResidual(), and setupViews().
Teuchos::RCP<LOCA::MultiContinuation::ExtendedVector> LOCA::MultiContinuation::ConstrainedGroup::gradientVec [protected] |
Stores view of first column of gradientMultiVec.
Definition at line 507 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeGradient(), getGradient(), and setupViews().
Teuchos::RCP<LOCA::BorderedSolver::AbstractStrategy> LOCA::MultiContinuation::ConstrainedGroup::borderedSolver [protected] |
Stores bordered solver strategy.
Definition at line 513 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by applyJacobianInverseMultiVector(), applyJacobianMultiVector(), applyJacobianTransposeInverseMultiVector(), applyJacobianTransposeMultiVector(), computeJacobian(), ConstrainedGroup(), and copy().
vector<int> LOCA::MultiContinuation::ConstrainedGroup::index_f [protected] |
Stores indices for getting f part of fMultiVec.
Definition at line 516 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by copy(), and setupViews().
vector<int> LOCA::MultiContinuation::ConstrainedGroup::index_dfdp [protected] |
Stores indices for getting df/dp part of fMultiVec.
Definition at line 519 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by copy(), and setupViews().
vector<int> LOCA::MultiContinuation::ConstrainedGroup::constraintParamIDs [protected] |
integer id of constraint parameters
Definition at line 522 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeJacobian(), computeX(), ConstrainedGroup(), copy(), getConstraintParameter(), getConstraintParamIDs(), printSolution(), setConstraintParameter(), setParam(), setParams(), setParamsMulti(), and setX().
bool LOCA::MultiContinuation::ConstrainedGroup::isValidF [protected] |
Is residual vector valid.
Definition at line 525 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeF(), computeJacobian(), ConstrainedGroup(), copy(), isF(), and resetIsValid().
bool LOCA::MultiContinuation::ConstrainedGroup::isValidJacobian [protected] |
Is Jacobian matrix valid.
Definition at line 528 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeJacobian(), ConstrainedGroup(), copy(), isJacobian(), and resetIsValid().
bool LOCA::MultiContinuation::ConstrainedGroup::isValidNewton [protected] |
Is Newton vector valid.
Definition at line 531 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeNewton(), ConstrainedGroup(), copy(), isNewton(), and resetIsValid().
bool LOCA::MultiContinuation::ConstrainedGroup::isValidGradient [protected] |
Is Gradient vector valid.
Definition at line 534 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeGradient(), ConstrainedGroup(), copy(), isGradient(), and resetIsValid().
bool LOCA::MultiContinuation::ConstrainedGroup::isBordered [protected] |
Flag that indicates whether underlying group is a bordered group.
Definition at line 537 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by ConstrainedGroup(), extractParameterComponent(), extractSolutionComponent(), fillA(), fillB(), fillC(), getBorderedWidth(), getUnborderedGroup(), isCombinedBZero(), and loadNestedComponents().
bool LOCA::MultiContinuation::ConstrainedGroup::skipDfDp [protected] |
Flag indicating whether to skip df/dp computations.
Definition at line 540 of file LOCA_MultiContinuation_ConstrainedGroup.H.
Referenced by computeJacobian(), ConstrainedGroup(), and copy().