XC Open source finite element analysis program
|
The ParallelNumberer numbers the dof of a partitioned domain, where the partitions are on different processors and each processor has a ParallelNumberer. The ParalellNumberer sitting on P0, collects each partition graph from P1 through Pn-1, merges them into 1 large graph, & then numbers this graph. The ParallelNumberers sitting on P1 through Pn-1 then receive the mapping info for the dof tag and dof numbering from P0. More...
#include <ParallelNumberer.h>
Public Member Functions | |
int | numberDOF (int lastDOF=-1) |
int | numberDOF (ID &lastDOFs) |
virtual int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
virtual int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
Public Member Functions inherited from XC::DOF_Numberer | |
virtual | ~DOF_Numberer (void) |
Destructor. | |
void | useAlgorithm (const std::string &) |
Sets the algorithm que se usará para numerar el grafo «Reverse Cuthill-Macgee» o simple. | |
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::DistributedObj | |
DistributedObj (const ChannelQueue &theC) | |
bool | buscaCanal (const CommParameters &, int &) |
int | setProcessID (int processTag) |
int | setChannels (const ChannelQueue &theChannels) |
Protected Member Functions | |
int | mergeSubGraph (Graph &theGraph, Graph &theSubGraph, ID &vertexTags, ID &vertexRefs, ID &theSubdomainMap) |
ParallelNumberer (ModelWrapper *) | |
ParallelNumberer (ModelWrapper *, int domainTag, int numSubdomains, const ChannelQueue &) | |
virtual DOF_Numberer * | getCopy (void) const |
Virtual constructor. | |
Protected Member Functions inherited from XC::DOF_Numberer | |
AnalysisModel * | getAnalysisModelPtr (void) |
Returns a pointer to the analysis model. | |
GraphNumberer * | getGraphNumbererPtr (void) |
const AnalysisModel * | getAnalysisModelPtr (void) const |
Returns a pointer to the analysis model. | |
const GraphNumberer * | getGraphNumbererPtr (void) const |
int | sendData (CommParameters &) |
Send object members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives object members through the channel being passed as parameter. | |
void | alloc (const std::string &) |
Crea el numerador de grafos que se le solicita. | |
void | copia (const GraphNumberer &) |
Copia el numerador de grafos. | |
void | libera (void) |
Constructor. | |
DOF_Numberer (ModelWrapper *, int classTag) | |
Constructor. | |
DOF_Numberer (ModelWrapper *) | |
DOF_Numberer (const DOF_Numberer &) | |
DOF_Numberer & | operator= (const DOF_Numberer &) |
Friends | |
class | ModelWrapper |
class | FEM_ObjectBroker |
Additional Inherited Members | |
Protected Attributes inherited from XC::DistributedObj | |
int | processID |
ChannelQueue | theChannels |
The ParallelNumberer numbers the dof of a partitioned domain, where the partitions are on different processors and each processor has a ParallelNumberer. The ParalellNumberer sitting on P0, collects each partition graph from P1 through Pn-1, merges them into 1 large graph, & then numbers this graph. The ParallelNumberers sitting on P1 through Pn-1 then receive the mapping info for the dof tag and dof numbering from P0.