VTK
|
#include <vtkAbstractGridConnectivity.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkAbstractGridConnectivity * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetNumberOfGrids (const unsigned int N)=0 |
unsigned int | GetNumberOfGrids () |
virtual void | ComputeNeighbors ()=0 |
virtual void | CreateGhostLayers (const int N=1)=0 |
vtkUnsignedCharArray * | GetGhostedPointGhostArray (const int gridID) |
vtkUnsignedCharArray * | GetGhostedCellGhostArray (const int gridID) |
vtkPointData * | GetGhostedGridPointData (const int gridID) |
vtkCellData * | GetGhostedGridCellData (const int gridID) |
vtkPoints * | GetGhostedPoints (const int gridID) |
virtual void | SetNumberOfGhostLayers (unsigned int) |
virtual unsigned int | GetNumberOfGhostLayers () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAbstractGridConnectivity * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkAbstractGridConnectivity () | |
virtual | ~vtkAbstractGridConnectivity () |
void | RegisterGridNodes (const int gridID, vtkPoints *nodes) |
virtual void | FillGhostArrays (const int gridId, vtkUnsignedCharArray *nodesArray, vtkUnsignedCharArray *cellsArray)=0 |
void | RegisterGridGhostArrays (const int gridID, vtkUnsignedCharArray *nodesArray, vtkUnsignedCharArray *cellsArray) |
void | RegisterFieldData (const int gridID, vtkPointData *PointData, vtkCellData *CellData) |
void | AllocateUserRegisterDataStructures () |
void | DeAllocateUserRegisterDataStructures () |
void | AllocateInternalDataStructures () |
void | DeAllocateInternalDataStructures () |
Protected Attributes | |
unsigned int | NumberOfGrids |
unsigned int | NumberOfGhostLayers |
std::vector < vtkUnsignedCharArray * > | GridPointGhostArrays |
std::vector < vtkUnsignedCharArray * > | GridCellGhostArrays |
std::vector< vtkPointData * > | GridPointData |
std::vector< vtkCellData * > | GridCellData |
std::vector< vtkPoints * > | GridPoints |
bool | AllocatedGhostDataStructures |
std::vector< vtkPointData * > | GhostedGridPointData |
std::vector< vtkCellData * > | GhostedGridCellData |
std::vector < vtkUnsignedCharArray * > | GhostedPointGhostArray |
std::vector < vtkUnsignedCharArray * > | GhostedCellGhostArray |
std::vector< vtkPoints * > | GhostedGridPoints |
A superclass that defines the interface to be implemented by all concrete grid connectivity classes. Grid connectivity classes provide the mechanism to achieve the following:
Handling of partitioned/distributed data
Construct the neighboring topology information for each partition,e.g., used for creating communication lists and in computing statistics,i.e., average, mean, etc.
Creation of ghost layers
Provides the mechanism for automatically generating ghost information given a partitioned/distributed grid configuration.
Definition at line 62 of file vtkAbstractGridConnectivity.h.
typedef vtkObject vtkAbstractGridConnectivity::Superclass |
Definition at line 65 of file vtkAbstractGridConnectivity.h.
|
protected |
|
protectedvirtual |
|
static |
|
virtual |
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
|
static |
|
protectedvirtual |
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
vtkAbstractGridConnectivity* vtkAbstractGridConnectivity::NewInstance | ( | ) | const |
void vtkAbstractGridConnectivity::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set/Get the number of ghost layers
|
virtual |
Set/Get the number of ghost layers
|
pure virtual |
Sets the total number of grids in the domain. Note: This method is implemented by concrete classes. NOTE: Concrete classes implementing this pure virtual method must set the number of grids and call AllocateUserRegisterDataStructures in addition to defining any other additional functionality.
Implemented in vtkStructuredAMRGridConnectivity, vtkStructuredGridConnectivity, and vtkPStructuredGridConnectivity.
|
inline |
Returns the total number of grids.
Definition at line 82 of file vtkAbstractGridConnectivity.h.
|
pure virtual |
Computes the grid neighboring topology for the domain
Implemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
|
pure virtual |
Creates N layers of ghost layers where N is the number of cells that will be added to each grid. If no parameter is supplied, N has a nominal value of 1, in which case 1 layer of cells would be added. NOTE: This method is implemented by concrete implementations
Implemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
|
inline |
Returns the ghosted points ghost array for the grid associated with the given grid ID. The return pointer is a shallow-copy of the internal data-structure. The pointer may be NULL iff there is no ghosted points ghost array for the requested grid.
Definition at line 195 of file vtkAbstractGridConnectivity.h.
|
inline |
Returns the ghosted cells ghost array for the grid associated with the given grid ID. The return pointer is a shallow-copy of the internal data-structure. The pointer may be NULL iff there is no ghosted cells ghost array for the requested grid.
Definition at line 213 of file vtkAbstractGridConnectivity.h.
|
inline |
Returns the ghosted grid point data for the grid associated with the given grid ID. The return pointer is a shallow-copy of the internal data-structure. The pointer may be NULL iff there is no ghosted point data for the requested grid.
Definition at line 230 of file vtkAbstractGridConnectivity.h.
|
inline |
Returns the ghosted grid cell data for the grid associated with the given grid ID. The return pointer is a shallow-copy of the internal data-structure. The pointer may be NULL iff there is no ghosted cell data for the requested grid.
Definition at line 247 of file vtkAbstractGridConnectivity.h.
|
inline |
Returns the ghosted grid points for the grid associated with the given grid ID. The return pointer is a shallow-copy of the internal data structure. The pointer may be NULL iff there are no ghosted points created for the requested grid.
Definition at line 264 of file vtkAbstractGridConnectivity.h.
|
protectedpure virtual |
Fills the ghost arrays for the given grid.
Implemented in vtkStructuredAMRGridConnectivity, and vtkStructuredGridConnectivity.
|
inlineprotected |
Registers the ghostarrays for the given grid.
Definition at line 411 of file vtkAbstractGridConnectivity.h.
|
inlineprotected |
Registers the grid's field data, i.e., the node and cell data.
Definition at line 430 of file vtkAbstractGridConnectivity.h.
|
inlineprotected |
Registers the grid nodes for the grid associated with the given gridID.
Definition at line 468 of file vtkAbstractGridConnectivity.h.
|
inlineprotected |
Allocate/De-allocate the data-structures where the user-supplied grids will be registered.
Definition at line 281 of file vtkAbstractGridConnectivity.h.
|
inlineprotected |
Allocate/De-allocate the data-structures where the user-supplied grids will be registered.
Definition at line 296 of file vtkAbstractGridConnectivity.h.
|
inlineprotected |
Allocated/De-allocate the data-structures where the ghosted grid data will be stored.
Definition at line 344 of file vtkAbstractGridConnectivity.h.
|
inlineprotected |
Allocated/De-allocate the data-structures where the ghosted grid data will be stored.
Definition at line 359 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 168 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 169 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 173 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 174 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 175 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 176 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 177 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 180 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 181 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 182 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 183 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 184 of file vtkAbstractGridConnectivity.h.
|
protected |
Definition at line 185 of file vtkAbstractGridConnectivity.h.