VTK
|
#include <vtkStructuredImplicitConnectivity.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsA (const char *type) |
vtkStructuredImplicitConnectivity * | NewInstance () const |
void | SetWholeExtent (int wholeExt[6]) |
Sets the whole extent for the distributed structured domain. | |
void | RegisterGrid (const int gridID, int extent[6], vtkPoints *gridPnts, vtkPointData *pointData) |
void | RegisterRectilinearGrid (const int gridID, int extent[6], vtkDataArray *xcoords, vtkDataArray *ycoords, vtkDataArray *zcoords, vtkPointData *pointData) |
void | EstablishConnectivity () |
Finds implicit connectivity for a distributed structured dataset. | |
bool | HasImplicitConnectivity () |
Checks if there is implicit connectivity. | |
void | ExchangeData () |
Exchanges one layer (row or column) of data between neighboring grids to fix the implicit connectivity. | |
void | GetOutputStructuredGrid (const int gridID, vtkStructuredGrid *grid) |
Gets the output structured grid instance on this process. | |
void | GetOutputImageData (const int gridID, vtkImageData *grid) |
Gets the output uniform grid instance on this process. | |
void | GetOutputRectilinearGrid (const int gridID, vtkRectilinearGrid *grid) |
Gets the output rectilinear grid instance on this process. | |
Static Public Member Functions | |
static vtkStructuredImplicitConnectivity * | New () |
static int | IsTypeOf (const char *type) |
static vtkStructuredImplicitConnectivity * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkStructuredImplicitConnectivity () | |
virtual | ~vtkStructuredImplicitConnectivity () |
bool | GlobalDataDescriptionMatch () |
Checks if the data description matches globally. | |
void | PackData (int ext[6], vtkMultiProcessStream &bytestream) |
Packs the data to send into a bytestream. | |
void | UnPackData (unsigned char *buffer, unsigned int size) |
Unpacks the data to the output grid. | |
void | AllocateBuffers (const int dim) |
Allocates send/rcv buffers needed to carry out the communication. | |
void | ComputeNeighbors () |
Computes the neighbors with implicit connectivity. | |
void | ConstructOutput () |
Constructs the output data-structures. | |
void | GrowGrid (const int dim) |
Grows grid along a given dimension. | |
void | UpdateNeighborList (const int dim) |
Updates the list of neighbors after growing the grid along the given dimension dim. | |
void | GetGlobalImplicitConnectivityState () |
Gets whether there is implicit connectivity across all processes. | |
void | ExchangeExtents () |
Exchanges extents among processes. | |
Protected Attributes | |
vtkMPIController * | Controller |
vtk::detail::DomainMetaData * | DomainInfo |
vtk::detail::StructuredGrid * | InputGrid |
vtk::detail::StructuredGrid * | OutputGrid |
vtk::detail::CommunicationManager * | CommManager |
a distributed structured dataset that is implicitly connected among partitions without abutting. This creates a gap between partitions and introduces a cell that spans multiple zones. This typically arises with finite difference grids, which are partitioned with respect to the nodes of the grid, or, when a filter samples the grid, e.g., to get a lower resolution representation.
This class is intended as a lower-level helper for higher level VTK filters that provides functionality for resolving the implicit connectivity (gap) between two or more partitions of a distributed structured dataset.
Definition at line 69 of file vtkStructuredImplicitConnectivity.h.
Reimplemented from vtkObject.
Definition at line 75 of file vtkStructuredImplicitConnectivity.h.
virtual vtkStructuredImplicitConnectivity::~vtkStructuredImplicitConnectivity | ( | ) | [protected, virtual] |
static vtkStructuredImplicitConnectivity* vtkStructuredImplicitConnectivity::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
void vtkStructuredImplicitConnectivity::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
static int vtkStructuredImplicitConnectivity::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.
virtual int vtkStructuredImplicitConnectivity::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.
static vtkStructuredImplicitConnectivity* vtkStructuredImplicitConnectivity::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkStructuredImplicitConnectivity::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented from vtkObject.
void vtkStructuredImplicitConnectivity::SetWholeExtent | ( | int | wholeExt[6] | ) |
Sets the whole extent for the distributed structured domain.
wholeExt | the extent of the entire domain (in). |
void vtkStructuredImplicitConnectivity::RegisterGrid | ( | const int | gridID, |
int | extent[6], | ||
vtkPoints * | gridPnts, | ||
vtkPointData * | pointData | ||
) |
void vtkStructuredImplicitConnectivity::RegisterRectilinearGrid | ( | const int | gridID, |
int | extent[6], | ||
vtkDataArray * | xcoords, | ||
vtkDataArray * | ycoords, | ||
vtkDataArray * | zcoords, | ||
vtkPointData * | pointData | ||
) |
Finds implicit connectivity for a distributed structured dataset.
Checks if there is implicit connectivity.
Exchanges one layer (row or column) of data between neighboring grids to fix the implicit connectivity.
void vtkStructuredImplicitConnectivity::GetOutputStructuredGrid | ( | const int | gridID, |
vtkStructuredGrid * | grid | ||
) |
Gets the output structured grid instance on this process.
gridID | the ID of the grid |
grid | pointer to data-structure where to store the output. |
void vtkStructuredImplicitConnectivity::GetOutputImageData | ( | const int | gridID, |
vtkImageData * | grid | ||
) |
Gets the output uniform grid instance on this process.
gridID | the ID of the grid. |
grid | pointer to data-structure where to store the output. |
void vtkStructuredImplicitConnectivity::GetOutputRectilinearGrid | ( | const int | gridID, |
vtkRectilinearGrid * | grid | ||
) |
Gets the output rectilinear grid instance on this process.
gridID | the ID of the grid. |
grid | pointer to data-structure where to store the output. |
bool vtkStructuredImplicitConnectivity::GlobalDataDescriptionMatch | ( | ) | [protected] |
Checks if the data description matches globally.
void vtkStructuredImplicitConnectivity::PackData | ( | int | ext[6], |
vtkMultiProcessStream & | bytestream | ||
) | [protected] |
Packs the data to send into a bytestream.
void vtkStructuredImplicitConnectivity::UnPackData | ( | unsigned char * | buffer, |
unsigned int | size | ||
) | [protected] |
Unpacks the data to the output grid.
void vtkStructuredImplicitConnectivity::AllocateBuffers | ( | const int | dim | ) | [protected] |
Allocates send/rcv buffers needed to carry out the communication.
void vtkStructuredImplicitConnectivity::ComputeNeighbors | ( | ) | [protected] |
Computes the neighbors with implicit connectivity.
void vtkStructuredImplicitConnectivity::ConstructOutput | ( | ) | [protected] |
Constructs the output data-structures.
void vtkStructuredImplicitConnectivity::GrowGrid | ( | const int | dim | ) | [protected] |
Grows grid along a given dimension.
dim | the dimension in query. |
void vtkStructuredImplicitConnectivity::UpdateNeighborList | ( | const int | dim | ) | [protected] |
Updates the list of neighbors after growing the grid along the given dimension dim.
dim | the dimension in query. |
void vtkStructuredImplicitConnectivity::GetGlobalImplicitConnectivityState | ( | ) | [protected] |
Gets whether there is implicit connectivity across all processes.
void vtkStructuredImplicitConnectivity::ExchangeExtents | ( | ) | [protected] |
Exchanges extents among processes.
Definition at line 152 of file vtkStructuredImplicitConnectivity.h.
vtk::detail::DomainMetaData* vtkStructuredImplicitConnectivity::DomainInfo [protected] |
Definition at line 154 of file vtkStructuredImplicitConnectivity.h.
vtk::detail::StructuredGrid* vtkStructuredImplicitConnectivity::InputGrid [protected] |
Definition at line 155 of file vtkStructuredImplicitConnectivity.h.
vtk::detail::StructuredGrid* vtkStructuredImplicitConnectivity::OutputGrid [protected] |
Definition at line 156 of file vtkStructuredImplicitConnectivity.h.
vtk::detail::CommunicationManager* vtkStructuredImplicitConnectivity::CommManager [protected] |
Definition at line 157 of file vtkStructuredImplicitConnectivity.h.