XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | Friends | List of all members

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>

Inheritance diagram for XC::ParallelNumberer:
XC::DOF_Numberer XC::DistributedObj XC::MovableObject XC::DistributedBase XC::DistributedBase

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.
 
MovableObjectoperator= (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 &param)
 
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 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.
 
- 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_NumberergetCopy (void) const
 Virtual constructor.
 
- Protected Member Functions inherited from XC::DOF_Numberer
AnalysisModelgetAnalysisModelPtr (void)
 Returns a pointer to the analysis model.
 
GraphNumberergetGraphNumbererPtr (void)
 
const AnalysisModelgetAnalysisModelPtr (void) const
 Returns a pointer to the analysis model.
 
const GraphNumberergetGraphNumbererPtr (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_Numbereroperator= (const DOF_Numberer &)
 

Friends

class ModelWrapper
 
class FEM_ObjectBroker
 

Additional Inherited Members

- Protected Attributes inherited from XC::DistributedObj
int processID
 
ChannelQueue theChannels
 

Detailed Description

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.


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