36#ifndef MIXEDDIMENSIONMESH_HPP_
37#define MIXEDDIMENSIONMESH_HPP_
39#include "DistributedTetrahedralMesh.hpp"
40#include "AbstractMeshReader.hpp"
43#include <boost/serialization/base_object.hpp>
50template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
143 template<
class Archive>
144 void serialize(Archive & archive,
const unsigned int version)
146 archive & boost::serialization::base_object<DistributedTetrahedralMesh<ELEMENT_DIM, SPACE_DIM> >(*this);
175namespace serialization
180template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
181inline void save_construct_data(
187 ar << partition_type;
194template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
195inline void load_construct_data(
202 ar >> partition_type;
216 EXCEPTION(
"This archive was written for a different number of processors");
#define EXCEPTION(message)
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
static bool CheckNumberOfProcessesOnLoad()
std::vector< Element< 1, SPACE_DIM > * >::const_iterator CableElementIterator
unsigned mNumCableElements
std::pair< NodeCableIterator, NodeCableIterator > CableRangeAtNode
CableElementIterator GetCableElementIteratorEnd() const
CableRangeAtNode GetCablesAtNode(const Node< SPACE_DIM > *pNode)
std::multimap< const Node< SPACE_DIM > *, Element< 1u, SPACE_DIM > * > mNodeToCablesMapping
unsigned GetNumLocalCableElements() const
std::map< unsigned, unsigned > mCableElementsMapping
std::vector< Element< 1u, SPACE_DIM > * > mCableElements
void RegisterCableElement(unsigned index)
std::multimap< constNode< SPACE_DIM > *, Element< 1u, SPACE_DIM > * >::iterator NodeCableIterator
unsigned GetNumCableElements() const
Element< 1u, SPACE_DIM > * GetCableElement(unsigned globalElementIndex) const
bool CalculateDesignatedOwnershipOfCableElement(unsigned globalElementIndex)
friend class boost::serialization::access
void serialize(Archive &archive, const unsigned int version)
void ConstructFromMeshReader(AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > &rMeshReader)
CableElementIterator GetCableElementIteratorBegin() const