Xyce
6.1
|
#include <N_NLS_NOX_SharedSystem.h>
Public Member Functions | |
SharedSystem (Xyce::Linear::Vector &x, Xyce::Linear::Vector &f, Xyce::Linear::Matrix &jacobian, Xyce::Linear::Vector &newton, Xyce::Linear::Vector &gradient, Xyce::Linear::System &lasSys, Interface &interface) | |
~SharedSystem () | |
void | reset (Xyce::Linear::Vector &x, Xyce::Linear::Vector &f, Xyce::Linear::Matrix &jacobian, Xyce::Linear::Vector &newton, Xyce::Linear::Vector &gradient, Xyce::Linear::System &lasSys, Interface &interface) |
bool | isJacobianOwner (const Group *grp) const |
bool | areStateVectors (const Group *grp) const |
bool | computeF (const Vector &solution, Vector &F, const Group *grp) |
bool | computeJacobian (Group *grp) |
bool | computeNewton (const Vector &F, Vector &Newton, Teuchos::ParameterList ¶ms) |
bool | computeGradient (const Vector &F, Vector &Gradient) |
bool | applyJacobian (const Vector &input, Vector &result) const |
bool | applyJacobianTranspose (const Vector &input, Vector &result) const |
bool | computeDfDpMulti (const std::vector< int > ¶mIDs, NOX::Abstract::MultiVector &dfdp, bool isValidF) |
Vector & | getSolutionVector () |
const Xyce::Linear::Matrix & | getJacobian () const |
Xyce::Linear::Matrix & | getJacobian (const Group *grp) |
void | getStateVectors (const Group *grp) |
Xyce::Linear::System * | getLasSystem () |
void | debugOutput1 (Xyce::Linear::Matrix &jacobian, Xyce::Linear::Vector &rhs) |
void | debugOutput3 (Xyce::Linear::Vector &dxVector, Xyce::Linear::Vector &xVector) |
bool | computePreconditioner () |
bool | deletePreconditioner () |
bool | applyRightPreconditioning (bool useTranspose, Teuchos::ParameterList ¶ms, const Vector &input, Vector &result) |
Vector * | cloneSolutionVector () const |
const Vector & | getNewtonVector () const |
void | printSoln (std::ostream &os) |
void | printRes (std::ostream &os) |
Private Attributes | |
Vector * | xyceSolnPtr_ |
Vector * | xyceFPtr_ |
Xyce::Linear::Matrix * | xyceJacobianPtr_ |
Vector * | xyceNewtonPtr_ |
Vector * | xyceGradientPtr_ |
Xyce::Linear::System * | xyceLasSysPtr_ |
Interface * | xyceInterfacePtr_ |
bool | matrixFreeFlag_ |
const Group * | ownerOfJacobian_ |
const Group * | ownerOfStateVectors_ |
Ifpack_IlukGraph * | ifpackGraphPtr_ |
Ifpack_CrsRiluk * | ifpackPreconditionerPtr_ |
Definition at line 86 of file N_NLS_NOX_SharedSystem.h.
Xyce::Nonlinear::N_NLS_NOX::SharedSystem::SharedSystem | ( | Xyce::Linear::Vector & | x, |
Xyce::Linear::Vector & | f, | ||
Xyce::Linear::Matrix & | jacobian, | ||
Xyce::Linear::Vector & | newton, | ||
Xyce::Linear::Vector & | gradient, | ||
Xyce::Linear::System & | lasSys, | ||
Interface & | interface | ||
) |
Definition at line 83 of file N_NLS_NOX_SharedSystem.C.
Xyce::Nonlinear::N_NLS_NOX::SharedSystem::~SharedSystem | ( | ) |
Definition at line 115 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::applyJacobian | ( | const Vector & | input, |
Vector & | result | ||
) | const |
Definition at line 293 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::applyJacobianTranspose | ( | const Vector & | input, |
Vector & | result | ||
) | const |
Definition at line 321 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::applyRightPreconditioning | ( | bool | useTranspose, |
Teuchos::ParameterList & | params, | ||
const Vector & | input, | ||
Vector & | result | ||
) |
Definition at line 406 of file N_NLS_NOX_SharedSystem.C.
|
inline |
Definition at line 128 of file N_NLS_NOX_SharedSystem.h.
Vector * Xyce::Nonlinear::N_NLS_NOX::SharedSystem::cloneSolutionVector | ( | ) | const |
Definition at line 513 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::computeDfDpMulti | ( | const std::vector< int > & | paramIDs, |
NOX::Abstract::MultiVector & | dfdp, | ||
bool | isValidF | ||
) |
Definition at line 342 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::computeF | ( | const Vector & | solution, |
Vector & | F, | ||
const Group * | grp | ||
) |
Definition at line 171 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::computeGradient | ( | const Vector & | F, |
Vector & | Gradient | ||
) |
Definition at line 276 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::computeJacobian | ( | Group * | grp | ) |
Definition at line 203 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::computeNewton | ( | const Vector & | F, |
Vector & | Newton, | ||
Teuchos::ParameterList & | params | ||
) |
Definition at line 255 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::computePreconditioner | ( | ) |
Definition at line 360 of file N_NLS_NOX_SharedSystem.C.
void Xyce::Nonlinear::N_NLS_NOX::SharedSystem::debugOutput1 | ( | Xyce::Linear::Matrix & | jacobian, |
Xyce::Linear::Vector & | rhs | ||
) |
Definition at line 550 of file N_NLS_NOX_SharedSystem.C.
void Xyce::Nonlinear::N_NLS_NOX::SharedSystem::debugOutput3 | ( | Xyce::Linear::Vector & | dxVector, |
Xyce::Linear::Vector & | xVector | ||
) |
Definition at line 564 of file N_NLS_NOX_SharedSystem.C.
bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::deletePreconditioner | ( | ) |
Definition at line 389 of file N_NLS_NOX_SharedSystem.C.
const Linear::Matrix & Xyce::Nonlinear::N_NLS_NOX::SharedSystem::getJacobian | ( | ) | const |
Definition at line 460 of file N_NLS_NOX_SharedSystem.C.
Linear::Matrix & Xyce::Nonlinear::N_NLS_NOX::SharedSystem::getJacobian | ( | const Group * | grp | ) |
Definition at line 473 of file N_NLS_NOX_SharedSystem.C.
Linear::System * Xyce::Nonlinear::N_NLS_NOX::SharedSystem::getLasSystem | ( | ) |
Definition at line 500 of file N_NLS_NOX_SharedSystem.C.
const Vector & Xyce::Nonlinear::N_NLS_NOX::SharedSystem::getNewtonVector | ( | ) | const |
Definition at line 536 of file N_NLS_NOX_SharedSystem.C.
Vector & Xyce::Nonlinear::N_NLS_NOX::SharedSystem::getSolutionVector | ( | ) |
Definition at line 447 of file N_NLS_NOX_SharedSystem.C.
void Xyce::Nonlinear::N_NLS_NOX::SharedSystem::getStateVectors | ( | const Group * | grp | ) |
Definition at line 487 of file N_NLS_NOX_SharedSystem.C.
|
inline |
Definition at line 114 of file N_NLS_NOX_SharedSystem.h.
|
inline |
Definition at line 188 of file N_NLS_NOX_SharedSystem.h.
|
inline |
Definition at line 187 of file N_NLS_NOX_SharedSystem.h.
void Xyce::Nonlinear::N_NLS_NOX::SharedSystem::reset | ( | Xyce::Linear::Vector & | x, |
Xyce::Linear::Vector & | f, | ||
Xyce::Linear::Matrix & | jacobian, | ||
Xyce::Linear::Vector & | newton, | ||
Xyce::Linear::Vector & | gradient, | ||
Xyce::Linear::System & | lasSys, | ||
Interface & | interface | ||
) |
Definition at line 132 of file N_NLS_NOX_SharedSystem.C.
|
mutableprivate |
Definition at line 208 of file N_NLS_NOX_SharedSystem.h.
|
mutableprivate |
Definition at line 209 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 202 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 204 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 205 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 194 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 197 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 199 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 195 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 198 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 196 of file N_NLS_NOX_SharedSystem.h.
|
private |
Definition at line 193 of file N_NLS_NOX_SharedSystem.h.