XC Open source finite element analysis program
|
Base class for sparse matrix systems of equations. More...
#include <SparseSOEBase.h>
Protected Member Functions | |
SparseSOEBase (SoluMethod *, int classTag, int N=0, int NNZ=0) | |
Constructor. | |
Protected Member Functions inherited from XC::FactoredSOEBase | |
FactoredSOEBase (SoluMethod *, int classTag, int N=0) | |
Constructor. | |
Protected Member Functions inherited from XC::LinearSOEData | |
void | inic (const size_t &) |
1d arrays containing coefficients of B and X | |
const double & | getB (const size_t &i) const |
double & | getB (const size_t &i) |
const double & | getX (const size_t &i) const |
double & | getX (const size_t &i) |
double * | getPtrB (void) |
const double * | getPtrB (void) const |
double * | getPtrX (void) |
const double * | getPtrX (void) const |
LinearSOEData (SoluMethod *, int classTag, int N=0) | |
Constructor. | |
Protected Member Functions inherited from XC::LinearSOE | |
void | libera (void) |
void | copia (const LinearSOESolver *) |
virtual bool | setSolver (LinearSOESolver *) |
Sets the solver al system of equations. | |
int | setSolverSize (void) |
invoke setSize() on the Solver | |
LinearSOE (SoluMethod *, int classTag) | |
Constructor. | |
Protected Member Functions inherited from XC::SystemOfEqn | |
virtual AnalysisModel * | getAnalysisModelPtr (void) |
Returns a pointer to the analysis model. | |
virtual const AnalysisModel * | getAnalysisModelPtr (void) const |
Returns a const pointer to the analysis model. | |
SystemOfEqn (SoluMethod *, int classTag) | |
virtual SystemOfEqn * | getCopy (void) const =0 |
Protected Attributes | |
int | nnz |
int | Bsize |
number of non-zeros in A | |
Protected Attributes inherited from XC::FactoredSOEBase | |
bool | factored |
Protected Attributes inherited from XC::LinearSOEData | |
int | size |
Vector | B |
order of A | |
Vector | X |
Additional Inherited Members | |
Public Member Functions inherited from XC::LinearSOEData | |
virtual int | getNumEqn (void) const |
virtual void | zeroB (void) |
virtual void | zeroX (void) |
virtual void | zero (void) |
virtual int | addB (const Vector &, const double &fact=1.0) |
virtual int | addB (const Vector &, const ID &, const double &fact=1.0) |
virtual int | setB (const XC::Vector &v, const double &fact=1.0) |
virtual void | setX (int loc, double value) |
virtual void | setX (const Vector &x) |
virtual const Vector & | getX (void) const |
virtual Vector & | getX (void) |
virtual const Vector & | getB (void) const |
virtual Vector & | getB (void) |
virtual double | normRHS (void) const |
void | receiveB (const CommParameters &) |
void | receiveX (const CommParameters &) |
void | receiveBX (const CommParameters &) |
void | sendB (CommParameters &) const |
void | sendBX (CommParameters &) const |
Public Member Functions inherited from XC::LinearSOE | |
virtual | ~LinearSOE (void) |
Destructor. | |
virtual int | solve (void) |
Resuelve el system of equations. | |
virtual int | setSize (Graph &theGraph)=0 |
virtual int | addA (const Matrix &, const ID &, double fact=1.0)=0 |
virtual void | zeroA (void)=0 |
virtual double | getDeterminant (void) |
Returns the determinante de la matriz del sistema. | |
LinearSOESolver * | getSolver (void) |
Returns a pointer to the solver. | |
LinearSOESolver & | newSolver (const std::string &) |
Public Member Functions inherited from XC::SystemOfEqn | |
int | checkSize (Graph &theGraph) const |
Check number of DOFs in the graph. | |
Public Member Functions inherited from XC::MovableObject | |
MovableObject (int classTag, int dbTag) | |
Constructor. | |
MovableObject (int classTag) | |
Constructor. | |
MovableObject (const MovableObject &otro) | |
Copy constructor. | |
MovableObject & | operator= (const MovableObject &otro) |
Operacdor asignación. | |
int | getClassTag (void) const |
Returns the tag de la clase. | |
int | getDbTag (void) const |
Returns the tag para la database. | |
int | getDbTag (CommParameters &) |
Returns the tag para la database. | |
void | setDbTag (int dbTag) |
Asigna el tag para la database. | |
void | setDbTag (CommParameters &) |
Asigna, sólo si es preciso, el tag para la database. | |
virtual int | sendSelf (CommParameters &)=0 |
virtual int | recvSelf (const CommParameters &)=0 |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
virtual int | updateParameter (int parameterID, Information &info) |
virtual int | activateParameter (int parameterID) |
virtual int | setVariable (const std::string &variable, Information &) |
Returns the identificador de la variable cuyo nombre being passed as parameter. | |
virtual int | getVariable (const std::string &variable, Information &) |
Public Member Functions inherited from XC::DistributedBase | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (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. | |
Base class for sparse matrix systems of equations.