VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPUniformGridGhostDataGenerator Class Reference

#include <vtkPUniformGridGhostDataGenerator.h>

Inheritance diagram for vtkPUniformGridGhostDataGenerator:
Inheritance graph
[legend]
Collaboration diagram for vtkPUniformGridGhostDataGenerator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPDataSetGhostGenerator Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPUniformGridGhostDataGeneratorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static
vtkPUniformGridGhostDataGenerator
New ()
static int IsTypeOf (const char *type)
static
vtkPUniformGridGhostDataGenerator
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPUniformGridGhostDataGenerator ()
virtual ~vtkPUniformGridGhostDataGenerator ()
void RegisterGrids (vtkMultiBlockDataSet *in)
void ComputeOrigin (vtkMultiBlockDataSet *in)
void ComputeGlobalSpacing (vtkMultiBlockDataSet *in)
void CreateGhostedDataSet (vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)
virtual void GenerateGhostLayers (vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)

Protected Attributes

double GlobalSpacing [3]
double GlobalOrigin [3]
vtkPStructuredGridConnectivityGridConnectivity

Detailed Description

uniform grids.

A concrete implementation of vtkPDataSetGhostGenerator for generating ghost data on a partitioned and distributed domain of uniform grids.

Warning:
  1. The input multi-block dataset must:
    • Have the whole-extent set
    • Each block must be an instance of vtkUniformGrid
    • Each block must have its corresponding global extent set in the meta-data using the PIECE_EXTENT() key
    • The spacing of each block is the same
    • All blocks must have the same fields loaded
    • The multi-block structure is consistent on all processes
  2. The code currently does not handle the following cases:
    • Periodic boundaries
    • Growing ghost layers beyond the extents of the neighboring grid
See also:
vtkDataSetGhostGenerator,vtkUniformGhostDataGenerator, vtkPDataSetGhostGenerator
Tests:
vtkPUniformGridGhostDataGenerator (Tests)

Definition at line 63 of file vtkPUniformGridGhostDataGenerator.h.


Member Typedef Documentation

Reimplemented from vtkPDataSetGhostGenerator.

Definition at line 68 of file vtkPUniformGridGhostDataGenerator.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

static int vtkPUniformGridGhostDataGenerator::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 vtkPDataSetGhostGenerator.

virtual int vtkPUniformGridGhostDataGenerator::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 vtkPDataSetGhostGenerator.

Reimplemented from vtkPDataSetGhostGenerator.

Reimplemented from vtkPDataSetGhostGenerator.

Reimplemented from vtkPDataSetGhostGenerator.

void vtkPUniformGridGhostDataGenerator::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 vtkPDataSetGhostGenerator.

Registers grids associated with this object instance on this process.

A collective operation that computes the global origin of the domain.

A collective operations that computes the global spacing.

Create ghosted data-set.

Generates ghost-layers

Implements vtkPDataSetGhostGenerator.


Member Data Documentation

Definition at line 96 of file vtkPUniformGridGhostDataGenerator.h.

Definition at line 97 of file vtkPUniformGridGhostDataGenerator.h.

Definition at line 98 of file vtkPUniformGridGhostDataGenerator.h.


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