store cells in an array, used by cell iterators More...
#include <Collection.h>
Public Member Functions | |
TCollection (int n_cells, TBaseCell **cells) | |
constructor More... | |
int | GetN_Cells () const |
return number of cells | |
TBaseCell * | GetCell (int i) const |
return Cell with index i in Cells-array | |
~TCollection () | |
destructor: delete arrays More... | |
int | GetHminHmax (double *hmin, double *hmax) |
get maximal and minimal diameter More... | |
int | GetIndex (TBaseCell *cell) |
return Index of cell in Cells-array More... | |
int | MarkBoundaryVertices () |
mark the vertices that are on the boundary More... | |
TJointCollection * | GetJointCollection () |
return Index of joints in Cells-array More... | |
void | GenerateCellVertNeibs () |
Generate Vertex Neibs for all cells in the collection. | |
int | GetIndex (TVertex **Array, int Length, TVertex *Element) |
return the Index of the vertex in the sorted array More... | |
void | SetN_OwnCells (int n_OwnCells) |
int | GetN_OwnCells () |
int | GetN_HaloCells () |
int * | GetGlobalIndex () |
void | Replace_Coll (int n_cells, TBaseCell **cells) |
Protected Attributes | |
int | N_Cells |
number of cells stored | |
TBaseCell ** | Cells |
array containing the pointers to the cells | |
TBaseCell ** | SortedCells |
array with all cells sorted by pointer | |
int * | Index |
array with index of SortedCells in Cells | |
int | N_OwnCells |
Number of own cells (excluding Halo cells) | |
int * | GlobalIndex |
array for Globalcell number in Cells | |
store cells in an array, used by cell iterators
store cells in an array
TCollection::TCollection | ( | int | n_cells, |
TBaseCell ** | cells | ||
) |
constructor
constructor
TCollection::~TCollection | ( | ) |
destructor: delete arrays
destructor: delete arrays
int TCollection::GetHminHmax | ( | double * | hmin, |
double * | hmax | ||
) |
get maximal and minimal diameter
get maximal and minimal diameter
int TCollection::GetIndex | ( | TBaseCell * | cell | ) |
return Index of cell in Cells-array
return Index of cell in SortedCells-array
return the Index of the vertex in the sorted array
return the Index of the vertex in the sorted array
TJointCollection * TCollection::GetJointCollection | ( | ) |
return Index of joints in Cells-array
return Index of joints in Cells-array
int TCollection::MarkBoundaryVertices | ( | ) |
mark the vertices that are on the boundary
mark the vertices that are on the boundary