ShortAxisVertexBasedDivisionRule< SPACE_DIM > Class Template Reference

#include <ShortAxisVertexBasedDivisionRule.hpp>

Inherits AbstractVertexBasedDivisionRule< SPACE_DIM >.

Collaboration diagram for ShortAxisVertexBasedDivisionRule< SPACE_DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ShortAxisVertexBasedDivisionRule ()
virtual ~ShortAxisVertexBasedDivisionRule ()
virtual c_vector< double,
SPACE_DIM > 
CalculateCellDivisionVector (CellPtr pParentCell, VertexBasedCellPopulation< SPACE_DIM > &rCellPopulation)

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

template<unsigned SPACE_DIM>
class ShortAxisVertexBasedDivisionRule< SPACE_DIM >

A class to generate the short axis of a cell for vertex-based cell populations, to be used in cell division. This is the default rule that is used in most of the vertex-based simulations.

The short axis is the eigenvector associated with the largest eigenvalue of the moment of inertia of the cell's polygon.

Definition at line 57 of file ShortAxisVertexBasedDivisionRule.hpp.


Constructor & Destructor Documentation

template<unsigned SPACE_DIM>
ShortAxisVertexBasedDivisionRule< SPACE_DIM >::ShortAxisVertexBasedDivisionRule (  )  [inline]

Default constructor.

Definition at line 77 of file ShortAxisVertexBasedDivisionRule.hpp.

template<unsigned SPACE_DIM>
virtual ShortAxisVertexBasedDivisionRule< SPACE_DIM >::~ShortAxisVertexBasedDivisionRule (  )  [inline, virtual]

Empty destructor.

Definition at line 84 of file ShortAxisVertexBasedDivisionRule.hpp.


Member Function Documentation

template<unsigned SPACE_DIM>
c_vector< double, SPACE_DIM > ShortAxisVertexBasedDivisionRule< SPACE_DIM >::CalculateCellDivisionVector ( CellPtr  pParentCell,
VertexBasedCellPopulation< SPACE_DIM > &  rCellPopulation 
) [inline, virtual]

Overridden CalculateCellDivisionVector() method.

Return the short axis of the existing cell, which will be used to form the boundary between the daughter cells.

Parameters:
pParentCell The cell to divide
rCellPopulation The vertex-based cell population
Returns:
the division vector.

Implements AbstractVertexBasedDivisionRule< SPACE_DIM >.

Definition at line 39 of file ShortAxisVertexBasedDivisionRule.cpp.

References AbstractCellPopulation< ELEMENT_DIM, ELEMENT_DIM >::GetLocationIndexUsingCell(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetShortAxisOfElement(), and VertexBasedCellPopulation< DIM >::rGetMesh().

template<unsigned SPACE_DIM>
template<class Archive >
void ShortAxisVertexBasedDivisionRule< SPACE_DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Serialize the object and its member variables.

Parameters:
archive the archive
version the current version of this class

Reimplemented from AbstractVertexBasedDivisionRule< SPACE_DIM >.

Definition at line 68 of file ShortAxisVertexBasedDivisionRule.hpp.


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

Generated by  doxygen 1.6.2