MumpsSOE Class Reference

#include <MumpsSOE.h>

Inheritance diagram for MumpsSOE:

LinearSOE SystemOfEqn MovableObject MumpsParallelSOE List of all members.

Public Member Functions

 MumpsSOE (MumpsSolver &theSolver, int matType=2)
 MumpsSOE (LinearSOESolver &theSolver, int classTag, int matType=2)
virtual ~MumpsSOE ()
virtual int getNumEqn (void) const
virtual int setSize (Graph &theGraph)
virtual int addA (const Matrix &, const ID &, double fact=1.0)
virtual int addB (const Vector &, const ID &, double fact=1.0)
virtual int setB (const Vector &, double fact=1.0)
virtual void zeroA (void)
virtual void zeroB (void)
virtual const VectorgetX (void)
virtual const VectorgetB (void)
virtual double normRHS (void)
virtual void setX (int loc, double value)
virtual void setX (const Vector &x)
virtual int setMumpsSolver (MumpsSolver &newSolver)
virtual int sendSelf (int commitTag, Channel &theChannel)
virtual int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Protected Attributes

int size
int nnz
double * A
double * B
double * X
int * colA
int * rowA
int * rowB
int * colStartA
VectorvectX
VectorvectB
int Asize
int Bsize
bool factored
int matType

Friends

class MumpsSolver

Detailed Description

Definition at line 48 of file MumpsSOE.h.


Constructor & Destructor Documentation

MumpsSOE::MumpsSOE ( MumpsSolver theSolver,
int  matType = 2 
)

Definition at line 42 of file MumpsSOE.cpp.

References MumpsSolver::setLinearSOE().

MumpsSOE::MumpsSOE ( LinearSOESolver theSolver,
int  classTag,
int  matType = 2 
)

Definition at line 53 of file MumpsSOE.cpp.

MumpsSOE::~MumpsSOE (  )  [virtual]

Definition at line 64 of file MumpsSOE.cpp.

References A, B, colA, colStartA, rowA, vectB, vectX, and X.


Member Function Documentation

int MumpsSOE::getNumEqn ( void   )  const [virtual]

Implements LinearSOE.

Definition at line 78 of file MumpsSOE.cpp.

References size.

int MumpsSOE::addA ( const Matrix ,
const ID ,
double  fact = 1.0 
) [virtual]

Implements LinearSOE.

Definition at line 266 of file MumpsSOE.cpp.

References A, colStartA, k, matType, Matrix::noCols(), Matrix::noRows(), opserr, and rowA.

Referenced by main().

int MumpsSOE::addB ( const Vector ,
const ID ,
double  fact = 1.0 
) [virtual]

Implements LinearSOE.

Reimplemented in MumpsParallelSOE.

Definition at line 374 of file MumpsSOE.cpp.

References B, opserr, and Vector::Size().

int MumpsSOE::setB ( const Vector ,
double  fact = 1.0 
) [virtual]

Implements LinearSOE.

Reimplemented in MumpsParallelSOE.

Definition at line 412 of file MumpsSOE.cpp.

References B, endln, opserr, size, and Vector::Size().

void MumpsSOE::zeroA ( void   )  [virtual]

Implements LinearSOE.

Definition at line 441 of file MumpsSOE.cpp.

References A, factored, and nnz.

Referenced by main().

void MumpsSOE::zeroB ( void   )  [virtual]

Implements LinearSOE.

Reimplemented in MumpsParallelSOE.

Definition at line 451 of file MumpsSOE.cpp.

References B, and size.

const Vector & MumpsSOE::getX ( void   )  [virtual]

Implements LinearSOE.

Definition at line 473 of file MumpsSOE.cpp.

References exit(), opserr, and vectX.

Referenced by main().

const Vector & MumpsSOE::getB ( void   )  [virtual]

Implements LinearSOE.

Reimplemented in MumpsParallelSOE.

Definition at line 483 of file MumpsSOE.cpp.

References exit(), opserr, and vectB.

double MumpsSOE::normRHS ( void   )  [virtual]

Implements LinearSOE.

Definition at line 493 of file MumpsSOE.cpp.

References B, and size.

void MumpsSOE::setX ( int  loc,
double  value 
) [virtual]

Implements LinearSOE.

Definition at line 459 of file MumpsSOE.cpp.

References X.

void MumpsSOE::setX ( const Vector x  )  [virtual]

Implements LinearSOE.

Definition at line 466 of file MumpsSOE.cpp.

References size, Vector::Size(), and vectX.

int MumpsSOE::setMumpsSolver ( MumpsSolver newSolver  )  [virtual]

Definition at line 147 of file MumpsSolver.cpp.

References LinearSOE::setSolver().

int MumpsSOE::sendSelf ( int  commitTag,
Channel theChannel 
) [virtual]

Implements MovableObject.

Reimplemented in MumpsParallelSOE.

Definition at line 505 of file MumpsSOE.cpp.

int MumpsSOE::recvSelf ( int  commitTag,
Channel theChannel,
FEM_ObjectBroker theBroker 
) [virtual]

Implements MovableObject.

Reimplemented in MumpsParallelSOE.

Definition at line 511 of file MumpsSOE.cpp.


Friends And Related Function Documentation

friend class MumpsSolver [friend]

Definition at line 76 of file MumpsSOE.h.


Member Data Documentation

int * MumpsSOE::rowB [protected]

Definition at line 83 of file MumpsSOE.h.

int * MumpsSOE::colStartA [protected]

Definition at line 83 of file MumpsSOE.h.

Referenced by addA(), setSize(), MumpsParallelSOE::setSize(), and ~MumpsSOE().

int MumpsSOE::Asize [protected]

Definition at line 86 of file MumpsSOE.h.

Referenced by setSize(), and MumpsParallelSOE::setSize().

int MumpsSOE::Bsize [protected]

Definition at line 86 of file MumpsSOE.h.

Referenced by setSize(), and MumpsParallelSOE::setSize().


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

Generated on Mon Oct 23 15:05:46 2006 for OpenSees by doxygen 1.5.0