xc
|
Two-dimensional array of pointers to nodes. More...
#include <NodePtrArray.h>
Public Member Functions | |
NodePtrArray (const size_t &f=0, const size_t &c=0) | |
Constructor. | |
m_int | getTags (void) const |
Returns an array with the identifiers of the nodes. | |
void | fix (const SFreedom_Constraint &) const |
Impone desplazamiento nulo en the nodes de this set. | |
Node * | findNode (const int &tag) |
Returns (if it exists) a pointer to the node which tag is being passed as parameter. More... | |
const Node * | findNode (const int &tag) const |
Returns (if it exists) a pointer to the node which tag is being passed as parameter. More... | |
Node * | getNearestNode (const Pos3d &p) |
Returns the node closest to the point being passed as parameter. | |
const Node * | getNearestNode (const Pos3d &p) const |
Returns the node closest to the point being passed as parameter. | |
![]() | |
bool | Null (void) const |
Returns true if it's empty or the pointers are NULL. | |
bool | HasNull (void) const |
Returns true if it's empty or any of the pointers are NULL. | |
void | dim (const size_t &, const size_t &) |
Matrix dimensions. | |
std::vector< int > | getRowObjectsTags (const size_t &) |
Asks each of the objects in the row to execute the code being passed as parameter. More... | |
std::vector< int > | getColumnObjectsTags (const size_t &) |
Asks each of the objects in the column to execute the code being passed as parameter. More... | |
std::vector< int > | getRowInteriorObjectsTags (const size_t &) |
Asks each of the objects at the interior of the row to execute the code being passed as parameter. More... | |
std::vector< int > | getColumnInteriorObjectsTags (const size_t &) |
Asks each of the objects at the interior of the column to execute the code being passed as parameter. More... | |
std::vector< int > | getTagsInteriorObjs (void) |
Asks each of the objects at the interior to execute the code being passed as parameter. More... | |
std::vector< int > | getTagsObjs (void) |
Additional Inherited Members | |
![]() | |
typedef TMatrix< Node *, std::vector< Node *> > | m_ptr |
typedef m_ptr::iterator | iterator |
typedef m_ptr::const_iterator | const_iterator |
typedef m_ptr::value_type | value_type |
typedef m_ptr::reference | reference |
typedef m_ptr::const_reference | const_reference |
![]() | |
PtrArrayBase (const size_t &f=0, const size_t &c=0) | |
Constructor. | |
Two-dimensional array of pointers to nodes.
XC::Node * XC::NodePtrArray::findNode | ( | const int & | tag | ) |
Returns (if it exists) a pointer to the node which tag is being passed as parameter.
const XC::Node * XC::NodePtrArray::findNode | ( | const int & | tag | ) | const |
Returns (if it exists) a pointer to the node which tag is being passed as parameter.