XC Open source finite element analysis program
Public Types | Public Member Functions | Protected Member Functions | List of all members
XC::DqPtrsElem Class Reference

Pointer to element container. More...

#include <DqPtrsElem.h>

Inheritance diagram for XC::DqPtrsElem:
XC::DqPtrs< Element >

Public Types

typedef DqPtrs< Element >::const_iterator const_iterator
 
typedef DqPtrs< Element >::iterator iterator
 
typedef DqPtrs< Element >::reference reference
 
typedef DqPtrs< Element >::const_reference const_reference
 
typedef DqPtrs< Element >::size_type size_type
 
- Public Types inherited from XC::DqPtrs< Element >
typedef std::deque< Element * > lst_ptr
 
typedef lst_ptr::const_iterator const_iterator
 
typedef lst_ptr::iterator iterator
 
typedef lst_ptr::reference reference
 
typedef lst_ptr::const_reference const_reference
 
typedef lst_ptr::size_type size_type
 
typedef boost::indirect_iterator< iterator > indIterator
 

Public Member Functions

 DqPtrsElem (EntCmd *owr=nullptr)
 Constructor.
 
 DqPtrsElem (const DqPtrsElem &otro)
 Copy constructor.
 
 DqPtrsElem (const std::deque< Element * > &ts)
 Copy constructor.
 
 DqPtrsElem (const std::set< const Element * > &ts)
 Copy constructor.
 
DqPtrsElemoperator= (const DqPtrsElem &)
 Assignment operator.
 
void extend (const DqPtrsElem &)
 Extend this list with the elements of the container being passed as parameter.
 
bool push_back (Element *)
 
bool push_front (Element *)
 
void clearAll (void)
 Clears out the list of pointers and erases the properties of the object (if any).
 
const_iterator begin (void) const
 
const_iterator end (void) const
 
size_t getNumLiveElements (void) const
 Returns the number of elements of the set which are active.
 
size_t getNumDeadElements (void) const
 Returns the number of elements of the set which are inactive.
 
void kill_elements (void)
 Deactivates the elements.
 
void alive_elements (void)
 Activates the elements.
 
std::set< int > getTags (void) const
 Returns the tags of the elements.
 
void calc_resisting_force (void)
 Calcula los esfuerzos en cada uno of the elements.
 
ElementfindElement (const int &)
 Returns (if it exists) a pointer to the element identified by the tag being passed as parameter.
 
const ElementfindElement (const int &) const
 Returns (if it exists) a pointer to the element identified by the tag being passed as parameter.
 
ElementgetNearestElement (const Pos3d &)
 Returns the element closest to the point being passed as parameter.
 
const ElementgetNearestElement (const Pos3d &) const
 Returns the element closest to the point being passed as parameter.
 
std::deque< Polilinea3d > getContours (bool undeformedGeometry=true) const
 Returns the element set contour.
 
void numera (void)
 Set indices to the objects to allow its use in VTK.
 
- Public Member Functions inherited from XC::DqPtrs< Element >
 DqPtrs (EntCmd *owr=nullptr)
 Constructor.
 
 DqPtrs (const DqPtrs &otro)
 Copy constructor.
 
 DqPtrs (const std::deque< Element * > &ts)
 Copy from deque container.
 
 DqPtrs (const std::set< const Element * > &ts)
 Copy from set container.
 
DqPtrsoperator= (const DqPtrs &)
 Assignment operator.
 
void extend (const DqPtrs &)
 Extend this container with the pointers from the container being passed as parameter.
 
bool push_back (Element *)
 
bool push_front (Element *)
 
bool empty (void) const
 
iterator begin (void)
 
const_iterator begin (void) const
 
iterator end (void)
 
const_iterator end (void) const
 
indIterator indBegin (void)
 
indIterator indEnd (void)
 
const Elementget (const size_t &i) const
 Access specified node with bounds checking.
 
void clear (void)
 Clears out the list of pointers.
 
void clearAll (void)
 Clears out the list of pointers and erases the properties of the object (if any).
 
size_type size (void) const
 
bool in (const Element *) const
 Returns true if the pointer is in the container.
 
const IDgetTags (void) const
 Returns the Tags de los objetos.
 
void insert (iterator pos, InputIterator f, InputIterator l)
 
int sendTags (int posSz, int posDbTag, DbTagData &dt, CommParameters &cp)
 Sends the dbTags of the sets trough the channel being passed as parameter.
 
const IDreceiveTags (int posSz, int pDbTg, DbTagData &dt, const CommParameters &cp)
 Sends the dbTags of the sets through the channel being passed as parameter.
 

Protected Member Functions

void create_arbol (void)
 

Detailed Description

Pointer to element container.


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