#include <NOX_Epetra_Group.H>
Public Member Functions | |
Group (Teuchos::ParameterList &printingParams, const Teuchos::RCP< NOX::Epetra::Interface::Required > &i, const NOX::Epetra::Vector &initialGuess) | |
Constructor with NO linear system (VERY LIMITED). | |
Group (Teuchos::ParameterList &printingParams, const Teuchos::RCP< NOX::Epetra::Interface::Required > &i, const NOX::Epetra::Vector &initialGuess, const Teuchos::RCP< NOX::Epetra::LinearSystem > &linSys) | |
Standard Constructor. | |
Group (const NOX::Epetra::Group &source, NOX::CopyType type=NOX::DeepCopy) | |
Copy constructor. If type is DeepCopy, takes ownership of valid shared linear system. | |
virtual | ~Group () |
Destructor. | |
virtual NOX::Abstract::Group & | operator= (const NOX::Abstract::Group &source) |
Copies the source group into this group. | |
virtual NOX::Abstract::Group & | operator= (const NOX::Epetra::Group &source) |
See operator=(const NOX::Abstract::Group&);. | |
virtual Teuchos::RCP < NOX::Abstract::Group > | clone (CopyType type=DeepCopy) const |
Create a new Group of the same derived type as this one by cloning this one, and return a ref count pointer to the new group. | |
virtual Teuchos::RCP < NOX::Epetra::Interface::Required > | getRequiredInterface () |
Return the userInterface. | |
virtual Teuchos::RCP< const NOX::Epetra::LinearSystem > | getLinearSystem () const |
Return the Linear System. | |
virtual Teuchos::RCP < NOX::Epetra::LinearSystem > | getLinearSystem () |
Return the Linear System. | |
virtual NOX::Abstract::Group::ReturnType | computeJacobianConditionNumber (int maxIters, double tolerance, int krylovSubspaceSize=100, bool printOutput=false) |
virtual double | getJacobianConditionNumber () const |
Returns the condition number of the Jacobian matrix. | |
"Compute" functions. | |
virtual void | setX (const NOX::Epetra::Vector &y) |
virtual void | setX (const NOX::Abstract::Vector &y) |
Set the solution vector x to y. | |
virtual void | computeX (const Group &grp, const NOX::Epetra::Vector &d, double step) |
virtual void | computeX (const NOX::Abstract::Group &grp, const NOX::Abstract::Vector &d, double step) |
Compute x = grp.x + step * d. | |
virtual NOX::Abstract::Group::ReturnType | computeF () |
Compute and store F(x). | |
virtual NOX::Abstract::Group::ReturnType | computeJacobian () |
Compute and store Jacobian. | |
virtual NOX::Abstract::Group::ReturnType | computeGradient () |
Compute and store gradient. | |
virtual NOX::Abstract::Group::ReturnType | computeNewton (Teuchos::ParameterList ¶ms) |
Compute the Newton direction, using parameters for the linear solve. | |
Jacobian operations. | |
Operations using the Jacobian matrix. These may not be defined in matrix-free scenarios. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobian (const NOX::Epetra::Vector &input, NOX::Epetra::Vector &result) const |
virtual NOX::Abstract::Group::ReturnType | applyJacobian (const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Applies Jacobian to the given input vector and puts the answer in the result. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianTranspose (const NOX::Epetra::Vector &input, NOX::Epetra::Vector &result) const |
virtual NOX::Abstract::Group::ReturnType | applyJacobianTranspose (const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Applies Jacobian-Transpose to the given input vector and puts the answer in the result. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianInverse (Teuchos::ParameterList ¶ms, const NOX::Epetra::Vector &input, NOX::Epetra::Vector &result) const |
Applies the inverse of the Jacobian matrix to the given input vector and puts the answer in result. | |
virtual NOX::Abstract::Group::ReturnType | applyJacobianInverse (Teuchos::ParameterList ¶ms, const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Applies the inverse of the Jacobian matrix to the given input vector and puts the answer in result. | |
virtual NOX::Abstract::Group::ReturnType | applyRightPreconditioning (bool useTranspose, Teuchos::ParameterList ¶ms, const NOX::Epetra::Vector &input, NOX::Epetra::Vector &result) const |
virtual NOX::Abstract::Group::ReturnType | applyRightPreconditioning (bool useTranspose, Teuchos::ParameterList ¶ms, const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
Apply right preconditiong to the given input vector. | |
"Is" functions | |
Checks to see if various objects have been computed. Returns true if the corresponding "compute" function has been called since the last update to the solution vector (via instantiation or computeX). | |
virtual bool | isF () const |
Return true if F is valid. | |
virtual bool | isJacobian () const |
Return true if the Jacobian is valid. | |
virtual bool | isGradient () const |
Return true if the gradient is valid. | |
virtual bool | isNewton () const |
Return true if the Newton direction is valid. | |
virtual bool | isNormNewtonSolveResidual () const |
Returns true if the value of the Norm of the linear model for a full Newton step ||Js + f|| is valid with respect to the current solution vector. | |
virtual bool | isPreconditioner () const |
Returns true if an explicitly constructed preconditioner exists (i.e. one that is computed and saved for further use in multiple calls to applyRightPreconditioner). | |
virtual bool | isConditionNumber () const |
Returns true if the condition number has been computed. | |
"Get" functions | |
Note that these function do not check whether or not the vectors are valid. Must use the "Is" functions for that purpose. | |
virtual const NOX::Abstract::Vector & | getX () const |
Return solution vector. | |
virtual const NOX::Abstract::Vector & | getF () const |
Return F(x). | |
virtual double | getNormF () const |
Return 2-norm of F(x). | |
virtual const NOX::Abstract::Vector & | getGradient () const |
Return gradient. | |
virtual const NOX::Abstract::Vector & | getNewton () const |
Return Newton direction. | |
virtual NOX::Abstract::Group::ReturnType | getNormLastLinearSolveResidual (double &residual) const |
Returns the 2-norm of the residual of the linear model used in the Newton solve computation, ||Js+f||. This does not account for line search adjustments to the step length! | |
Protected Member Functions | |
virtual void | resetIsValid () |
resets the isValid flags to false | |
virtual bool | computeNormNewtonSolveResidual () |
Computes the 2-norm of the residual of the linear model used in the Newton solve computation, ||Js+f||. | |
Protected Attributes | |
const NOX::Utils | utils |
Printing Utilities object. | |
double | normNewtonSolveResidual |
2-Norm of the Newton solve residual: ||Js+f|| | |
double | conditionNumber |
condition number of Jacobian | |
Teuchos::RCP < AztecOOConditionNumber > | azConditionNumberPtr |
Pointer to the condition number object. | |
Teuchos::RCP < NOX::Epetra::Interface::Required > | userInterfacePtr |
Reference to the user supplied interface functions. | |
Vectors | |
Teuchos::RCP< NOX::Epetra::Vector > | xVectorPtr |
Solution vector pointer. | |
NOX::Epetra::Vector & | xVector |
Solution vector. | |
Teuchos::RCP< NOX::Epetra::Vector > | RHSVectorPtr |
Right-hand-side vector (function evaluation). | |
NOX::Epetra::Vector & | RHSVector |
Right-hand-side vector pointer (function evaluation). | |
Teuchos::RCP< NOX::Epetra::Vector > | gradVectorPtr |
Gradient vector pointer(steepest descent vector). | |
NOX::Epetra::Vector & | gradVector |
Gradient vector (steepest descent vector). | |
Teuchos::RCP< NOX::Epetra::Vector > | NewtonVectorPtr |
Newton direction vector pointer. | |
NOX::Epetra::Vector & | NewtonVector |
Newton direction vector. | |
Teuchos::RCP< Epetra_Vector > | tmpVectorPtr |
An extra temporary vector, only allocated if needed. | |
IsValid flags | |
True if the current solution is up-to-date with respect to the currect xVector. | |
bool | isValidRHS |
bool | isValidJacobian |
bool | isValidGrad |
bool | isValidNewton |
bool | isValidNormNewtonSolveResidual |
bool | isValidPreconditioner |
bool | isValidSolverJacOp |
bool | isValidConditionNumber |
Shared Operators | |
Teuchos::RCP < NOX::SharedObject < NOX::Epetra::LinearSystem, NOX::Epetra::Group > > | sharedLinearSystemPtr |
Pointer to shared Jacobian matrix. | |
NOX::SharedObject < NOX::Epetra::LinearSystem, NOX::Epetra::Group > & | sharedLinearSystem |
Reference to shared Jacobian matrix. |
This group is set up to use the linear algebra services provided through the Trilinos/Epetra package with AztecOO for the linear solver.
Definition at line 81 of file NOX_Epetra_Group.H.
Group::Group | ( | Teuchos::ParameterList & | printingParams, | |
const Teuchos::RCP< NOX::Epetra::Interface::Required > & | i, | |||
const NOX::Epetra::Vector & | initialGuess | |||
) |
Constructor with NO linear system (VERY LIMITED).
WARNING: If this constructor is used, then methods that require a Jacobian or preconditioning will not be available. You will be limited to simple algorithms like nonlinear-CG with no preconditioning.
Definition at line 55 of file NOX_Epetra_Group.C.
References NOX::DeepCopy, resetIsValid(), and NOX::ShapeCopy.
Group::Group | ( | Teuchos::ParameterList & | printingParams, | |
const Teuchos::RCP< NOX::Epetra::Interface::Required > & | i, | |||
const NOX::Epetra::Vector & | initialGuess, | |||
const Teuchos::RCP< NOX::Epetra::LinearSystem > & | linSys | |||
) |
Group::Group | ( | const NOX::Epetra::Group & | source, | |
NOX::CopyType | type = NOX::DeepCopy | |||
) |
Copy constructor. If type is DeepCopy, takes ownership of valid shared linear system.
Definition at line 99 of file NOX_Epetra_Group.C.
References conditionNumber, NOX::DeepCopy, NOX::SharedObject< Object, Owner >::getObject(), normNewtonSolveResidual, resetIsValid(), NOX::ShapeCopy, and sharedLinearSystem.
Group::~Group | ( | ) | [virtual] |
Destructor.
Reimplemented from NOX::Abstract::Group.
Reimplemented in LOCA::Epetra::Group.
Definition at line 146 of file NOX_Epetra_Group.C.
Abstract::Group & Group::operator= | ( | const NOX::Abstract::Group & | source | ) | [virtual] |
Copies the source group into this group.
Implements NOX::Abstract::Group.
Reimplemented in LOCA::Epetra::Group.
Definition at line 170 of file NOX_Epetra_Group.C.
Abstract::Group & Group::operator= | ( | const NOX::Epetra::Group & | source | ) | [virtual] |
See operator=(const NOX::Abstract::Group&);.
Reimplemented in LOCA::Epetra::Group.
Definition at line 175 of file NOX_Epetra_Group.C.
References conditionNumber, NOX::SharedObject< Object, Owner >::getObject(), gradVector, NewtonVector, normNewtonSolveResidual, RHSVector, sharedLinearSystem, and xVector.
void Group::setX | ( | const NOX::Abstract::Vector & | y | ) | [virtual] |
Set the solution vector x to y.
Throw an error if the copy fails.
Implements NOX::Abstract::Group.
Definition at line 218 of file NOX_Epetra_Group.C.
void Group::computeX | ( | const NOX::Abstract::Group & | grp, | |
const NOX::Abstract::Vector & | d, | |||
double | step | |||
) | [virtual] |
Compute x = grp.x + step * d.
Let denote this group's solution vector. Let
denote the result of grp.getX(). Then set
Throw an error if the copy fails.
Implements NOX::Abstract::Group.
Definition at line 234 of file NOX_Epetra_Group.C.
Abstract::Group::ReturnType Group::computeF | ( | ) | [virtual] |
Compute and store F(x).
Implements NOX::Abstract::Group.
Reimplemented in LOCA::Epetra::Group.
Definition at line 257 of file NOX_Epetra_Group.C.
References NOX::Epetra::Vector::getEpetraVector(), isF(), NOX::Abstract::Group::Ok, NOX::Epetra::Interface::Required::Residual, RHSVector, userInterfacePtr, and xVector.
Abstract::Group::ReturnType Group::computeJacobian | ( | ) | [virtual] |
Compute and store Jacobian.
Recall that
The Jacobian is denoted by and defined by
Reimplemented from NOX::Abstract::Group.
Reimplemented in LOCA::Epetra::Group.
Definition at line 277 of file NOX_Epetra_Group.C.
References NOX::SharedObject< Object, Owner >::getObject(), isJacobian(), NOX::Abstract::Group::Ok, sharedLinearSystem, and xVector.
Abstract::Group::ReturnType Group::computeGradient | ( | ) | [virtual] |
Compute and store gradient.
We can pose the nonlinear equation problem as an optimization problem as follows:
In that case, the gradient (of ) is defined as
Reimplemented from NOX::Abstract::Group.
Definition at line 301 of file NOX_Epetra_Group.C.
References NOX::SharedObject< Object, Owner >::getObject(), gradVector, isF(), isGradient(), isJacobian(), NOX::Abstract::Group::Ok, RHSVector, and sharedLinearSystem.
Abstract::Group::ReturnType Group::computeNewton | ( | Teuchos::ParameterList & | params | ) | [virtual] |
Compute the Newton direction, using parameters for the linear solve.
The Newton direction is the solution, s, of
The parameters are from the "Linear %Solver" sublist of the "Direction" sublist that is passed to solver during construction.
The "Tolerance" parameter may be added/modified in the sublist of "Linear Solver" parameters that is passed into this function. The solution should be such that
params
Reimplemented from NOX::Abstract::Group.
Definition at line 327 of file NOX_Epetra_Group.C.
References applyJacobianInverse(), computeNormNewtonSolveResidual(), NOX::Epetra::Vector::init(), isF(), isJacobian(), isNewton(), NewtonVector, NOX::Abstract::Group::Ok, RHSVector, and NOX::Epetra::Vector::scale().
Abstract::Group::ReturnType Group::applyJacobian | ( | const NOX::Abstract::Vector & | input, | |
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Applies Jacobian to the given input vector and puts the answer in the result.
Computes
where is the Jacobian,
is the input vector, and
is the result vector.
Reimplemented from NOX::Abstract::Group.
Definition at line 364 of file NOX_Epetra_Group.C.
Abstract::Group::ReturnType Group::applyJacobianTranspose | ( | const NOX::Abstract::Vector & | input, | |
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Applies Jacobian-Transpose to the given input vector and puts the answer in the result.
Computes
where is the Jacobian,
is the input vector, and
is the result vector.
Reimplemented from NOX::Abstract::Group.
Definition at line 427 of file NOX_Epetra_Group.C.
Abstract::Group::ReturnType Group::applyJacobianInverse | ( | Teuchos::ParameterList & | params, | |
const NOX::Epetra::Vector & | input, | |||
NOX::Epetra::Vector & | result | |||
) | const [virtual] |
Applies the inverse of the Jacobian matrix to the given input vector and puts the answer in result.
Computes
where is the Jacobian,
is the input vector, and
is the result vector.
The "Tolerance" parameter specifies that the solution should be such that
params
The parameter "Reuse Preconditioner" is a boolean that tells the group to turn off control of preconditioner recalculation. This is a dangerous flag but can really speed the computations if the user knows what they are doing. Toggling this flag is left to the user (ideally it should be done through a status test). Defaults to false.
Definition at line 392 of file NOX_Epetra_Group.C.
References NOX::Abstract::Group::BadDependency, NOX::SharedObject< Object, Owner >::getObject(), isJacobian(), isPreconditioner(), NOX::Abstract::Group::NotConverged, NOX::Abstract::Group::Ok, NOX::Epetra::LinearSystem::PRPT_REBUILD, NOX::Epetra::LinearSystem::PRPT_RECOMPUTE, NOX::Epetra::LinearSystem::PRPT_REUSE, sharedLinearSystem, and xVector.
Referenced by applyJacobianInverse(), and computeNewton().
Abstract::Group::ReturnType Group::applyJacobianInverse | ( | Teuchos::ParameterList & | params, | |
const NOX::Abstract::Vector & | input, | |||
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Applies the inverse of the Jacobian matrix to the given input vector and puts the answer in result.
Computes
where is the Jacobian,
is the input vector, and
is the result vector.
The "Tolerance" parameter specifies that the solution should be such that
params
Reimplemented from NOX::Abstract::Group.
Definition at line 385 of file NOX_Epetra_Group.C.
References applyJacobianInverse().
Abstract::Group::ReturnType Group::applyRightPreconditioning | ( | bool | useTranspose, | |
Teuchos::ParameterList & | params, | |||
const NOX::Abstract::Vector & | input, | |||
NOX::Abstract::Vector & | result | |||
) | const [virtual] |
Apply right preconditiong to the given input vector.
Let be a right preconditioner for the Jacobian
; in other words,
is a matrix such that
Compute
where is the input vector and
is the result vector.
If useTranspose is true, then the transpose of the preconditioner is applied:
The transpose preconditioner is currently only required for Tensor methods.
The "Tolerance" parameter specifies that the solution should be such that
params
Reimplemented from NOX::Abstract::Group.
Definition at line 445 of file NOX_Epetra_Group.C.
bool Group::isF | ( | ) | const [virtual] |
Return true if F is valid.
Implements NOX::Abstract::Group.
Definition at line 482 of file NOX_Epetra_Group.C.
Referenced by computeF(), LOCA::Epetra::Group::computeF(), computeGradient(), computeNewton(), getF(), and getNormF().
bool Group::isJacobian | ( | ) | const [virtual] |
Return true if the Jacobian is valid.
Reimplemented from NOX::Abstract::Group.
Definition at line 487 of file NOX_Epetra_Group.C.
References NOX::SharedObject< Object, Owner >::isOwner(), and sharedLinearSystem.
Referenced by applyJacobianInverse(), computeGradient(), computeJacobian(), LOCA::Epetra::Group::computeJacobian(), and computeNewton().
bool Group::isGradient | ( | ) | const [virtual] |
Return true if the gradient is valid.
Reimplemented from NOX::Abstract::Group.
Definition at line 492 of file NOX_Epetra_Group.C.
Referenced by computeGradient(), and getGradient().
bool Group::isNewton | ( | ) | const [virtual] |
Return true if the Newton direction is valid.
Reimplemented from NOX::Abstract::Group.
Definition at line 497 of file NOX_Epetra_Group.C.
Referenced by computeNewton(), and getNewton().
bool Group::isNormNewtonSolveResidual | ( | ) | const [virtual] |
Returns true if the value of the Norm of the linear model for a full Newton step ||Js + f|| is valid with respect to the current solution vector.
Definition at line 502 of file NOX_Epetra_Group.C.
bool Group::isPreconditioner | ( | ) | const [virtual] |
Returns true if an explicitly constructed preconditioner exists (i.e. one that is computed and saved for further use in multiple calls to applyRightPreconditioner).
Definition at line 507 of file NOX_Epetra_Group.C.
References NOX::SharedObject< Object, Owner >::getObject(), NOX::SharedObject< Object, Owner >::isOwner(), and sharedLinearSystem.
Referenced by applyJacobianInverse().
bool Group::isConditionNumber | ( | ) | const [virtual] |
Returns true if the condition number has been computed.
Definition at line 513 of file NOX_Epetra_Group.C.
Referenced by getJacobianConditionNumber().
const Abstract::Vector & Group::getX | ( | ) | const [virtual] |
Return solution vector.
Implements NOX::Abstract::Group.
Definition at line 518 of file NOX_Epetra_Group.C.
References xVector.
const Abstract::Vector & Group::getF | ( | ) | const [virtual] |
double Group::getNormF | ( | ) | const [virtual] |
Return 2-norm of F(x).
In other words,
Implements NOX::Abstract::Group.
Definition at line 533 of file NOX_Epetra_Group.C.
References isF(), and RHSVectorPtr.
const Abstract::Vector & Group::getGradient | ( | ) | const [virtual] |
Return gradient.
Implements NOX::Abstract::Group.
Definition at line 543 of file NOX_Epetra_Group.C.
References gradVector, and isGradient().
const Abstract::Vector & Group::getNewton | ( | ) | const [virtual] |
Return Newton direction.
Implements NOX::Abstract::Group.
Definition at line 553 of file NOX_Epetra_Group.C.
References isNewton(), and NewtonVector.
Abstract::Group::ReturnType NOX::Epetra::Group::getNormLastLinearSolveResidual | ( | double & | residual | ) | const [virtual] |
Returns the 2-norm of the residual of the linear model used in the Newton solve computation, ||Js+f||. This does not account for line search adjustments to the step length!
Reimplemented from NOX::Abstract::Group.
Definition at line 563 of file NOX_Epetra_Group.C.
References NOX::Abstract::Group::BadDependency, NOX::Utils::isPrintType(), normNewtonSolveResidual, NOX::Abstract::Group::Ok, utils, and NOX::Utils::Warning.
Teuchos::RCP< NOX::Abstract::Group > Group::clone | ( | CopyType | type = DeepCopy |
) | const [virtual] |
Create a new Group of the same derived type as this one by cloning this one, and return a ref count pointer to the new group.
If type is NOX::DeepCopy, then we need to create an exact replica of "this". Otherwise, if type is NOX::ShapeCopy, we need only replicate the shape of "this" (only the memory is allocated, the values are not copied into the vectors and Jacobian). Returns NULL if clone is not supported.
Implements NOX::Abstract::Group.
Reimplemented in LOCA::Epetra::Group.
Definition at line 163 of file NOX_Epetra_Group.C.
Teuchos::RCP< NOX::Epetra::Interface::Required > Group::getRequiredInterface | ( | ) | [virtual] |
Return the userInterface.
Definition at line 582 of file NOX_Epetra_Group.C.
References userInterfacePtr.
Teuchos::RCP< const NOX::Epetra::LinearSystem > Group::getLinearSystem | ( | ) | const [virtual] |
Return the Linear System.
Definition at line 588 of file NOX_Epetra_Group.C.
References NOX::SharedObject< Object, Owner >::getObject(), and sharedLinearSystem.
Teuchos::RCP< NOX::Epetra::LinearSystem > Group::getLinearSystem | ( | ) | [virtual] |
Return the Linear System.
Definition at line 593 of file NOX_Epetra_Group.C.
References NOX::SharedObject< Object, Owner >::getObject(), and sharedLinearSystem.
double NOX::Epetra::Group::getJacobianConditionNumber | ( | ) | const [virtual] |
Returns the condition number of the Jacobian matrix.
Definition at line 661 of file NOX_Epetra_Group.C.
References conditionNumber, and isConditionNumber().
void Group::resetIsValid | ( | ) | [protected, virtual] |
resets the isValid flags to false
Reimplemented in LOCA::Epetra::Group.
Definition at line 150 of file NOX_Epetra_Group.C.
Referenced by Group().
bool Group::computeNormNewtonSolveResidual | ( | ) | [protected, virtual] |
Computes the 2-norm of the residual of the linear model used in the Newton solve computation, ||Js+f||.
Definition at line 598 of file NOX_Epetra_Group.C.
References NOX::Epetra::Vector::getEpetraVector(), NOX::SharedObject< Object, Owner >::getObject(), NewtonVector, NOX::Epetra::Vector::norm(), normNewtonSolveResidual, RHSVector, NOX::ShapeCopy, sharedLinearSystem, and tmpVectorPtr.
Referenced by computeNewton().
const NOX::Utils NOX::Epetra::Group::utils [protected] |
Printing Utilities object.
Definition at line 307 of file NOX_Epetra_Group.H.
Referenced by getNormLastLinearSolveResidual().
Teuchos::RCP<NOX::Epetra::Vector> NOX::Epetra::Group::xVectorPtr [protected] |
NOX::Epetra::Vector& NOX::Epetra::Group::xVector [protected] |
Solution vector.
Definition at line 314 of file NOX_Epetra_Group.H.
Referenced by LOCA::Epetra::Group::applyComplexInverseMultiVector(), LOCA::Epetra::Group::applyComplexTransposeInverseMultiVector(), applyJacobianInverse(), LOCA::Epetra::Group::applyJacobianTransposeInverse(), LOCA::Epetra::Group::applyJacobianTransposeInverseMultiVector(), LOCA::Epetra::Group::applyShiftedMatrixInverseMultiVector(), LOCA::Epetra::Group::augmentJacobianForHomotopy(), computeF(), computeJacobian(), LOCA::Epetra::Group::computeShiftedMatrix(), getX(), operator=(), and LOCA::Epetra::Group::printSolution().
Teuchos::RCP<NOX::Epetra::Vector> NOX::Epetra::Group::RHSVectorPtr [protected] |
Right-hand-side vector (function evaluation).
Definition at line 316 of file NOX_Epetra_Group.H.
Referenced by getNormF().
NOX::Epetra::Vector& NOX::Epetra::Group::RHSVector [protected] |
Right-hand-side vector pointer (function evaluation).
Definition at line 318 of file NOX_Epetra_Group.H.
Referenced by computeF(), computeGradient(), computeNewton(), computeNormNewtonSolveResidual(), getF(), and operator=().
Teuchos::RCP<NOX::Epetra::Vector> NOX::Epetra::Group::gradVectorPtr [protected] |
Gradient vector pointer(steepest descent vector).
Definition at line 320 of file NOX_Epetra_Group.H.
NOX::Epetra::Vector& NOX::Epetra::Group::gradVector [protected] |
Gradient vector (steepest descent vector).
Definition at line 322 of file NOX_Epetra_Group.H.
Referenced by computeGradient(), getGradient(), and operator=().
Teuchos::RCP<NOX::Epetra::Vector> NOX::Epetra::Group::NewtonVectorPtr [protected] |
NOX::Epetra::Vector& NOX::Epetra::Group::NewtonVector [protected] |
Newton direction vector.
Definition at line 326 of file NOX_Epetra_Group.H.
Referenced by computeNewton(), computeNormNewtonSolveResidual(), getNewton(), and operator=().
Teuchos::RCP<Epetra_Vector> NOX::Epetra::Group::tmpVectorPtr [mutable, protected] |
An extra temporary vector, only allocated if needed.
Definition at line 328 of file NOX_Epetra_Group.H.
Referenced by LOCA::Epetra::Group::augmentJacobianForHomotopy(), and computeNormNewtonSolveResidual().
double NOX::Epetra::Group::normNewtonSolveResidual [protected] |
2-Norm of the Newton solve residual: ||Js+f||
Definition at line 347 of file NOX_Epetra_Group.H.
Referenced by computeNormNewtonSolveResidual(), getNormLastLinearSolveResidual(), Group(), and operator=().
double NOX::Epetra::Group::conditionNumber [protected] |
condition number of Jacobian
Definition at line 350 of file NOX_Epetra_Group.H.
Referenced by getJacobianConditionNumber(), Group(), and operator=().
Teuchos::RCP<AztecOOConditionNumber> NOX::Epetra::Group::azConditionNumberPtr [protected] |
Teuchos::RCP< NOX::SharedObject<NOX::Epetra::LinearSystem, NOX::Epetra::Group> > NOX::Epetra::Group::sharedLinearSystemPtr [protected] |
NOX::SharedObject<NOX::Epetra::LinearSystem, NOX::Epetra::Group>& NOX::Epetra::Group::sharedLinearSystem [protected] |
Reference to shared Jacobian matrix.
Definition at line 364 of file NOX_Epetra_Group.H.
Referenced by LOCA::Epetra::Group::applyComplexMultiVector(), applyJacobianInverse(), LOCA::Epetra::Group::applyJacobianTransposeInverse(), LOCA::Epetra::Group::applyJacobianTransposeInverseMultiVector(), LOCA::Epetra::Group::applyShiftedMatrixInverseMultiVector(), LOCA::Epetra::Group::augmentJacobianForHomotopy(), LOCA::Epetra::Group::computeComplex(), computeGradient(), computeJacobian(), computeNormNewtonSolveResidual(), LOCA::Epetra::Group::computeShiftedMatrix(), getLinearSystem(), Group(), isJacobian(), isPreconditioner(), operator=(), and LOCA::Epetra::Group::setJacobianOperatorForSolve().
Teuchos::RCP<NOX::Epetra::Interface::Required> NOX::Epetra::Group::userInterfacePtr [protected] |
Reference to the user supplied interface functions.
Definition at line 369 of file NOX_Epetra_Group.H.
Referenced by computeF(), and getRequiredInterface().