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>
52template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM=ELEMENT_DIM>
81 template<
class Archive>
82 void serialize(Archive & archive,
const unsigned int version)
84 archive & boost::serialization::base_object<AbstractCellPopulationBoundaryCondition<ELEMENT_DIM, SPACE_DIM> >(*this);
98 c_vector<double, SPACE_DIM> point,
99 c_vector<double, SPACE_DIM> normal);
153namespace serialization
158template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
159inline void save_construct_data(
164 ar << p_cell_population;
167 c_vector<double, SPACE_DIM> point = t->rGetPointOnPlane();
168 for (
unsigned i=0; i<SPACE_DIM; i++)
172 c_vector<double, SPACE_DIM> normal = t->rGetNormalToPlane();
173 for (
unsigned i=0; i<SPACE_DIM; i++)
182template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
183inline void load_construct_data(
188 ar >> p_cell_population;
191 c_vector<double, SPACE_DIM> point;
192 for (
unsigned i=0; i<SPACE_DIM; i++)
196 c_vector<double, SPACE_DIM> normal;
197 for (
unsigned i=0; i<SPACE_DIM; i++)
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
const c_vector< double, SPACE_DIM > & rGetNormalToPlane() const
void ImposeBoundaryCondition(const std::map< Node< SPACE_DIM > *, c_vector< double, SPACE_DIM > > &rOldLocations)
void OutputCellPopulationBoundaryConditionParameters(out_stream &rParamsFile)
void serialize(Archive &archive, const unsigned int version)
c_vector< double, SPACE_DIM > mPointOnPlane
c_vector< double, SPACE_DIM > mNormalToPlane
bool VerifyBoundaryCondition()
friend class boost::serialization::access
const c_vector< double, SPACE_DIM > & rGetPointOnPlane() const
bool GetUseJiggledNodesOnPlane()
bool mUseJiggledNodesOnPlane
void SetUseJiggledNodesOnPlane(bool useJiggledNodesOnPlane)