class CellManager

Used to keep cells sorted based on cluster and location

Public Fields

bool DistDone
Flag Set to true when DistributionManager has assigned cells to nodes
int nLocalCells
number of cells on this node
int nGlobalCells
total number of cells = size of GCList
GCLIST* GCList
Array of Global Cell List structs
GCXYZ* GCxyz
Array of position structs - parallel to GDList
int nCSList
size of list = total number of cell clusters
CSLIST* CSData
Pointer to actual cs structs
CSLIST** CSList
Pointer to Cell Cluster list
GCLIST* prevList
Used when loading brain from file

Public Methods

CellManager()
class constructor
~CellManager()
class destructor
GCLIST* MakeGCList(ARRAYS *)
Build Cell lists from initial structures created from input file
void CSSort(CSLIST **, int)
Helper function to sort cell types
int CScompare(CSLIST *, CSLIST *)
Helper function to indicate whether a cluster is less than/ greater than another
CSLIST* GetCSItem(int, int, int)
Return pointer to a particular cell cluster
int FindCSItem(int, int, int)
Return index of a cell cluster
void SetDistFlag()
Set distribution flag to True or false
int GetFirstCellID(int, int, int)
return id of first cell
bool AnyCellsOnNode(int, int, int)
return whether any cells with given attributes exist on this node
int* ListCells(int, int, int, int *, int *)
return list of cell ids
int* ListCellsOnNode(int, int, int, int *)
return list of cell ids
int* ListCellRangeOnNode(int, int, int, int, int, int *)
return list of cell ids
void SaveCellManager( char * )
Save Cell list information to file
void LoadCellManager( char * )
Load cell list information from file

Documentation

Used to keep cells sorted based on cluster and location
bool DistDone
Flag Set to true when DistributionManager has assigned cells to nodes. Some functions can't return valid results before that.

int nLocalCells
number of cells on this node

int nGlobalCells
total number of cells = size of GCList

GCLIST* GCList
Array of Global Cell List structs

GCXYZ* GCxyz
Array of position structs - parallel to GDList

int nCSList
size of list = total number of cell clusters

CSLIST* CSData
Pointer to actual cs structs

CSLIST** CSList
Pointer to Cell Cluster list

GCLIST* prevList
Used when loading brain from file. Old cell information is loaded into this list to help reassign cell data due to different number of Node being used

CellManager()
class constructor

~CellManager()
class destructor

GCLIST* MakeGCList(ARRAYS *)
Build Cell lists from initial structures created from input file

void CSSort(CSLIST **, int)
Helper function to sort cell types

int CScompare(CSLIST *, CSLIST *)
Helper function to indicate whether a cluster is less than/ greater than another

CSLIST* GetCSItem(int, int, int)
Return pointer to a particular cell cluster

int FindCSItem(int, int, int)
Return index of a cell cluster

void SetDistFlag()
Set distribution flag to True or false

int GetFirstCellID(int, int, int)
return id of first cell

bool AnyCellsOnNode(int, int, int)
return whether any cells with given attributes exist on this node

int* ListCells(int, int, int, int *, int *)
return list of cell ids

int* ListCellsOnNode(int, int, int, int *)
return list of cell ids

int* ListCellRangeOnNode(int, int, int, int, int, int *)
return list of cell ids

void SaveCellManager( char * )
Save Cell list information to file

void LoadCellManager( char * )
Load cell list information from file


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de