Xyce
6.1
|
#include <N_NLS_LOCA_Group.h>
Public Member Functions | |
Group (Teuchos::RCP< LOCA::GlobalData > globalData, N_NLS_NOX::SharedSystem &s, Xyce::Loader::NonlinearEquationLoader &l, Xyce::IO::OutputMgr &o, Xyce::Analysis::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... | |
Group & | operator= (const Group &source) |
Assignment Operator. More... | |
void | copy (const NOX::Abstract::Group &source) |
Special LOCA assignment operator. More... | |
Teuchos::RCP< 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... | |
NOX::Abstract::Group::ReturnType | computeDfDpMulti (const std::vector< int > ¶mIDs, NOX::Abstract::MultiVector &dfdp, bool isValidF) |
Overloaded dfdp sensitivity calculation. 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 | preProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus) |
void | postProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus) |
void | setAugmentLinearSystem (bool enable, const Teuchos::RCP< N_NLS_NOX::AugmentLinSys > &ls) |
void | setNonContinuationFlag (bool value) |
bool | getNonContinuationFlag () |
void | setOutputLinear (Xyce::NodeNameMap *op, Xyce::NodeNameMap *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 |
bool | linearSolverStatus () const |
void | setLinearSolverStatus (bool status) |
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::RCP< NOX::Abstract::Group > | clone (NOX::CopyType type=NOX::DeepCopy) const |
Private Member Functions | |
void | outputLinearSystem_ (Xyce::Linear::Matrix *jacobian, Xyce::Linear::Vector *solution, Xyce::Linear::Vector *residual_vector) |
Private Attributes | |
bool | outputLinear_ |
int | serialNumber_ |
std::map< int, double > | oldSol_ |
Xyce::NodeNameMap * | op_ |
Xyce::NodeNameMap * | allNodes_ |
N_PDS_Comm * | pdsCommPtr_ |
Xyce::Loader::NonlinearEquationLoader & | loader |
Keep a reference to the loader to set parameters. More... | |
Xyce::IO::OutputMgr & | outputMgr |
For output to a file we need xyce's output manager. More... | |
Xyce::Analysis::AnalysisManager & | anaInt |
need xyce's time integration manager. More... | |
LOCA::ParameterVector | params |
Parameter vector container. More... | |
LOCA::DerivUtils | derivUtils |
Utilities for computing derivatives. More... | |
Xyce::Linear::Vector * | tmpVectorPtr |
Temporary vector used for homotopy calculation. More... | |
const NOX::Abstract::Vector * | scalingVecPtr |
LOCA Scaling Vector. More... | |
bool | useAugmentLinSys_ |
Teuchos::RCP< N_NLS_NOX::AugmentLinSys > | augmentLSStrategy_ |
bool | nonContinuationSolve_ |
Additional Inherited Members | |
![]() | |
void | resetIsValid_ () |
void | throwError (std::string method, std::string message) const |
![]() | |
SharedSystem * | sharedSystemPtr_ |
Teuchos::RCP< Vector > | xVecPtr_ |
Vector & | xVec_ |
Teuchos::RCP< Vector > | fVecPtr_ |
Vector & | fVec_ |
Teuchos::RCP< Vector > | newtonVecPtr_ |
Teuchos::RCP< Vector > | gradVecPtr_ |
bool | isValidF_ |
bool | isValidJacobian_ |
bool | isValidGradient_ |
bool | isValidNewton_ |
bool | isValidPreconditioner_ |
bool | linearStatus_ |
double | normF_ |
bool | haveSolverFactors_ |
Definition at line 90 of file N_NLS_LOCA_Group.h.
Xyce::Nonlinear::N_NLS_LOCA::Group::Group | ( | Teuchos::RCP< LOCA::GlobalData > | globalData, |
N_NLS_NOX::SharedSystem & | s, | ||
Xyce::Loader::NonlinearEquationLoader & | l, | ||
Xyce::IO::OutputMgr & | o, | ||
Xyce::Analysis::AnalysisManager & | t | ||
) |
Basic Constructor.
Xyce::Nonlinear::N_NLS_LOCA::Group::Group | ( | const Group & | source, |
NOX::CopyType | type = NOX::DeepCopy |
||
) |
Copy Constructor.
Definition at line 110 of file N_NLS_LOCA_Group.C.
Xyce::Nonlinear::N_NLS_LOCA::Group::~Group | ( | ) |
Destructor.
Definition at line 143 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group::ReturnType Xyce::Nonlinear::N_NLS_LOCA::Group::augmentJacobianForHomotopy | ( | double | conParamValue | ) |
Definition at line 653 of file N_NLS_LOCA_Group.C.
Teuchos::RCP< NOX::Abstract::Group > Xyce::Nonlinear::N_NLS_LOCA::Group::clone | ( | NOX::CopyType | type = NOX::DeepCopy | ) | const |
Cloning function.
Definition at line 233 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group::ReturnType Xyce::Nonlinear::N_NLS_LOCA::Group::computeDfDpMulti | ( | const std::vector< int > & | paramIDs, |
NOX::Abstract::MultiVector & | dfdp, | ||
bool | isValidF | ||
) |
Overloaded dfdp sensitivity calculation.
Definition at line 339 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group::ReturnType Xyce::Nonlinear::N_NLS_LOCA::Group::computeF | ( | ) |
Overloaded function evluation routine.
Definition at line 248 of file N_NLS_LOCA_Group.C.
NOX::Abstract::Group::ReturnType Xyce::Nonlinear::N_NLS_LOCA::Group::computeJacobian | ( | ) |
Overloaded Jacobian evaluation routine.
Definition at line 284 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::copy | ( | const NOX::Abstract::Group & | source | ) |
Special LOCA assignment operator.
Definition at line 219 of file N_NLS_LOCA_Group.C.
bool Xyce::Nonlinear::N_NLS_LOCA::Group::getNonContinuationFlag | ( | ) |
Definition at line 785 of file N_NLS_LOCA_Group.C.
double Xyce::Nonlinear::N_NLS_LOCA::Group::getParam | ( | int | paramID | ) | const |
Definition at line 580 of file N_NLS_LOCA_Group.C.
double Xyce::Nonlinear::N_NLS_LOCA::Group::getParam | ( | std::string | paramID | ) | const |
Definition at line 608 of file N_NLS_LOCA_Group.C.
const LOCA::ParameterVector & Xyce::Nonlinear::N_NLS_LOCA::Group::getParams | ( | ) | const |
Definition at line 552 of file N_NLS_LOCA_Group.C.
const NOX::Abstract::Vector & Xyce::Nonlinear::N_NLS_LOCA::Group::getScaleVec | ( | ) | const |
Definition at line 634 of file N_NLS_LOCA_Group.C.
LOCA::Abstract::Group & Xyce::Nonlinear::N_NLS_LOCA::Group::operator= | ( | const NOX::Abstract::Group & | source | ) |
Assignment Operator.
Definition at line 157 of file N_NLS_LOCA_Group.C.
N_NLS_NOX::Group & Xyce::Nonlinear::N_NLS_LOCA::Group::operator= | ( | const N_NLS_NOX::Group & | source | ) |
Assignment Operator.
Definition at line 171 of file N_NLS_LOCA_Group.C.
LOCA::Abstract::Group& Xyce::Nonlinear::N_NLS_LOCA::Group::operator= | ( | const LOCA::Abstract::Group & | source | ) |
Assignment Operator.
Assignment Operator.
Definition at line 199 of file N_NLS_LOCA_Group.C.
|
private |
Definition at line 405 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::postProcessContinuationStep | ( | LOCA::Abstract::Iterator::StepStatus | stepStatus | ) |
Definition at line 740 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::preProcessContinuationStep | ( | LOCA::Abstract::Iterator::StepStatus | stepStatus | ) |
Definition at line 728 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::printSolution | ( | const double | conParam | ) | const |
Definition at line 677 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::printSolution | ( | const NOX::Abstract::Vector & | x, |
const double | conParam | ||
) | const |
Definition at line 702 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::setAugmentLinearSystem | ( | bool | enable, |
const Teuchos::RCP< N_NLS_NOX::AugmentLinSys > & | ls | ||
) |
Definition at line 757 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::setNonContinuationFlag | ( | bool | value | ) |
Definition at line 772 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::setOutputLinear | ( | Xyce::NodeNameMap * | op, |
Xyce::NodeNameMap * | allNodes, | ||
N_PDS_Comm * | pdsCommPtr | ||
) |
Definition at line 386 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::setParam | ( | int | paramID, |
double | value | ||
) |
Definition at line 565 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::setParam | ( | std::string | paramID, |
double | value | ||
) |
Definition at line 593 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::setParams | ( | const LOCA::ParameterVector & | p | ) |
Definition at line 537 of file N_NLS_LOCA_Group.C.
void Xyce::Nonlinear::N_NLS_LOCA::Group::setScaleVec | ( | const NOX::Abstract::Vector & | s | ) |
Definition at line 621 of file N_NLS_LOCA_Group.C.
|
private |
Definition at line 180 of file N_NLS_LOCA_Group.h.
|
private |
need xyce's time integration manager.
Definition at line 195 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 211 of file N_NLS_LOCA_Group.h.
|
private |
Utilities for computing derivatives.
Definition at line 201 of file N_NLS_LOCA_Group.h.
|
private |
Keep a reference to the loader to set parameters.
Definition at line 189 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 214 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 178 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 179 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 176 of file N_NLS_LOCA_Group.h.
|
private |
For output to a file we need xyce's output manager.
Definition at line 192 of file N_NLS_LOCA_Group.h.
|
private |
Parameter vector container.
Definition at line 198 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 181 of file N_NLS_LOCA_Group.h.
|
private |
LOCA Scaling Vector.
Definition at line 207 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 177 of file N_NLS_LOCA_Group.h.
|
private |
Temporary vector used for homotopy calculation.
Definition at line 204 of file N_NLS_LOCA_Group.h.
|
private |
Definition at line 210 of file N_NLS_LOCA_Group.h.