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>
51template<
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);
152namespace serialization
157template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
158inline void save_construct_data(
163 ar << p_cell_population;
166 c_vector<double, SPACE_DIM> point = t->rGetPointOnPlane();
167 for (
unsigned i=0; i<SPACE_DIM; i++)
171 c_vector<double, SPACE_DIM> normal = t->rGetNormalToPlane();
172 for (
unsigned i=0; i<SPACE_DIM; i++)
181template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
182inline 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++)
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)