Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
N_NLS_NOX::SharedSystem Class Reference

#include <N_NLS_NOX_SharedSystem.h>

Collaboration diagram for N_NLS_NOX::SharedSystem:

Public Member Functions

 SharedSystem (N_LAS_Vector &x, N_LAS_Vector &f, N_LAS_Matrix &jacobian, N_LAS_Vector &newton, N_LAS_Vector &gradient, N_LAS_System &lasSys, N_NLS_NOX::Interface &interface)
 
 ~SharedSystem ()
 
void reset (N_LAS_Vector &x, N_LAS_Vector &f, N_LAS_Matrix &jacobian, N_LAS_Vector &newton, N_LAS_Vector &gradient, N_LAS_System &lasSys, N_NLS_NOX::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
 
N_NLS_NOX::VectorgetSolutionVector ()
 
const N_LAS_Matrix & getJacobian () const
 
N_LAS_Matrix & getJacobian (const Group *grp)
 
void getStateVectors (const Group *grp)
 
N_LAS_System * getLasSystem ()
 
bool computePreconditioner ()
 
bool deletePreconditioner ()
 
bool applyRightPreconditioning (bool useTranspose, Teuchos::ParameterList &params, const Vector &input, Vector &result)
 
N_NLS_NOX::VectorcloneSolutionVector () const
 
const N_NLS_NOX::VectorgetNewtonVector () const
 
void printSoln (std::ostream &os)
 
void printRes (std::ostream &os)
 

Private Attributes

VectorxyceSolnPtr_
 
VectorxyceFPtr_
 
N_LAS_Matrix * xyceJacobianPtr_
 
VectorxyceNewtonPtr_
 
VectorxyceGradientPtr_
 
N_LAS_System * xyceLasSysPtr_
 
N_NLS_NOX::InterfacexyceInterfacePtr_
 
bool matrixFreeFlag_
 
const GroupownerOfJacobian_
 
const GroupownerOfStateVectors_
 
Ifpack_IlukGraph * ifpackGraphPtr_
 
Ifpack_CrsRiluk * ifpackPreconditionerPtr_
 

Detailed Description

Definition at line 96 of file N_NLS_NOX_SharedSystem.h.

Constructor & Destructor Documentation

SharedSystem::SharedSystem ( N_LAS_Vector &  x,
N_LAS_Vector &  f,
N_LAS_Matrix &  jacobian,
N_LAS_Vector &  newton,
N_LAS_Vector &  gradient,
N_LAS_System &  lasSys,
N_NLS_NOX::Interface interface 
)

Definition at line 82 of file N_NLS_NOX_SharedSystem.C.

SharedSystem::~SharedSystem ( )

Definition at line 114 of file N_NLS_NOX_SharedSystem.C.

Member Function Documentation

bool SharedSystem::applyJacobian ( const Vector input,
Vector result 
) const

Definition at line 292 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::applyJacobianTranspose ( const Vector input,
Vector result 
) const

Definition at line 320 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::applyRightPreconditioning ( bool  useTranspose,
Teuchos::ParameterList &  params,
const Vector input,
Vector result 
)

Definition at line 386 of file N_NLS_NOX_SharedSystem.C.

bool N_NLS_NOX::SharedSystem::areStateVectors ( const Group grp) const
inline

Definition at line 138 of file N_NLS_NOX_SharedSystem.h.

N_NLS_NOX::Vector * SharedSystem::cloneSolutionVector ( ) const

Definition at line 493 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::computeF ( const Vector solution,
Vector F,
const Group grp 
)

Definition at line 170 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::computeGradient ( const Vector F,
Vector Gradient 
)

Definition at line 275 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::computeJacobian ( Group grp)

Definition at line 202 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::computeNewton ( const Vector F,
Vector Newton,
Teuchos::ParameterList &  params 
)

Definition at line 254 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::computePreconditioner ( )

Definition at line 340 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::deletePreconditioner ( )

Definition at line 369 of file N_NLS_NOX_SharedSystem.C.

const N_LAS_Matrix & SharedSystem::getJacobian ( ) const

Definition at line 440 of file N_NLS_NOX_SharedSystem.C.

N_LAS_Matrix & SharedSystem::getJacobian ( const Group grp)

Definition at line 453 of file N_NLS_NOX_SharedSystem.C.

N_LAS_System * SharedSystem::getLasSystem ( )

Definition at line 480 of file N_NLS_NOX_SharedSystem.C.

const N_NLS_NOX::Vector & SharedSystem::getNewtonVector ( ) const

Definition at line 516 of file N_NLS_NOX_SharedSystem.C.

N_NLS_NOX::Vector & SharedSystem::getSolutionVector ( )

Definition at line 427 of file N_NLS_NOX_SharedSystem.C.

void SharedSystem::getStateVectors ( const Group grp)

Definition at line 467 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 124 of file N_NLS_NOX_SharedSystem.h.

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

Definition at line 196 of file N_NLS_NOX_SharedSystem.h.

void N_NLS_NOX::SharedSystem::printSoln ( std::ostream &  os)
inline

Definition at line 195 of file N_NLS_NOX_SharedSystem.h.

void SharedSystem::reset ( N_LAS_Vector &  x,
N_LAS_Vector &  f,
N_LAS_Matrix &  jacobian,
N_LAS_Vector &  newton,
N_LAS_Vector &  gradient,
N_LAS_System &  lasSys,
N_NLS_NOX::Interface interface 
)

Definition at line 131 of file N_NLS_NOX_SharedSystem.C.

Member Data Documentation

Ifpack_IlukGraph* N_NLS_NOX::SharedSystem::ifpackGraphPtr_
mutableprivate

Definition at line 216 of file N_NLS_NOX_SharedSystem.h.

Ifpack_CrsRiluk* N_NLS_NOX::SharedSystem::ifpackPreconditionerPtr_
mutableprivate

Definition at line 217 of file N_NLS_NOX_SharedSystem.h.

bool N_NLS_NOX::SharedSystem::matrixFreeFlag_
private

Definition at line 210 of file N_NLS_NOX_SharedSystem.h.

const Group* N_NLS_NOX::SharedSystem::ownerOfJacobian_
private

Definition at line 212 of file N_NLS_NOX_SharedSystem.h.

const Group* N_NLS_NOX::SharedSystem::ownerOfStateVectors_
private

Definition at line 213 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceFPtr_
private

Definition at line 202 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceGradientPtr_
private

Definition at line 205 of file N_NLS_NOX_SharedSystem.h.

N_NLS_NOX::Interface* N_NLS_NOX::SharedSystem::xyceInterfacePtr_
private

Definition at line 207 of file N_NLS_NOX_SharedSystem.h.

N_LAS_Matrix* N_NLS_NOX::SharedSystem::xyceJacobianPtr_
private

Definition at line 203 of file N_NLS_NOX_SharedSystem.h.

N_LAS_System* N_NLS_NOX::SharedSystem::xyceLasSysPtr_
private

Definition at line 206 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceNewtonPtr_
private

Definition at line 204 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceSolnPtr_
private

Definition at line 201 of file N_NLS_NOX_SharedSystem.h.


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