XC Open source finite element analysis program
|
Diagonal matrix distributed systems of equations. More...
#include <DistributedDiagonalSOE.h>
Public Member Functions | |
int | setSize (Graph &theGraph) |
Sets the size of the system from the number of vertices in the graph. | |
int | addA (const Matrix &, const ID &, double fact=1.0) |
void | zeroA (void) |
int | sendSelf (CommParameters &) |
int | recvSelf (const CommParameters &) |
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 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 | 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. | |
Public Member Functions inherited from XC::DistributedLinSOE | |
int | setChannels (const ChannelQueue &) |
Public Member Functions inherited from XC::DistributedObj | |
DistributedObj (const ChannelQueue &theC) | |
bool | buscaCanal (const CommParameters &, int &) |
int | setProcessID (int processTag) |
int | setChannels (const ChannelQueue &theChannels) |
Friends | |
class | SoluMethod |
class | DistributedDiagonalSolver |
Additional Inherited Members | |
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) | |
Protected Member Functions inherited from XC::DistributedLinSOE | |
int | sendGraph (Graph &, ID &) |
Collect graph, send it off, vector back containing size of system, etc. | |
int | getSubGraphs (Graph &) |
From each distributed SOE recv it's graph and merge them into master graph. | |
int | sendSizeData (const ID &) |
To each distributed SOE send the size data and merge them into master graph. | |
void | calcLocalMap (const int &) |
int | getSendID (CommParameters &) |
int | send (CommParameters &) |
int | receive (const CommParameters &) |
Protected Attributes inherited from XC::FactoredSOEBase | |
bool | factored |
Protected Attributes inherited from XC::LinearSOEData | |
int | size |
Vector | B |
order of A | |
Vector | X |
Protected Attributes inherited from XC::DistributedLinSOE | |
std::vector< ID > | localCol |
Protected Attributes inherited from XC::DistributedObj | |
int | processID |
ChannelQueue | theChannels |
Diagonal matrix distributed systems of equations.