XC Open source finite element analysis program
Public Types | Public Member Functions | List of all members

Pointers to the elements affected by the load. More...

#include <ElementPtrs.h>

Inheritance diagram for XC::ElementPtrs:

Public Types

typedef std::vector< Element * > vector_ptr_elements
 
typedef vector_ptr_elements::const_reference const_reference
 
typedef vector_ptr_elements::reference reference
 
typedef vector_ptr_elements::iterator iterator
 
typedef vector_ptr_elements::const_iterator const_iterator
 

Public Member Functions

 ElementPtrs (void)
 Constructor.
 
 ~ElementPtrs (void)
 Destructor.
 
virtual void setPtrs (Domain *theDomain, const ID &theElementTags)
 Set the element pointers from the element identifiers being passed as parameter.
 
virtual size_t removeElement (const int &tag)
 Erases the element identified by the tag being passed as parameter.
 
size_t size (void) const
 
const_reference front () const
 
reference front ()
 
const_reference back () const
 
reference back ()
 
const_iterator begin () const
 
iterator begin ()
 
const_iterator end () const
 
iterator end ()
 
iterator find (const int &tag)
 Returns an iterator to the element identified by the tag being passed as parameter.
 
const_iterator find (const int &tag) const
 Returns an iterator to the element identified by the tag being passed as parameter.
 
ElementfindPtr (const int &tag)
 
const ElementfindPtr (const int &tag) const
 
const_reference operator() (const size_t &i) const
 
reference operator() (const size_t &i)
 
const_reference operator[] (const size_t &i) const
 
reference operator[] (const size_t &i)
 

Detailed Description

Pointers to the elements affected by the load.


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