Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
|
#include <VonMisesVertexBasedDivisionRule.hpp>
Public Member Functions | |
VonMisesVertexBasedDivisionRule () | |
virtual | ~VonMisesVertexBasedDivisionRule () |
double | GetMeanParameter () |
double | GetConcentrationParameter () |
void | SetMeanParameter (double meanParameter) |
void | SetConcentrationParameter (double concentrationParameter) |
virtual c_vector< double, SPACE_DIM > | CalculateCellDivisionVector (CellPtr pParentCell, VertexBasedCellPopulation< SPACE_DIM > &rCellPopulation) |
Public Member Functions inherited from AbstractVertexBasedDivisionRule< SPACE_DIM > | |
AbstractVertexBasedDivisionRule () | |
virtual | ~AbstractVertexBasedDivisionRule () |
void | OutputCellVertexBasedDivisionRuleInfo (out_stream &rParamsFile) |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mMeanParameter |
double | mConcentrationParameter |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractVertexBasedDivisionRule< SPACE_DIM > | |
virtual void | OutputCellVertexBasedDivisionRuleParameters (out_stream &rParamsFile) |
A class to generate a division vector of unit length that points in a direction randomly sampled from a von Mises distribution parameterised by mu (mean parameter) and kappa (concentration parameter).
Definition at line 54 of file VonMisesVertexBasedDivisionRule.hpp.
VonMisesVertexBasedDivisionRule< DIM >::VonMisesVertexBasedDivisionRule | ( | ) |
Default constructor.
Definition at line 40 of file VonMisesVertexBasedDivisionRule.cpp.
|
virtual |
Empty destructor.
Definition at line 48 of file VonMisesVertexBasedDivisionRule.cpp.
|
virtual |
Overridden CalculateCellDivisionVector() method.
Return a unit vector that points in a direction randomly sampled from a von Mises distribution, i.e the arguments are redundant for this division rule.
pParentCell | The cell to divide |
rCellPopulation | The vertex-based cell population |
Implements AbstractVertexBasedDivisionRule< SPACE_DIM >.
Definition at line 78 of file VonMisesVertexBasedDivisionRule.cpp.
References RandomNumberGenerator::Instance(), and RandomNumberGenerator::ranf().
double VonMisesVertexBasedDivisionRule< DIM >::GetConcentrationParameter | ( | ) |
Definition at line 59 of file VonMisesVertexBasedDivisionRule.cpp.
double VonMisesVertexBasedDivisionRule< DIM >::GetMeanParameter | ( | ) |
Definition at line 53 of file VonMisesVertexBasedDivisionRule.cpp.
|
inlineprivate |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 72 of file VonMisesVertexBasedDivisionRule.hpp.
References VonMisesVertexBasedDivisionRule< SPACE_DIM >::mConcentrationParameter, and VonMisesVertexBasedDivisionRule< SPACE_DIM >::mMeanParameter.
void VonMisesVertexBasedDivisionRule< DIM >::SetConcentrationParameter | ( | double | concentrationParameter | ) |
Set mConcentrationParameter.
concentrationParameter | the new value of mConcentrationParameter |
Definition at line 71 of file VonMisesVertexBasedDivisionRule.cpp.
void VonMisesVertexBasedDivisionRule< DIM >::SetMeanParameter | ( | double | meanParameter | ) |
Set mMeanParameter.
meanParameter | the new value of mMeanParameter |
Definition at line 65 of file VonMisesVertexBasedDivisionRule.cpp.
|
friend |
Definition at line 64 of file VonMisesVertexBasedDivisionRule.hpp.
|
private |
Concentration parameter. Must be positive. Initialised to 1 in the constructor.
Definition at line 62 of file VonMisesVertexBasedDivisionRule.hpp.
Referenced by VonMisesVertexBasedDivisionRule< SPACE_DIM >::serialize().
|
private |
Mean parameter. Initialised to 0 in the constructor.
Definition at line 59 of file VonMisesVertexBasedDivisionRule.hpp.
Referenced by VonMisesVertexBasedDivisionRule< SPACE_DIM >::serialize().