|
xc
|
Pointers to nodes. More...
#include <NodePtrs.h>
Public Types | |
| typedef std::vector< Node * > | vector_ptr_nodes |
| typedef vector_ptr_nodes::const_reference | const_reference |
| typedef vector_ptr_nodes::reference | reference |
| typedef vector_ptr_nodes::iterator | iterator |
| typedef vector_ptr_nodes::const_iterator | const_iterator |
Public Member Functions | |
| NodePtrs (Element *owr, const size_t &sz) | |
| Constructor. | |
| NodePtrs (const NodePtrs &) | |
| Copy constructor. | |
| NodePtrs & | operator= (const NodePtrs &) |
| ~NodePtrs (void) | |
| Destructor. | |
| void | inic (void) |
| Pone a cero los pointers to node. | |
| iterator | find (const int &) |
| Returns an iterator to the node identified by the tag being passed as parameter. More... | |
| const_iterator | find (const int &) const |
| Returns an iterator to the node identified by the tag being passed as parameter. More... | |
| int | find (const Node *) const |
| Returns the index of the node whose pointer is being passed as parameter. | |
| Node * | getNodePtr (const size_t &) |
| Returns a pointer to the node at the position being passed as parameter. More... | |
| const_reference | operator() (const size_t &i) const |
| Returns a const reference to the node at the position being passed as parameter. More... | |
| void | set_node (const size_t &i, Node *) |
| Asigna the pointer to node i. | |
| bool | hasNull (void) const |
| Returns true ifalguno de los pointers es nulo. More... | |
| ID | getNumDOFs (void) const |
| Returns a vector with the number of DOFs for each node. | |
| int | getTotalDOFs (void) const |
| Return the total number of DOFs. | |
| Vector | getDistributionFactor (int mode) const |
| Returns a vector that contains the distribution factors of each node for the mode being passed as parameter. More... | |
| Matrix | getNodeVectors (const Vector &) const |
| Returns the vectors correspondientes a each node disposed in rows. | |
| double | MaxCooNod (int i) const |
| Returns the maximum value de la coordenada i of the nodes. | |
| double | MinCooNod (int i) const |
| Returns the minimum value de la coordenada i of the nodes. | |
| std::vector< int > | getIdx (void) const |
| bool | checkDimension (const size_t &dim) const |
| Checks that the dimensions of the node coordinates are all equal to the number being passed as parameter. More... | |
| size_t | getDimension (void) const |
| Returns the dimension of the node coordinates. | |
| BND3d | Bnd (const double &) const |
| Returns the boundary of the nodes. | |
| const Matrix & | getCoordinates (void) const |
| Returns a matrix with the coordinates of the nodes by rows. | |
| Pos3d | getPosNode (const size_t &i, bool initialGeometry=true) const |
| Return the position of the i-th node. | |
| std::list< Pos3d > | getPositions (bool initialGeometry=true) const |
| Returns a list with the node positions. | |
| Pos3d | getCenterOfMassPosition (bool initialGeometry=true) const |
| Returns the centroid of the node positions. | |
| Node * | getNearestNode (const Pos3d &p, bool initialGeometry=true) |
| Returns the node closest to the point being passed as parameter. | |
| const Node * | getNearestNode (const Pos3d &p, bool initialGeometry=true) const |
| Returns the node closest to the point being passed as parameter. | |
| bool | In (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const |
| Returns true if all the nodes are inside the object. | |
| bool | Out (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const |
| Returns true if the node are outside the object. | |
| bool | In (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const |
| Returns true if all the nodes are inside the object. | |
| bool | Out (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const |
| Returns true if the node are outside the object. | |
| bool | Corta (const Plane &, bool initialGeometry=true) const |
| Returns true if there are nodes in both sides of the plane. | |
| void | resetTributaries (void) const |
| Resets tributary areas (or lengths or volumes) of connected nodes. | |
| void | dumpTributaries (const std::vector< double > &) const |
| Adds to the tributary quantity of each node i the i component of the vector being passed as parameter. More... | |
| const std::vector< int > & | getTags (void) const |
| Returns a vector con los tags of the nodes. | |
| int | getNodeIndex (const Node *) const |
| Return the index of the node pointer in the array. | |
Protected Member Functions | |
| void | disconnect (void) |
| void | setPtrs (Domain *theDomain, const ID &theNodeTags) |
| Sets the node pointers from the node identifiers. | |
Pointers to nodes.
| bool XC::NodePtrs::checkDimension | ( | const size_t & | dim | ) | const |
Checks that the dimensions of the node coordinates are all equal to the number being passed as parameter.
| void XC::NodePtrs::dumpTributaries | ( | const std::vector< double > & | t | ) | const |
Adds to the tributary quantity of each node i the i component of the vector being passed as parameter.
| XC::NodePtrs::iterator XC::NodePtrs::find | ( | const int & | tag | ) |
Returns an iterator to the node identified by the tag being passed as parameter.
| XC::NodePtrs::const_iterator XC::NodePtrs::find | ( | const int & | tag | ) | const |
Returns an iterator to the node identified by the tag being passed as parameter.
| XC::Vector XC::NodePtrs::getDistributionFactor | ( | int | mode | ) | const |
Returns a vector that contains the distribution factors of each node for the mode being passed as parameter.
| XC::Node * XC::NodePtrs::getNodePtr | ( | const size_t & | i | ) |
Returns a pointer to the node at the position being passed as parameter.
| bool XC::NodePtrs::hasNull | ( | void | ) | const |
Returns true ifalguno de los pointers es nulo.
| XC::NodePtrs::const_reference XC::NodePtrs::operator() | ( | const size_t & | i | ) | const |
Returns a const reference to the node at the position being passed as parameter.
1.8.12