Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
simulator.detachment.DS_Proportional Class Reference

Proportional detachment method. Function: kDet*L, where L is the local biomass thickness. More...

Inheritance diagram for simulator.detachment.DS_Proportional:
simulator.detachment.LevelSet

Public Member Functions

void init (AgentContainer anAgentGrid, XMLParser root)
 Initialise the object by reading attributes from associated agent grid and XML protocol file. More...
 
- Public Member Functions inherited from simulator.detachment.LevelSet
void init (AgentContainer anAgentGrid, XMLParser root)
 Initialise this LevelSet object by taking information from the associated grid and protocol file. More...
 
void refreshBorder (boolean evalErosion, Simulator aSim)
 Identify the biofilm border. More...
 
LocatedGroup getLandingPoint ()
 Return a random LocatedGroup grid element of the shoving grid where a attaching agent could land. More...
 
void refreshCarrier ()
 Build list of groups belonging to the carrier. More...
 
void computeLevelSet (Simulator aSim)
 Compute erosion time for the whole biofilm. More...
 
LinkedList< LocatedGroupgetBorder ()
 Return list of agent groups on the biofilm/liquid border. More...
 

Protected Member Functions

double getLocalDetachmentSpeed (LocatedGroup aGroup, Simulator aSim)
 Calculate and return the local detachment speed using this detachment method. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from simulator.detachment.LevelSet
static LevelSet staticBuilder (XMLParser root, AgentContainer anAgentGrid)
 Generic constructor called to dynamically instantiate a child class object. More...
 
- Public Attributes inherited from simulator.detachment.LevelSet
LocatedGroup[] _shovingGrid
 

Detailed Description

Proportional detachment method. Function: kDet*L, where L is the local biomass thickness.

The mark-up defines the erosion forces that act on the biofilm surface. Detachment works by removing a layer of biomass based on the detachment speed and the timestep, with the detachment speed calculated via one of the given forms. This class captures the Proportional detachment method.

Author
João Xavier (xavie.nosp@m.rj@m.nosp@m.skcc..nosp@m.org), Memorial Sloan-Kettering Cancer Center (NY, USA)

Member Function Documentation

double simulator.detachment.DS_Proportional.getLocalDetachmentSpeed ( LocatedGroup  aGroup,
Simulator  aSim 
)
protectedvirtual

Calculate and return the local detachment speed using this detachment method.

Calculate and return the local detachment speed using this detachment method

Parameters
aSimThe simulation object used to simulate the conditions specified in the protocol file
aGroupLocated group for which the local detachment speed is being determined
Returns
Double stating local detachment speed for this group

Implements simulator.detachment.LevelSet.

void simulator.detachment.DS_Proportional.init ( AgentContainer  anAgentGrid,
XMLParser  root 
)

Initialise the object by reading attributes from associated agent grid and XML protocol file.

Initialise the object by reading attributes from associated agent grid and XML protocol file

Parameters
anAgentGridAssociated grid of agents
rootXML tag containing information related to this detachment mechanism

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