36 #ifndef GENERALISEDLINEARSPRINGFORCE_HPP_
37 #define GENERALISEDLINEARSPRINGFORCE_HPP_
39 #include "AbstractTwoBodyInteractionForce.hpp"
42 #include <boost/serialization/base_object.hpp>
64 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM=ELEMENT_DIM>
67 friend class TestForces;
72 friend class boost::serialization::access;
79 template<
class Archive>
80 void serialize(Archive & archive,
const unsigned int version)
82 archive & boost::serialization::base_object<AbstractTwoBodyInteractionForce<ELEMENT_DIM, SPACE_DIM> >(*this);
142 unsigned nodeBGlobalIndex,
144 bool isCloserThanRestLength);
159 unsigned nodeBGlobalIndex,
c_vector< double, SPACE_DIM > CalculateForceBetweenNodes(unsigned nodeAGlobalIndex, unsigned nodeBGlobalIndex, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation)
void serialize(Archive &archive, const unsigned int version)
double GetMeinekeSpringStiffness()
double GetMeinekeSpringGrowthDuration()
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
void SetMeinekeDivisionRestingSpringLength(double divisionRestingSpringLength)
double GetMeinekeDivisionRestingSpringLength()
void SetMeinekeSpringGrowthDuration(double springGrowthDuration)
virtual double VariableSpringConstantMultiplicationFactor(unsigned nodeAGlobalIndex, unsigned nodeBGlobalIndex, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation, bool isCloserThanRestLength)
virtual void OutputForceParameters(out_stream &rParamsFile)
GeneralisedLinearSpringForce()
void SetMeinekeSpringStiffness(double springStiffness)
double mMeinekeDivisionRestingSpringLength
virtual ~GeneralisedLinearSpringForce()
double mMeinekeSpringGrowthDuration
double mMeinekeSpringStiffness