Xyce
6.1
|
#include <N_NLS_LOCA_Group.h>
Public Member Functions | |
Group (Teuchos::RefCountPtr< LOCA::GlobalData > globalData, N_NLS_NOX::SharedSystem &s, N_LOA_Loader &l, N_IO_OutputMgr &o, N_ANP_AnalysisManager &t) | |
Basic Constructor. More... | |
Group (const Group &source, NOX::CopyType type=NOX::DeepCopy) | |
Copy Constructor. More... | |
~Group () | |
Destructor. More... | |
NOX::Abstract::Group & | operator= (const NOX::Abstract::Group &source) |
Assignment Operator. More... | |
N_NLS_NOX::Group & | operator= (const N_NLS_NOX::Group &source) |
Assignment Operator. More... | |
LOCA::Abstract::Group & | operator= (const LOCA::Abstract::Group &source) |
Assignment Operator. More... | |
N_NLS_LOCA::Group & | operator= (const N_NLS_LOCA::Group &source) |
Assignment Operator. More... | |
void | copy (const NOX::Abstract::Group &source) |
Special LOCA assignment operator. More... | |
Teuchos::RefCountPtr < NOX::Abstract::Group > | clone (NOX::CopyType type=NOX::DeepCopy) const |
Cloning function. More... | |
NOX::Abstract::Group::ReturnType | computeF () |
Overloaded function evluation routine. More... | |
NOX::Abstract::Group::ReturnType | computeJacobian () |
Overloaded Jacobian evaluation routine. More... | |
void | setParams (const LOCA::ParameterVector &p) |
const LOCA::ParameterVector & | getParams () const |
void | setParam (int paramID, double value) |
double | getParam (int paramID) const |
void | setParam (std::string paramID, double value) |
double | getParam (std::string paramID) const |
void | setScaleVec (const NOX::Abstract::Vector &s) |
const NOX::Abstract::Vector & | getScaleVec () const |
NOX::Abstract::Group::ReturnType | augmentJacobianForHomotopy (double conParamValue) |
void | printSolution (const double conParam) const |
void | printSolution (const NOX::Abstract::Vector &x, const double conParam) const |
void | stepFailed () |
void | stepSucceeded () |
void | setAugmentLinearSystem (bool enable, const Teuchos::RefCountPtr< N_NLS_NOX::AugmentLinSys > &ls) |
void | setNonContinuationFlag (bool value) |
bool | getNonContinuationFlag () |
void | setOutputLinear (Xyce::NodeNamePairMap *op, Xyce::NodeNamePairMap *allNodes, N_PDS_Comm *pdsCommPtr) |
![]() | |
Group (SharedSystem &s) | |
Group (const Group &source, NOX::CopyType type=NOX::DeepCopy) | |
~Group () | |
NOX::Abstract::Group & | operator= (const Group &source) |
NOX::Abstract::Group & | operator= (const NOX::Abstract::Group &source) |
void | setX (const Vector &input) |
void | setX (const NOX::Abstract::Vector &input) |
void | computeX (const Group &grp, const Vector &d, double step) |
void | computeX (const NOX::Abstract::Group &grp, const NOX::Abstract::Vector &d, double step) |
NOX::Abstract::Group::ReturnType | computeF () |
NOX::Abstract::Group::ReturnType | computeJacobian () |
NOX::Abstract::Group::ReturnType | computeGradient () |
NOX::Abstract::Group::ReturnType | computeNewton (Teuchos::ParameterList ¶ms) |
NOX::Abstract::Group::ReturnType | applyJacobian (const Vector &input, Vector &result) const |
NOX::Abstract::Group::ReturnType | applyJacobian (const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
NOX::Abstract::Group::ReturnType | applyJacobianTranspose (const Vector &input, Vector &result) const |
NOX::Abstract::Group::ReturnType | applyJacobianTranspose (const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
NOX::Abstract::Group::ReturnType | applyJacobianInverse (Teuchos::ParameterList ¶ms, const Vector &input, Vector &result) const |
NOX::Abstract::Group::ReturnType | applyJacobianInverse (Teuchos::ParameterList ¶ms, const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
NOX::Abstract::Group::ReturnType | applyRightPreconditioning (bool useTranspose, Teuchos::ParameterList ¶ms, const Vector &input, Vector &result) const |
NOX::Abstract::Group::ReturnType | applyRightPreconditioning (bool useTranspose, Teuchos::ParameterList ¶ms, const NOX::Abstract::Vector &input, NOX::Abstract::Vector &result) const |
bool | isF () const |
bool | isJacobian () const |
bool | isGradient () const |
bool | isNewton () const |
const NOX::Abstract::Vector & | getX () const |
const NOX::Abstract::Vector & | getF () const |
double | getNormF () const |
const NOX::Abstract::Vector & | getGradient () const |
const NOX::Abstract::Vector & | getNewton () const |
Teuchos::RefCountPtr < NOX::Abstract::Group > | clone (NOX::CopyType type=NOX::DeepCopy) const |
Private Member Functions | |
void | outputLinearSystem_ (N_LAS_Matrix *jacobian, N_LAS_Vector *solution, N_LAS_Vector *residual_vector) |
Private Attributes | |
bool | outputLinear_ |
int | serialNumber_ |
std::map< int, double > | oldSol_ |
Xyce::NodeNamePairMap * | op_ |
Xyce::NodeNamePairMap * | allNodes_ |
N_PDS_Comm * | pdsCommPtr_ |
N_LOA_Loader & | loader |
Keep a reference to the loader to set parameters. More... | |
N_IO_OutputMgr & | outputMgr |
For output to a file we need xyce's output manager. More... | |
N_ANP_AnalysisManager & | anaInt |
need xyce's time integration manager. More... | |
LOCA::ParameterVector | params |
Parameter vector container. More... | |
LOCA::DerivUtils | derivUtils |
Utilities for computing derivatives. More... | |
N_LAS_Vector * | tmpVectorPtr |
Temporary vector used for homotopy calculation. More... | |
const NOX::Abstract::Vector * | scalingVecPtr |
LOCA Scaling Vector. More... | |
bool | useAugmentLinSys_ |
Teuchos::RefCountPtr < N_NLS_NOX::AugmentLinSys > | augmentLSStrategy_ |
bool | nonContinuationSolve_ |
Additional Inherited Members | |
![]() | |
void | resetIsValid_ () |
void | throwError (std::string method, std::string message) const |
![]() | |
SharedSystem * | sharedSystemPtr_ |
Teuchos::RefCountPtr < N_NLS_NOX::Vector > | xVecPtr_ |
N_NLS_NOX::Vector & | xVec_ |
Teuchos::RefCountPtr < N_NLS_NOX::Vector > | fVecPtr_ |
N_NLS_NOX::Vector & | fVec_ |
Teuchos::RefCountPtr < N_NLS_NOX::Vector > | newtonVecPtr_ |
Teuchos::RefCountPtr < N_NLS_NOX::Vector > | gradVecPtr_ |
bool | isValidF_ |
bool | isValidJacobian_ |
bool | isValidGradient_ |
bool | isValidNewton_ |
bool | isValidPreconditioner_ |
double | normF_ |
bool | haveSolverFactors_ |
Definition at line 108 of file N_NLS_LOCA_Group.h.
N_NLS_LOCA::Group::Group | ( | Teuchos::RefCountPtr< LOCA::GlobalData > | globalData, |
N_NLS_NOX::SharedSystem & | s, | ||
N_LOA_Loader & | l, | ||
N_IO_OutputMgr & | o, | ||
N_ANP_AnalysisManager & | t | ||
) |
Basic Constructor.
Definition at line 83 of file N_NLS_LOCA_Group.C.
N_NLS_LOCA::Group::Group | ( | const Group & | source, |
NOX::CopyType | type = NOX::DeepCopy |
||
) |
Copy Constructor.
Definition at line 113 of file N_NLS_LOCA_Group.C.
N_NLS_LOCA::Group::~Group | ( | ) |
Destructor.
Definition at line 146 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group::ReturnType N_NLS_LOCA::Group::augmentJacobianForHomotopy | ( | double | conParamValue | ) |
Definition at line 608 of file N_NLS_LOCA_Group.C.
Teuchos::RefCountPtr< NOX::Abstract::Group > N_NLS_LOCA::Group::clone | ( | NOX::CopyType | type = NOX::DeepCopy | ) | const |
Cloning function.
Definition at line 236 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group::ReturnType N_NLS_LOCA::Group::computeF | ( | ) |
Overloaded function evluation routine.
Definition at line 251 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group::ReturnType N_NLS_LOCA::Group::computeJacobian | ( | ) |
Overloaded Jacobian evaluation routine.
Definition at line 286 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::copy | ( | const NOX::Abstract::Group & | source | ) |
Special LOCA assignment operator.
Definition at line 222 of file N_NLS_LOCA_Group.C.
bool N_NLS_LOCA::Group::getNonContinuationFlag | ( | ) |
Definition at line 759 of file N_NLS_LOCA_Group.C.
double N_NLS_LOCA::Group::getParam | ( | int | paramID | ) | const |
Definition at line 535 of file N_NLS_LOCA_Group.C.
double N_NLS_LOCA::Group::getParam | ( | std::string | paramID | ) | const |
Definition at line 563 of file N_NLS_LOCA_Group.C.
const LOCA::ParameterVector & N_NLS_LOCA::Group::getParams | ( | ) | const |
Definition at line 507 of file N_NLS_LOCA_Group.C.
const NOX::Abstract::Vector & N_NLS_LOCA::Group::getScaleVec | ( | ) | const |
Definition at line 589 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group & N_NLS_LOCA::Group::operator= | ( | const NOX::Abstract::Group & | source | ) |
Assignment Operator.
Definition at line 160 of file N_NLS_LOCA_Group.C.
N_NLS_NOX::Group & N_NLS_LOCA::Group::operator= | ( | const N_NLS_NOX::Group & | source | ) |
Assignment Operator.
Definition at line 174 of file N_NLS_LOCA_Group.C.
LOCA::Abstract::Group & N_NLS_LOCA::Group::operator= | ( | const LOCA::Abstract::Group & | source | ) |
Assignment Operator.
Definition at line 188 of file N_NLS_LOCA_Group.C.
Group & N_NLS_LOCA::Group::operator= | ( | const N_NLS_LOCA::Group & | source | ) |
Assignment Operator.
Definition at line 202 of file N_NLS_LOCA_Group.C.
|
private |
Definition at line 360 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::printSolution | ( | const double | conParam | ) | const |
Definition at line 632 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::printSolution | ( | const NOX::Abstract::Vector & | x, |
const double | conParam | ||
) | const |
Definition at line 660 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::setAugmentLinearSystem | ( | bool | enable, |
const Teuchos::RefCountPtr< N_NLS_NOX::AugmentLinSys > & | ls | ||
) |
Definition at line 731 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::setNonContinuationFlag | ( | bool | value | ) |
Definition at line 746 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::setOutputLinear | ( | Xyce::NodeNamePairMap * | op, |
Xyce::NodeNamePairMap * | allNodes, | ||
N_PDS_Comm * | pdsCommPtr | ||
) |
Definition at line 341 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::setParam | ( | int | paramID, |
double | value | ||
) |
Definition at line 520 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::setParam | ( | std::string | paramID, |
double | value | ||
) |
Definition at line 548 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::setParams | ( | const LOCA::ParameterVector & | p | ) |
Definition at line 492 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::setScaleVec | ( | const NOX::Abstract::Vector & | s | ) |
Definition at line 576 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::stepFailed | ( | ) |
Definition at line 692 of file N_NLS_LOCA_Group.C.
void N_NLS_LOCA::Group::stepSucceeded | ( | ) |
Definition at line 708 of file N_NLS_LOCA_Group.C.
|
private |
Definition at line 195 of file N_NLS_LOCA_Group.h.
|
private |
need xyce's time integration manager.
Definition at line 210 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 226 of file N_NLS_LOCA_Group.h.
|
private |
Utilities for computing derivatives.
Definition at line 216 of file N_NLS_LOCA_Group.h.
|
private |
Keep a reference to the loader to set parameters.
Definition at line 204 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 229 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 193 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 194 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 191 of file N_NLS_LOCA_Group.h.
|
private |
For output to a file we need xyce's output manager.
Definition at line 207 of file N_NLS_LOCA_Group.h.
|
private |
Parameter vector container.
Definition at line 213 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 196 of file N_NLS_LOCA_Group.h.
|
private |
LOCA Scaling Vector.
Definition at line 222 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 192 of file N_NLS_LOCA_Group.h.
|
private |
Temporary vector used for homotopy calculation.
Definition at line 219 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 225 of file N_NLS_LOCA_Group.h.