37 #ifndef CHASTECUBOID_HPP_ 38 #define CHASTECUBOID_HPP_ 40 #include <boost/serialization/base_object.hpp> 41 #include "AbstractChasteRegion.hpp" 42 #include "ChastePoint.hpp" 50 template <
unsigned SPACE_DIM>
61 template<
class Archive>
62 void serialize(Archive & archive,
const unsigned int version)
64 archive & boost::serialization::base_object<AbstractChasteRegion<SPACE_DIM> >(*this);
99 double GetWidth(
unsigned rDimension)
const;
115 namespace serialization
118 template<
class Archive,
unsigned SPACE_DIM>
119 inline void save_construct_data(
132 template<
class Archive,
unsigned SPACE_DIM>
133 inline void load_construct_data(
144 delete p_upper_corner;
145 delete p_lower_corner;
bool DoesContain(const ChastePoint< SPACE_DIM > &rPointToCheck) const
friend class boost::serialization::access
const ChastePoint< SPACE_DIM > & rGetUpperCorner() const
ChastePoint< SPACE_DIM > mUpperCorner
double GetWidth(unsigned rDimension) const
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
ChasteCuboid(ChastePoint< SPACE_DIM > &rLowerPoint, ChastePoint< SPACE_DIM > &rUpperPoint)
void serialize(Archive &archive, const unsigned int version)
const ChastePoint< SPACE_DIM > & rGetLowerCorner() const
unsigned GetLongestAxis() const
ChastePoint< SPACE_DIM > mLowerCorner
gcov doesn't like this file...