36 #ifndef PLANEBOUNDARYCONDITION_HPP_ 37 #define PLANEBOUNDARYCONDITION_HPP_ 39 #include "AbstractCellPopulationBoundaryCondition.hpp" 42 #include <boost/serialization/base_object.hpp> 43 #include <boost/serialization/vector.hpp> 51 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM=ELEMENT_DIM>
80 template<
class Archive>
81 void serialize(Archive & archive,
const unsigned int version)
83 archive & boost::serialization::base_object<AbstractCellPopulationBoundaryCondition<ELEMENT_DIM, SPACE_DIM> >(*this);
97 c_vector<double, SPACE_DIM> point,
98 c_vector<double, SPACE_DIM> normal);
152 namespace serialization
157 template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
158 inline void save_construct_data(
163 ar << p_cell_population;
167 for (
unsigned i=0; i<SPACE_DIM; i++)
172 for (
unsigned i=0; i<SPACE_DIM; i++)
181 template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
182 inline void load_construct_data(
187 ar >> p_cell_population;
190 c_vector<double, SPACE_DIM> point;
191 for (
unsigned i=0; i<SPACE_DIM; i++)
195 c_vector<double, SPACE_DIM> normal;
196 for (
unsigned i=0; i<SPACE_DIM; i++)
c_vector< double, SPACE_DIM > mPointOnPlane
bool mUseJiggledNodesOnPlane
const AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > * GetCellPopulation() const
void serialize(Archive &archive, const unsigned int version)
void ImposeBoundaryCondition(const std::map< Node< SPACE_DIM > *, c_vector< double, SPACE_DIM > > &rOldLocations)
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
void OutputCellPopulationBoundaryConditionParameters(out_stream &rParamsFile)
friend class boost::serialization::access
bool VerifyBoundaryCondition()
c_vector< double, SPACE_DIM > mNormalToPlane
PlaneBoundaryCondition(AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation, c_vector< double, SPACE_DIM > point, c_vector< double, SPACE_DIM > normal)
void SetUseJiggledNodesOnPlane(bool useJiggledNodesOnPlane)
const c_vector< double, SPACE_DIM > & rGetNormalToPlane() const
gcov doesn't like this file...
bool GetUseJiggledNodesOnPlane()
const c_vector< double, SPACE_DIM > & rGetPointOnPlane() const