CryptProjectionStatistics Class Reference

#include <CryptProjectionStatistics.hpp>

Inheritance diagram for CryptProjectionStatistics:

Inheritance graph
[legend]
Collaboration diagram for CryptProjectionStatistics:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Concrete statistics class for the crypt projection model.

Definition at line 36 of file CryptProjectionStatistics.hpp.


Constructor & Destructor Documentation

CryptProjectionStatistics::CryptProjectionStatistics ( MeshBasedCellPopulation< 2 > &  rCrypt  ) 

Constructor.

Parameters:
rCrypt The crypt

Definition at line 40 of file CryptProjectionStatistics.cpp.


Member Function Documentation

bool CryptProjectionStatistics::CellIsInSection ( double  angle,
const c_vector< double, 2 > &  rCellPosition,
double  widthOfSection = 0.6 
) [private]

CellIsInSection method.

Parameters:
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 45 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].

Parameters:
angle The angle between the crypt section and the x axis in the projection

Definition at line 57 of file CryptProjectionStatistics.cpp.

References AbstractCellPopulation< DIM >::Begin(), CellIsInSection(), AbstractCellPopulation< DIM >::End(), AbstractCentreBasedCellPopulation< DIM >::GetLocationOfCellCentre(), RandomNumberGenerator::Instance(), AbstractCryptStatistics::mrCrypt, and RandomNumberGenerator::ranf().


The documentation for this class was generated from the following files:

Generated on Tue May 31 14:33:09 2011 for Chaste by  doxygen 1.5.5