xc
|
Matrix of pointers to elements. More...
#include <ElemPtrArray.h>
Public Member Functions | |
ElemPtrArray (const size_t &f=0, const size_t &c=0) | |
Constructor. | |
Element * | findElement (const int &) |
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter. More... | |
const Element * | findElement (const int &) const |
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter. More... | |
Element * | getNearestElement (const Pos3d &p) |
Returns the node closest to the point being passed as parameter. | |
const Element * | getNearestElement (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< Element *, std::vector< Element *> > | 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. | |
Matrix of pointers to elements.
XC::Element * XC::ElemPtrArray::findElement | ( | const int & | tag | ) |
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter.
const XC::Element * XC::ElemPtrArray::findElement | ( | const int & | tag | ) | const |
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter.