Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BandSPDLinLapackSolver Class Reference

#include <BandSPDLinLapackSolver.h>

Inheritance diagram for BandSPDLinLapackSolver::

BandSPDLinSolver LinearSOESolver Solver List of all members.

Public Methods

 BandSPDLinLapackSolver ()
 ~BandSPDLinLapackSolver ()
int solve (void)
int setSize (void)
 virtual int setLinearSOE(LinearSOE &theSOE) =0;. More...

int sendSelf (int commitTag, Channel &theChannel)
int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Detailed Description

A BandSPDLinLapackSolver object can be constructed to solve a BandSPDLinSOE object. It obtains the solution by making calls on the the LAPACK library. The class is defined to be a friend of the BandSPDLinSOE class (see BandSPDLinSOE.h\form#24). \

{\bf Interface} \ Constructor \ {BandSPDLinLapackSolver();} \ \ Destructor \ {\form#25BandSPDLinLapackSolver();}\\ \ Public Methods \ {int solve(void);} \ {int setSize(void);} \ {int sendSelf(int commitTag, Channel &theChannel);}\ {int recvSelf(int commitTag, Channel &theChannel, FEM\_ObjectBroker &theBroker);}\

{\bf Constructor} \ {BandSPDLinLapackSolver();} \ A unique class tag (defined in classTags.h\form#24) is passed to the BandSPDLinSolver constructor. \

{\bf Destructor} \ {\form#25BandSPDLinLapackSolver();}\\ Does nothing. \

{\bf Public Member Functions } \ {virtual int solve(void);} \ The solver first copies the B vector into X and then solves the BandSPDLinSOE system by calling the LAPACK routines {dpbsv()}, if the system is marked as not having been factored, and {dpbtrs()} if system is marked as having been factored. If the solution is successfully obtained, i.e. the LAPACK routines return in the INFO argument, it marks the system has having been factored and returns , otherwise it prints a warning message and returns INFO. The solve process changes and . \

{int setSize(void);} \ Does nothing but return . \

{int sendSelf(int commitTag, Channel &theChannel);} \ Does nothing but return . \

{int recvSelf(int commitTag, Channel &theChannel, FEM\_ObjectBroker &theBroker);} \ Does nothing but return . \

Definition at line 101 of file BandSPDLinLapackSolver.h.


Constructor & Destructor Documentation

BandSPDLinLapackSolver::BandSPDLinLapackSolver ( )
 

Definition at line 42 of file BandSPDLinLapackSolver.cpp.

BandSPDLinLapackSolver::~BandSPDLinLapackSolver ( )
 

Definition at line 48 of file BandSPDLinLapackSolver.cpp.


Member Function Documentation

int BandSPDLinLapackSolver::recvSelf ( int commitTag,
Channel & theChannel,
FEM_ObjectBroker & theBroker )
 

Definition at line 153 of file BandSPDLinLapackSolver.cpp.

int BandSPDLinLapackSolver::sendSelf ( int commitTag,
Channel & theChannel )
 

Definition at line 145 of file BandSPDLinLapackSolver.cpp.

int BandSPDLinLapackSolver::setSize ( void ) [virtual]
 

virtual int setLinearSOE(LinearSOE &theSOE) =0;.

Reimplemented from LinearSOESolver.

Definition at line 138 of file BandSPDLinLapackSolver.cpp.

int BandSPDLinLapackSolver::solve ( void ) [virtual]
 

Reimplemented from BandSPDLinSolver.

Definition at line 78 of file BandSPDLinLapackSolver.cpp.


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