35#ifndef MUTABLEELEMENT_HPP_
36#define MUTABLEELEMENT_HPP_
38#include "AbstractElement.hpp"
40#include "EdgeHelper.hpp"
43#include <boost/serialization/base_object.hpp>
44#include <boost/serialization/vector.hpp>
46template<
unsigned SPACE_DIM>
53template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
70 template<
class Archive>
71 void serialize(Archive & archive,
const unsigned int version)
73 archive & boost::serialization::base_object<AbstractElement<ELEMENT_DIM, SPACE_DIM> >(*this);
79 std::vector<Edge<SPACE_DIM>*>
mEdges;
252template<
unsigned SPACE_DIM>
std::vector< Edge< SPACE_DIM > * > mEdges
EdgeHelper< SPACE_DIM > * mEdgeHelper
MutableElement(unsigned index)
std::vector< Edge< SPACE_DIM > * > mEdges
std::set< unsigned > GetNeighbouringElementAtEdgeIndex(unsigned localIndex)
unsigned GetEdgeGlobalIndex(unsigned localIndex) const
void serialize(Archive &archive, const unsigned int version)
void ResetIndex(unsigned index)
virtual bool IsElementOnBoundary() const
long GetLocalEdgeIndex(const Edge< SPACE_DIM > *pEdge) const
EdgeHelper< SPACE_DIM > * mEdgeHelper
void DeleteNode(const unsigned &rIndex)
virtual ~MutableElement()
bool ContainsEdge(const Edge< SPACE_DIM > *pEdge) const
void UpdateNode(const unsigned &rIndex, Node< SPACE_DIM > *pNode)
friend class boost::serialization::access
Edge< SPACE_DIM > * GetEdge(unsigned localIndex) const
void SetEdgeHelper(EdgeHelper< SPACE_DIM > *pEdgeHelper)
unsigned GetNodeLocalIndex(unsigned globalIndex) const
void AddNode(Node< SPACE_DIM > *pNode, const unsigned &rIndex)
unsigned GetNumEdges() const