|
Chaste Release::3.1
|
#include <CryptProjectionStatistics.hpp>
Inheritance diagram for CryptProjectionStatistics:
Collaboration diagram for CryptProjectionStatistics:Public Member Functions | |
| CryptProjectionStatistics (MeshBasedCellPopulation< 2 > &rCrypt) | |
| std::vector< CellPtr > | GetCryptSection (double angle=DBL_MAX) |
Private Member Functions | |
| bool | CellIsInSection (double angle, const c_vector< double, 2 > &rCellPosition, double widthOfSection=0.6) |
Concrete statistics class for the crypt projection model.
Definition at line 44 of file CryptProjectionStatistics.hpp.
| CryptProjectionStatistics::CryptProjectionStatistics | ( | MeshBasedCellPopulation< 2 > & | rCrypt | ) |
Constructor.
| rCrypt | The crypt |
Definition at line 47 of file CryptProjectionStatistics.cpp.
| bool CryptProjectionStatistics::CellIsInSection | ( | double | angle, |
| const c_vector< double, 2 > & | rCellPosition, | ||
| double | widthOfSection = 0.6 |
||
| ) | [private] |
CellIsInSection method.
| angle | The angle between the crypt section and the x axis in the projection |
| rCellPosition | The vector of a cell's position |
| widthOfSection | The width of the section |
Definition at line 52 of file CryptProjectionStatistics.cpp.
Referenced by GetCryptSection().
| std::vector< CellPtr > CryptProjectionStatistics::GetCryptSection | ( | double | angle = DBL_MAX | ) |
GetCryptSection method. Takes in an angle from the interval (-pi, pi].
| angle | The angle between the crypt section and the x axis in the projection |
Definition at line 64 of file CryptProjectionStatistics.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), CellIsInSection(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), RandomNumberGenerator::Instance(), AbstractCryptStatistics::mrCrypt, and RandomNumberGenerator::ranf().