35 #ifndef VERTEXELEMENT_HPP_ 36 #define VERTEXELEMENT_HPP_ 38 #include "MutableElement.hpp" 41 #include <boost/serialization/base_object.hpp> 42 #include <boost/serialization/vector.hpp> 50 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
85 template<
class Archive>
86 void serialize(Archive & archive,
const unsigned int version)
91 archive & boost::serialization::base_object<MutableElement<ELEMENT_DIM, SPACE_DIM> >(*this);
105 const std::vector<bool>& rOrientations);
139 const std::vector<bool>& rOrientations,
185 template<
unsigned SPACE_DIM>
VertexElement(unsigned index, const std::vector< VertexElement< ELEMENT_DIM-1, SPACE_DIM > * > &rFaces, const std::vector< bool > &rOrientations)
friend class boost::serialization::access
bool FaceIsOrientatedClockwise(unsigned index) const
std::vector< VertexElement< ELEMENT_DIM-1, SPACE_DIM > * > mFaces
unsigned GetNumFaces() const
void serialize(Archive &archive, const unsigned int version)
std::vector< bool > mOrientations
VertexElement< ELEMENT_DIM-1, SPACE_DIM > * GetFace(unsigned index) const
void AddFace(VertexElement< ELEMENT_DIM-1, SPACE_DIM > *pFace)