Xyce  6.1
Xyce::Nonlinear::N_NLS_NOX::SharedSystem Class Reference

#include <N_NLS_NOX_SharedSystem.h>

Collaboration diagram for Xyce::Nonlinear::N_NLS_NOX::SharedSystem:

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 &params)
 
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 > &paramIDs, NOX::Abstract::MultiVector &dfdp, bool isValidF)
 
VectorgetSolutionVector ()
 
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 &params, const Vector &input, Vector &result)
 
VectorcloneSolutionVector () const
 
const VectorgetNewtonVector () const
 
void printSoln (std::ostream &os)
 
void printRes (std::ostream &os)
 

Private Attributes

VectorxyceSolnPtr_
 
VectorxyceFPtr_
 
Xyce::Linear::Matrix * xyceJacobianPtr_
 
VectorxyceNewtonPtr_
 
VectorxyceGradientPtr_
 
Xyce::Linear::System * xyceLasSysPtr_
 
InterfacexyceInterfacePtr_
 
bool matrixFreeFlag_
 
const GroupownerOfJacobian_
 
const GroupownerOfStateVectors_
 
Ifpack_IlukGraph * ifpackGraphPtr_
 
Ifpack_CrsRiluk * ifpackPreconditionerPtr_
 

Detailed Description

Definition at line 86 of file N_NLS_NOX_SharedSystem.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::areStateVectors ( const Group grp) const
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.

bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::isJacobianOwner ( const Group grp) const
inline

Definition at line 114 of file N_NLS_NOX_SharedSystem.h.

void Xyce::Nonlinear::N_NLS_NOX::SharedSystem::printRes ( std::ostream &  os)
inline

Definition at line 188 of file N_NLS_NOX_SharedSystem.h.

void Xyce::Nonlinear::N_NLS_NOX::SharedSystem::printSoln ( std::ostream &  os)
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.

Member Data Documentation

Ifpack_IlukGraph* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::ifpackGraphPtr_
mutableprivate

Definition at line 208 of file N_NLS_NOX_SharedSystem.h.

Ifpack_CrsRiluk* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::ifpackPreconditionerPtr_
mutableprivate

Definition at line 209 of file N_NLS_NOX_SharedSystem.h.

bool Xyce::Nonlinear::N_NLS_NOX::SharedSystem::matrixFreeFlag_
private

Definition at line 202 of file N_NLS_NOX_SharedSystem.h.

const Group* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::ownerOfJacobian_
private

Definition at line 204 of file N_NLS_NOX_SharedSystem.h.

const Group* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::ownerOfStateVectors_
private

Definition at line 205 of file N_NLS_NOX_SharedSystem.h.

Vector* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::xyceFPtr_
private

Definition at line 194 of file N_NLS_NOX_SharedSystem.h.

Vector* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::xyceGradientPtr_
private

Definition at line 197 of file N_NLS_NOX_SharedSystem.h.

Interface* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::xyceInterfacePtr_
private

Definition at line 199 of file N_NLS_NOX_SharedSystem.h.

Xyce::Linear::Matrix* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::xyceJacobianPtr_
private

Definition at line 195 of file N_NLS_NOX_SharedSystem.h.

Xyce::Linear::System* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::xyceLasSysPtr_
private

Definition at line 198 of file N_NLS_NOX_SharedSystem.h.

Vector* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::xyceNewtonPtr_
private

Definition at line 196 of file N_NLS_NOX_SharedSystem.h.

Vector* Xyce::Nonlinear::N_NLS_NOX::SharedSystem::xyceSolnPtr_
private

Definition at line 193 of file N_NLS_NOX_SharedSystem.h.


The documentation for this class was generated from the following files: