32 #include "xc_utils/src/nucleo/EntCmd.h" 46 typedef std::vector<Element *> vector_ptr_elements;
47 typedef vector_ptr_elements::const_reference const_reference;
48 typedef vector_ptr_elements::reference reference;
49 typedef vector_ptr_elements::iterator iterator;
50 typedef vector_ptr_elements::const_iterator const_iterator;
53 vector_ptr_elements theElements;
64 inline size_t size(
void)
const 65 {
return theElements.size(); }
66 inline const_reference front()
const 67 {
return theElements.front(); }
68 inline reference front()
69 {
return theElements.front(); }
70 inline const_reference back()
const 71 {
return theElements.back(); }
72 inline reference back()
73 {
return theElements.back(); }
74 inline const_iterator begin()
const 75 {
return theElements.begin(); }
76 inline iterator begin()
77 {
return theElements.begin(); }
78 inline const_iterator end()
const 79 {
return theElements.end(); }
81 {
return theElements.end(); }
82 iterator
find(
const int &tag);
83 const_iterator
find(
const int &tag)
const;
84 Element *findPtr(
const int &tag);
85 const Element *findPtr(
const int &tag)
const;
87 const_reference operator()(
const size_t &i)
const;
88 reference operator()(
const size_t &i);
89 const_reference operator[](
const size_t &i)
const;
90 reference operator[](
const size_t &i);
virtual void setPtrs(Domain *theDomain, const ID &theElementTags)
Set the element pointers from the element identifiers being passed as parameter.
Definition: ElementPtrs.cc:49
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
Pointers to the elements affected by the load.
Definition: ElementPtrs.h:43
virtual size_t removeElement(const int &tag)
Erases the element identified by the tag being passed as parameter.
Definition: ElementPtrs.cc:110
Base calass for the finite elements.
Definition: Element.h:104
ElementPtrs(void)
Constructor.
Definition: ElementPtrs.cc:39
iterator find(const int &tag)
Returns an iterator to the element identified by the tag being passed as parameter.
Definition: ElementPtrs.cc:70
~ElementPtrs(void)
Destructor.
Definition: ElementPtrs.cc:44
================================================================================
Definition: ContinuaReprComponent.h:34