xc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Base class for profile matrix linear SOE solvers. More...

#include <ProfileSPDLinSolver.h>

Inheritance diagram for XC::ProfileSPDLinSolver:
XC::LinearSOESolver XC::Solver XC::MovableObject XC::DistributedBase XC::ProfileSPDLinDirectBase XC::ProfileSPDLinDirectSkypackSolver XC::ProfileSPDLinDirectBlockSolver XC::ProfileSPDLinDirectSolver XC::ProfileSPDLinDirectThreadSolver XC::ProfileSPDLinSubstrSolver

Public Member Functions

virtual int solve (void)=0
 Causes the solver to compute the solution of the system of equations. More...
 
virtual bool setLinearSOE (ProfileSPDLinSOE &theSOE)
 Sets the system of equations to solve.
 
- Public Member Functions inherited from XC::LinearSOESolver
virtual ~LinearSOESolver (void)
 Destructor.
 
virtual int setSize (void)=0
 Sets the number of equations. More...
 
virtual double getDeterminant (void)
 Returns the determinant of the system matrix.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int sendSelf (CommParameters &cp)=0
 Send the object. More...
 
virtual int recvSelf (const CommParameters &cp)=0
 Receive the object. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

 ProfileSPDLinSolver (int classTag)
 Constructor. More...
 
virtual bool setLinearSOE (LinearSOE *theSOE)
 Sets the system of equations to solve.
 
- Protected Member Functions inherited from XC::LinearSOESolver
 LinearSOESolver (int classTag=0)
 Constructor. More...
 
virtual LinearSOESolvergetCopy (void) const =0
 Virtual constructor.
 
- Protected Member Functions inherited from XC::Solver
 Solver (int classTag)
 Constructor. More...
 

Protected Attributes

ProfileSPDLinSOEtheSOE
 

Detailed Description

Base class for profile matrix linear SOE solvers.

Constructor & Destructor Documentation

§ ProfileSPDLinSolver()

XC::ProfileSPDLinSolver::ProfileSPDLinSolver ( int  classTag)
protected

Constructor.

Parameters
classTagclass identifier.

Member Function Documentation

§ solve()

virtual int XC::ProfileSPDLinSolver::solve ( void  )
pure virtual

Causes the solver to compute the solution of the system of equations.

Return $0$ if successful , negative number if not; the actual value depending on the type of Solver.

Implements XC::Solver.

Implemented in XC::ProfileSPDLinDirectSkypackSolver, XC::ProfileSPDLinDirectThreadSolver, XC::ProfileSPDLinDirectBlockSolver, XC::ProfileSPDLinSubstrSolver, and XC::ProfileSPDLinDirectSolver.


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