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

Implements connected volume filtration operation. Provides a base class for geometry specific connected volume filtrators. More...

Public Member Functions

 ConnectedVolume (int nI, int nJ, int nK)
 Initialise the _cvf matrix. More...
 
boolean[] computeCvf (LocatedGroup[] matrixToFilter)
 Implements iterative implementation of connected volume filtering. More...
 
boolean validateElement (int index)
 Determine if this grid element has been validated. More...
 

Protected Member Functions

void initializeCvf ()
 Initiate the cvf process. Research carrier on the padded grid. More...
 

Protected Attributes

int _nTotal
 
int[] gridDim = new int[3]
 
boolean[] _cvf
 
LocatedGroup[] _shoveGrid
 
int _validateInThisIteration
 

Detailed Description

Implements connected volume filtration operation. Provides a base class for geometry specific connected volume filtrators.

Implements connected volume filtration operation. Provides a base class for geometry specific connected volume filtrators.

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

Constructor & Destructor Documentation

simulator.detachment.ConnectedVolume.ConnectedVolume ( int  nI,
int  nJ,
int  nK 
)

Initialise the _cvf matrix.

Initialise the _cvf matrix

Member Function Documentation

boolean [] simulator.detachment.ConnectedVolume.computeCvf ( LocatedGroup[]  matrixToFilter)

Implements iterative implementation of connected volume filtering.

Implements iterative implementation of connected volume filtering. Iteration stop when none grid cell has been added

Parameters
matrixToFilterVectorised array of space occupation matrix
Returns
a vectorized array of a boolean matrix (true for connected to carrier)
void simulator.detachment.ConnectedVolume.initializeCvf ( )
protected

Initiate the cvf process. Research carrier on the padded grid.

Initiate the cvf process. Research carrier on the padded grid

boolean simulator.detachment.ConnectedVolume.validateElement ( int  index)

Determine if this grid element has been validated.

Determine if this grid element has been validated

Returns
true if this grid element has been validated

Member Data Documentation

boolean [] simulator.detachment.ConnectedVolume._cvf
protected

Connected volume filtration matrix of size _nTotal.

int simulator.detachment.ConnectedVolume._nTotal
protected

Total number of elements in the grid

LocatedGroup [] simulator.detachment.ConnectedVolume._shoveGrid
protected

Shoving grid to use to determine which agents to mark for sloughing

int simulator.detachment.ConnectedVolume._validateInThisIteration
protected

Integer noting whether a grid element needs to be validated (1) in an iteration or not (0)

int [] simulator.detachment.ConnectedVolume.gridDim = new int[3]
protected

Store grid dimensions


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