org.miv.pherd.ntree
Interface CellData

All Known Implementing Classes:
BarycenterCellData, CellLevelData

public interface CellData

The data stored in each cell that represent values specific to a given simulation or algorithm.

In each cell, the cell data represents the data global to this cell that is specific to a given particle simulation. This data represents the global view represented by the cell.

Since:
2007
Author:
Antoine Dutot

Method Summary
 CellData newCellData()
          Factory method to create new cell data when a cell is subdivided.
 void recompute()
          Recompute the data, since the cell contents changed.
 void setCell(Cell cell)
          Set the parent cell of this data.
 

Method Detail

recompute

void recompute()
Recompute the data, since the cell contents changed.


setCell

void setCell(Cell cell)
Set the parent cell of this data. This occurs only once, as soon as the cell knows its data.

Parameters:
cell - The tied cell.

newCellData

CellData newCellData()
Factory method to create new cell data when a cell is subdivided.

Returns:
A new cell data element.


Copyright © 2011. All Rights Reserved.