11 #ifndef __COLLECTION__
12 #define __COLLECTION__
15 #include <JointCollection.h>
75 void SetN_OwnCells(
int n_OwnCells)
90 void Replace_Coll(
int n_cells,
TBaseCell **cells)
98 void GenerateSortedArrays();
int MarkBoundaryVertices()
mark the vertices that are on the boundary
Definition: Collection.C:152
TBaseCell * GetCell(int i) const
return Cell with index i in Cells-array
Definition: Collection.h:50
int * GlobalIndex
array for Globalcell number in Cells
Definition: Collection.h:38
store cells in an array, used by cell iterators
Definition: Collection.h:18
int GetIndex(TBaseCell *cell)
return Index of cell in Cells-array
Definition: Collection.C:115
int GetN_Cells() const
return number of cells
Definition: Collection.h:46
Definition: JointCollection.h:20
int N_OwnCells
Number of own cells (excluding Halo cells)
Definition: Collection.h:35
TBaseCell ** SortedCells
array with all cells sorted by pointer
Definition: Collection.h:28
int * Index
array with index of SortedCells in Cells
Definition: Collection.h:31
TCollection(int n_cells, TBaseCell **cells)
constructor
Definition: Collection.C:22
void GenerateCellVertNeibs()
Generate Vertex Neibs for all cells in the collection.
Definition: Collection.C:395
information for finite element data structure
Definition: BaseCell.h:25
TBaseCell ** Cells
array containing the pointers to the cells
Definition: Collection.h:25
TJointCollection * GetJointCollection()
return Index of joints in Cells-array
Definition: Collection.C:329
int N_Cells
number of cells stored
Definition: Collection.h:22
int GetHminHmax(double *hmin, double *hmax)
get maximal and minimal diameter
Definition: Collection.C:65
~TCollection()
destructor: delete arrays
Definition: Collection.C:57