ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Protected Attributes | List of all members
TCollection Class Reference

store cells in an array, used by cell iterators More...

#include <Collection.h>

Collaboration diagram for TCollection:
Collaboration graph
[legend]

Public Member Functions

 TCollection (int n_cells, TBaseCell **cells)
 constructor More...
 
int GetN_Cells () const
 return number of cells
 
TBaseCellGetCell (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...
 
TJointCollectionGetJointCollection ()
 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
 

Detailed Description

store cells in an array, used by cell iterators

store cells in an array


Date
14.10.97
Author
Gunar Matthies & Sashikumaar Ganesan : MPI methods (Sashikumaar Ganesan, 08.08.14)

Constructor & Destructor Documentation

TCollection::TCollection ( int  n_cells,
TBaseCell **  cells 
)

constructor

constructor

TCollection::~TCollection ( )

destructor: delete arrays

destructor: delete arrays

Member Function Documentation

int TCollection::GetHminHmax ( double *  hmin,
double *  hmax 
)

get maximal and minimal diameter

get maximal and minimal diameter

Here is the call graph for this function:

int TCollection::GetIndex ( TBaseCell cell)

return Index of cell in Cells-array

return Index of cell in SortedCells-array

Here is the caller graph for this function:

int TCollection::GetIndex ( TVertex **  Array,
int  Length,
TVertex Element 
)

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

Here is the call graph for this function:

int TCollection::MarkBoundaryVertices ( )

mark the vertices that are on the boundary

mark the vertices that are on the boundary

Here is the call graph for this function:


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