| xc
    | 
Degrees of freedom graph. More...
#include <DOF_Graph.h>


| Protected Member Functions | |
| DOF_Graph (const AnalysisModel &theModel) | |
| Constructor.  More... | |
|  Protected Member Functions inherited from XC::ModelGraph | |
| ModelGraph (int numVertices, const AnalysisModel &theModel) | |
| Constructor. | |
|  Protected Member Functions inherited from XC::Graph | |
| void | inic (const size_t &) | 
| void | copy (const Graph &other) | 
| int | sendData (Communicator &) | 
| Send object members through the communicator argument. | |
| int | recvData (const Communicator &) | 
| Receives object members through the communicator argument. | |
| Friends | |
| class | AnalysisModel | 
| Additional Inherited Members | |
|  Public Member Functions inherited from XC::Graph | |
| Graph (int numVertices=32) | |
| Constructor.  More... | |
| Graph (const Graph &other) | |
| Copy constructor. | |
| Graph & | operator= (const Graph &other) | 
| Assignment operator. | |
| virtual bool | addVertex (const Vertex &vertexPtr, bool checkAdjacency=true) | 
| Appends a vertex to the graph.  More... | |
| virtual int | addEdge (int vertexTag, int otherVertexTag) | 
| Adds an edge to the graph.  More... | |
| virtual Vertex * | getVertexPtr (int vertexTag) | 
| Returns a pointer to the vertex identified by the tag being passed as parameter. | |
| virtual const Vertex * | getVertexPtr (int vertexTag) const | 
| Returns a pointer to the vertex identified by the tag being passed as parameter.  More... | |
| virtual VertexIter & | getVertices (void) | 
| Returns an iterator to the vertices of the graph.  More... | |
| virtual int | getNumVertex (void) const | 
| Return the number of vertices in the graph. | |
| virtual int | getNumEdge (void) const | 
| Return the number of edges in the graph. | |
| virtual int | getFreeTag (void) | 
| Returns the siguiente identifier (tag) libre. | |
| virtual bool | removeVertex (int tag, bool removeEdgeFlag=true) | 
| Removes from the graph the vertex identified by the tag being passed as parameter.  More... | |
| const Vertex * | BuscaRef (int ref) const | 
| void | getBand (int &, int &) const | 
| Returns the ends of the bandwidth. | |
| int | getVertexDiffMaxima (void) const | 
| Returns the maximum (positive) of the difference between vertices indexes.  More... | |
| int | getVertexDiffExtrema (void) const | 
| Returns the extreme (positive or negative) of the difference between vertices indexes.  More... | |
| virtual int | merge (Graph &other) | 
| Mezcla los dos grafos. | |
| virtual void | Print (std::ostream &os, int flag=0) const | 
| Prints the graph. | |
| int | sendSelf (Communicator &) | 
| Sends object through the communicator argument. | |
| int | recvSelf (const Communicator &) | 
| Receives object through the communicator argument. | |
|  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. | |
| MovableObject & | operator= (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 (Communicator &) | 
| Return the object identifier in the database. | |
| void | setDbTag (int dbTag) | 
| Sets the object identifier in the database. | |
| void | setDbTag (Communicator &) | 
| Sets the object identifier in the database if not already set.  More... | |
| virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) | 
| Sets the value paramto the parameterargv. | |
| virtual int | updateParameter (int parameterID, Information &info) | 
| Updates the parameter identified by parameterIDwithinfo. | |
| 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 | ~DistributedBase (void) | 
| Destructor. | |
| 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. | |
|  Protected Attributes inherited from XC::ModelGraph | |
| const AnalysisModel * | myModel | 
|  Protected Attributes inherited from XC::Graph | |
| ArrayOfTaggedObjects | myVertices | 
| VertexIter | theVertexIter | 
| int | numEdge | 
| int | nextFreeTag | 
Degrees of freedom graph.
DOFGraph is a type of Graph. It is a graph of the DOF connectivity of the analysis model. It is utilised by a SystemOfEqn object to determine the sparsity of the system. It is a subtype of ArrayGraph, though it could just as easily be a subtype of any other type of Graph subclass that fully implements the graph interface.
| 
 | protected | 
Constructor.
The constructor is responsible for constructing the graph given {theModel}. It creates the vertices of the graph, one for every DOF in the model and adds all edges based on the FE_Element connectivity. For this reason the model must be fully populated with the DOF_Group and FE_Element objects before the constructor is called.
 1.8.13
 1.8.13