xc
Public Member Functions | List of all members

Two-dimensional array of pointers to nodes. More...

#include <NodePtrArray.h>

Inheritance diagram for XC::NodePtrArray:
XC::PtrArrayBase< Node >

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.
 
NodefindNode (const int &tag)
 Returns (if it exists) a pointer to the node which tag is being passed as parameter. More...
 
const NodefindNode (const int &tag) const
 Returns (if it exists) a pointer to the node which tag is being passed as parameter. More...
 
NodegetNearestNode (const Pos3d &p)
 Returns the node closest to the point being passed as parameter.
 
const NodegetNearestNode (const Pos3d &p) const
 Returns the node closest to the point being passed as parameter.
 
- Public Member Functions inherited from XC::PtrArrayBase< Node >
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

- Public Types inherited from XC::PtrArrayBase< Node >
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
 
- Protected Member Functions inherited from XC::PtrArrayBase< Node >
 PtrArrayBase (const size_t &f=0, const size_t &c=0)
 Constructor.
 

Detailed Description

Two-dimensional array of pointers to nodes.

Member Function Documentation

§ findNode() [1/2]

XC::Node * XC::NodePtrArray::findNode ( const int &  tag)

Returns (if it exists) a pointer to the node which tag is being passed as parameter.

§ findNode() [2/2]

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.


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