VTK
|
#include <vtkAbstractGridConnectivity.h>
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.
Reimplemented from vtkObject.
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
Definition at line 65 of file vtkAbstractGridConnectivity.h.
vtkAbstractGridConnectivity::vtkAbstractGridConnectivity | ( | ) | [protected] |
virtual vtkAbstractGridConnectivity::~vtkAbstractGridConnectivity | ( | ) | [protected, virtual] |
static int vtkAbstractGridConnectivity::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
virtual int vtkAbstractGridConnectivity::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
static vtkAbstractGridConnectivity* vtkAbstractGridConnectivity::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
virtual vtkObjectBase* vtkAbstractGridConnectivity::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
Reimplemented from vtkObject.
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
void vtkAbstractGridConnectivity::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkObject.
Reimplemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
virtual void vtkAbstractGridConnectivity::SetNumberOfGhostLayers | ( | unsigned | int | ) | [virtual] |
Set/Get the number of ghost layers
virtual unsigned int vtkAbstractGridConnectivity::GetNumberOfGhostLayers | ( | ) | [virtual] |
Set/Get the number of ghost layers
virtual void vtkAbstractGridConnectivity::SetNumberOfGrids | ( | const unsigned int | N | ) | [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.
unsigned int vtkAbstractGridConnectivity::GetNumberOfGrids | ( | ) | [inline] |
Returns the total number of grids.
Definition at line 82 of file vtkAbstractGridConnectivity.h.
virtual void vtkAbstractGridConnectivity::ComputeNeighbors | ( | ) | [pure virtual] |
Computes the grid neighboring topology for the domain
Implemented in vtkStructuredGridConnectivity, vtkPStructuredGridConnectivity, and vtkStructuredAMRGridConnectivity.
virtual void vtkAbstractGridConnectivity::CreateGhostLayers | ( | const int | N = 1 | ) | [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.
vtkUnsignedCharArray * vtkAbstractGridConnectivity::GetGhostedPointGhostArray | ( | const int | gridID | ) | [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.
vtkUnsignedCharArray * vtkAbstractGridConnectivity::GetGhostedCellGhostArray | ( | const int | gridID | ) | [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.
vtkPointData * vtkAbstractGridConnectivity::GetGhostedGridPointData | ( | const int | gridID | ) | [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.
vtkCellData * vtkAbstractGridConnectivity::GetGhostedGridCellData | ( | const int | gridID | ) | [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.
vtkPoints * vtkAbstractGridConnectivity::GetGhostedPoints | ( | const int | gridID | ) | [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.
virtual void vtkAbstractGridConnectivity::FillGhostArrays | ( | const int | gridId, |
vtkUnsignedCharArray * | nodesArray, | ||
vtkUnsignedCharArray * | cellsArray | ||
) | [protected, pure virtual] |
Fills the ghost arrays for the given grid.
Implemented in vtkStructuredAMRGridConnectivity, and vtkStructuredGridConnectivity.
void vtkAbstractGridConnectivity::RegisterGridGhostArrays | ( | const int | gridID, |
vtkUnsignedCharArray * | nodesArray, | ||
vtkUnsignedCharArray * | cellsArray | ||
) | [inline, protected] |
Registers the ghostarrays for the given grid.
Definition at line 411 of file vtkAbstractGridConnectivity.h.
void vtkAbstractGridConnectivity::RegisterFieldData | ( | const int | gridID, |
vtkPointData * | PointData, | ||
vtkCellData * | CellData | ||
) | [inline, protected] |
Registers the grid's field data, i.e., the node and cell data.
Definition at line 430 of file vtkAbstractGridConnectivity.h.
void vtkAbstractGridConnectivity::RegisterGridNodes | ( | const int | gridID, |
vtkPoints * | nodes | ||
) | [inline, protected] |
Registers the grid nodes for the grid associated with the given gridID.
Definition at line 468 of file vtkAbstractGridConnectivity.h.
void vtkAbstractGridConnectivity::AllocateUserRegisterDataStructures | ( | ) | [inline, protected] |
Allocate/De-allocate the data-structures where the user-supplied grids will be registered.
Definition at line 281 of file vtkAbstractGridConnectivity.h.
void vtkAbstractGridConnectivity::DeAllocateUserRegisterDataStructures | ( | ) | [inline, protected] |
Allocate/De-allocate the data-structures where the user-supplied grids will be registered.
Definition at line 296 of file vtkAbstractGridConnectivity.h.
void vtkAbstractGridConnectivity::AllocateInternalDataStructures | ( | ) | [inline, protected] |
Allocated/De-allocate the data-structures where the ghosted grid data will be stored.
Definition at line 344 of file vtkAbstractGridConnectivity.h.
void vtkAbstractGridConnectivity::DeAllocateInternalDataStructures | ( | ) | [inline, protected] |
Allocated/De-allocate the data-structures where the ghosted grid data will be stored.
Definition at line 359 of file vtkAbstractGridConnectivity.h.
unsigned int vtkAbstractGridConnectivity::NumberOfGrids [protected] |
Definition at line 168 of file vtkAbstractGridConnectivity.h.
unsigned int vtkAbstractGridConnectivity::NumberOfGhostLayers [protected] |
Definition at line 169 of file vtkAbstractGridConnectivity.h.
std::vector< vtkUnsignedCharArray* > vtkAbstractGridConnectivity::GridPointGhostArrays [protected] |
Definition at line 173 of file vtkAbstractGridConnectivity.h.
std::vector< vtkUnsignedCharArray* > vtkAbstractGridConnectivity::GridCellGhostArrays [protected] |
Definition at line 174 of file vtkAbstractGridConnectivity.h.
std::vector< vtkPointData* > vtkAbstractGridConnectivity::GridPointData [protected] |
Definition at line 175 of file vtkAbstractGridConnectivity.h.
std::vector< vtkCellData* > vtkAbstractGridConnectivity::GridCellData [protected] |
Definition at line 176 of file vtkAbstractGridConnectivity.h.
std::vector< vtkPoints* > vtkAbstractGridConnectivity::GridPoints [protected] |
Definition at line 177 of file vtkAbstractGridConnectivity.h.
bool vtkAbstractGridConnectivity::AllocatedGhostDataStructures [protected] |
Definition at line 180 of file vtkAbstractGridConnectivity.h.
std::vector< vtkPointData* > vtkAbstractGridConnectivity::GhostedGridPointData [protected] |
Definition at line 181 of file vtkAbstractGridConnectivity.h.
std::vector< vtkCellData* > vtkAbstractGridConnectivity::GhostedGridCellData [protected] |
Definition at line 182 of file vtkAbstractGridConnectivity.h.
std::vector< vtkUnsignedCharArray* > vtkAbstractGridConnectivity::GhostedPointGhostArray [protected] |
Definition at line 183 of file vtkAbstractGridConnectivity.h.
std::vector< vtkUnsignedCharArray* > vtkAbstractGridConnectivity::GhostedCellGhostArray [protected] |
Definition at line 184 of file vtkAbstractGridConnectivity.h.
std::vector< vtkPoints* > vtkAbstractGridConnectivity::GhostedGridPoints [protected] |
Definition at line 185 of file vtkAbstractGridConnectivity.h.