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 78 of file N_NLS_NOX_SharedSystem.C.

SharedSystem::~SharedSystem ( )

Definition at line 110 of file N_NLS_NOX_SharedSystem.C.

Member Function Documentation

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

Definition at line 283 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 311 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 377 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 154 of file N_NLS_NOX_SharedSystem.h.

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

Definition at line 484 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 164 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 266 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::computeJacobian ( Group grp)

Definition at line 195 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 246 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::computePreconditioner ( )

Definition at line 331 of file N_NLS_NOX_SharedSystem.C.

bool SharedSystem::deletePreconditioner ( )

Definition at line 360 of file N_NLS_NOX_SharedSystem.C.

const N_LAS_Matrix & SharedSystem::getJacobian ( ) const

Definition at line 431 of file N_NLS_NOX_SharedSystem.C.

N_LAS_Matrix & SharedSystem::getJacobian ( const Group grp)

Definition at line 444 of file N_NLS_NOX_SharedSystem.C.

N_LAS_System * SharedSystem::getLasSystem ( )

Definition at line 471 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 507 of file N_NLS_NOX_SharedSystem.C.

N_NLS_NOX::Vector & SharedSystem::getSolutionVector ( )

Definition at line 418 of file N_NLS_NOX_SharedSystem.C.

void SharedSystem::getStateVectors ( const Group grp)

Definition at line 458 of file N_NLS_NOX_SharedSystem.C.

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

Definition at line 140 of file N_NLS_NOX_SharedSystem.h.

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

Definition at line 233 of file N_NLS_NOX_SharedSystem.h.

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

Definition at line 232 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 127 of file N_NLS_NOX_SharedSystem.C.

Member Data Documentation

Ifpack_IlukGraph* N_NLS_NOX::SharedSystem::ifpackGraphPtr_
mutableprivate

Definition at line 253 of file N_NLS_NOX_SharedSystem.h.

Ifpack_CrsRiluk* N_NLS_NOX::SharedSystem::ifpackPreconditionerPtr_
mutableprivate

Definition at line 254 of file N_NLS_NOX_SharedSystem.h.

bool N_NLS_NOX::SharedSystem::matrixFreeFlag_
private

Definition at line 247 of file N_NLS_NOX_SharedSystem.h.

const Group* N_NLS_NOX::SharedSystem::ownerOfJacobian_
private

Definition at line 249 of file N_NLS_NOX_SharedSystem.h.

const Group* N_NLS_NOX::SharedSystem::ownerOfStateVectors_
private

Definition at line 250 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceFPtr_
private

Definition at line 239 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceGradientPtr_
private

Definition at line 242 of file N_NLS_NOX_SharedSystem.h.

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

Definition at line 244 of file N_NLS_NOX_SharedSystem.h.

N_LAS_Matrix* N_NLS_NOX::SharedSystem::xyceJacobianPtr_
private

Definition at line 240 of file N_NLS_NOX_SharedSystem.h.

N_LAS_System* N_NLS_NOX::SharedSystem::xyceLasSysPtr_
private

Definition at line 243 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceNewtonPtr_
private

Definition at line 241 of file N_NLS_NOX_SharedSystem.h.

Vector* N_NLS_NOX::SharedSystem::xyceSolnPtr_
private

Definition at line 238 of file N_NLS_NOX_SharedSystem.h.


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