|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkStructuredAMRGridConnectivity * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
void | Initialize (const unsigned int NumberOfLevels, const unsigned int N, const int RefinementRatio=-1) |
| Initializes this instance of vtkStructuredAMRGridConnectivity where N is the total number of grids in the AMR hierarchy.
|
|
void | ComputeNeighbors () override |
| Computes neighboring information.
|
|
void | CreateGhostLayers (const int N=1) override |
| Creates ghost layers.
|
|
virtual void | RegisterGrid (const int gridIdx, const int level, const int refinementRatio, int extents[6], vtkUnsignedCharArray *nodesGhostArray, vtkUnsignedCharArray *cellGhostArray, vtkPointData *pointData, vtkCellData *cellData, vtkPoints *gridNodes) |
| Registers the AMR grid with the given global linear grid ID (starting numbering from 0) and level and refinement ratio.
|
|
virtual void | RegisterGrid (const int gridIdx, const int level, int extents[6], vtkUnsignedCharArray *nodesGhostArray, vtkUnsignedCharArray *cellGhostArray, vtkPointData *pointData, vtkCellData *cellData, vtkPoints *gridNodes) |
| Registers the AMR grid with the given global linear grid ID (starting numbering from 0) and level.
|
|
int | GetNumberOfNeighbors (const int gridID) |
| Returns the number of neighbors for the grid corresponding to the given grid ID.
|
|
void | GetGhostedExtent (const int gridID, int ext[6]) |
| Returns the ghost extend for the grid corresponding to the given grid ID.
|
|
vtkStructuredAMRNeighbor | GetNeighbor (const int gridID, const int nei) |
| Returns the AMR neighbor for the patch with the corresponding grid ID.
|
|
|
virtual void | SetBalancedRefinement (bool) |
| Get/Set macro for BalancedRefinement property, default is true.
|
|
virtual bool | GetBalancedRefinement () |
| Get/Set macro for BalancedRefinement property, default is true.
|
|
|
virtual void | SetNodeCentered (bool) |
| Get/Set macro NodeCentered property which indicates if the data is node-centered or cell-centered.
|
|
virtual bool | GetNodeCentered () |
| Get/Set macro NodeCentered property which indicates if the data is node-centered or cell-centered.
|
|
|
virtual void | SetCellCentered (bool) |
| Get/Set CellCentered property which indicates if the data is cell-centered By default, cell-centered is set to true.
|
|
virtual bool | GetCellCentered () |
| Get/Set CellCentered property which indicates if the data is cell-centered By default, cell-centered is set to true.
|
|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkAbstractGridConnectivity * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | SetNumberOfGrids (const unsigned int N)=0 |
| Sets the total number of grids in the domain.
|
|
unsigned int | GetNumberOfGrids () |
| Returns the total number of grids.
|
|
virtual void | ComputeNeighbors ()=0 |
| Computes the grid neighboring topology for the domain.
|
|
virtual void | CreateGhostLayers (const int N=1)=0 |
| Creates N layers of ghost layers where N is the number of cells that will be added to each grid.
|
|
vtkUnsignedCharArray * | GetGhostedPointGhostArray (const int gridID) |
| Returns the ghosted points ghost array for the grid associated with the given grid ID.
|
|
vtkUnsignedCharArray * | GetGhostedCellGhostArray (const int gridID) |
| Returns the ghosted cells ghost array for the grid associated with the given grid ID.
|
|
vtkPointData * | GetGhostedGridPointData (const int gridID) |
| Returns the ghosted grid point data for the grid associated with the given grid ID.
|
|
vtkCellData * | GetGhostedGridCellData (const int gridID) |
| Returns the ghosted grid cell data for the grid associated with the given grid ID.
|
|
vtkPoints * | GetGhostedPoints (const int gridID) |
| Returns the ghosted grid points for the grid associated with the given grid ID.
|
|
virtual void | SetNumberOfGhostLayers (unsigned int) |
| Set/Get the number of ghost layers.
|
|
virtual unsigned int | GetNumberOfGhostLayers () |
| Set/Get the number of ghost layers.
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on.
|
|
virtual void | DebugOff () |
| Turn debugging output off.
|
|
bool | GetDebug () |
| Get the value of the debug flag.
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag.
|
|
virtual void | Modified () |
| Update the modification time for this object.
|
|
virtual vtkMTimeType | GetMTime () |
| Return this object's modified time.
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method.
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
const char * | GetClassName () const |
| Return the class name as a string.
|
|
virtual vtkTypeBool | IsA (const char *name) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
|
|
virtual void | Delete () |
| Delete a VTK object.
|
|
virtual void | FastDelete () |
| Delete a reference to this object.
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream.
|
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object).
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object).
|
|
int | GetReferenceCount () |
| Return the current reference count of this object.
|
|
void | SetReferenceCount (int) |
| Sets the reference count.
|
|
bool | GetIsInMemkind () const |
| A local state flag that remembers whether this object lives in the normal or extended memory space.
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkStructuredAMRGridConnectivity () |
|
| ~vtkStructuredAMRGridConnectivity () override |
|
void | SetNumberOfGrids (const unsigned int N) override |
| Sets the total number of grids(blocks) in the AMR hierarchy.
|
|
void | CreateGhostedMaskArrays (const int gridID) |
| Creates the ghosted mask arrays.
|
|
void | CreateGhostedExtent (const int gridID, const int N) |
| Creates the ghosted extent of the given grid.
|
|
void | SetGhostedExtent (const int gridID, int ext[6]) |
| Sets the ghost extent for the grid corresponding to the given grid ID.
|
|
void | GetCoarsenedExtent (const int gridIdx, int fromLevel, int toLevel, int ext[6]) |
| Gets the coarsened extent for the grid with the given grid index.
|
|
void | GetRefinedExtent (const int gridIdx, int fromLevel, int toLevel, int ext[6]) |
| Gets the refined extent for the grid with the given grid index.
|
|
void | RefineExtent (int orient[3], int ndim, int fromLevel, int toLevel, int ext[6]) |
| Refines the given extent.
|
|
void | GetCellRefinedExtent (int orient[3], int ndim, const int i, const int j, const int k, const int fromLevel, const int toLevel, int ext[6]) |
| Given the global i,j,k index of a cell at a coarse level, fromLevel, this method computes the range of cells on the refined grid.
|
|
void | CoarsenExtent (int orient[3], int ndim, int fromLevel, int toLevel, int ext[6]) |
| Coarsens the given extent.
|
|
void | GetGridExtent (const int gridIdx, int ext[6]) |
| Gets the grid extent for the grid with the given grid ID.
|
|
int | GetGridLevel (const int gridIdx) |
| Returns the level of the grid with the corresponding grid ID.
|
|
bool | LevelExists (const int level) |
| Checks if the given level has been registered.
|
|
bool | IsNodeInterior (const int i, const int j, const int k, int GridExtent[6]) |
| Checks if the node is an interior node in the given extent.
|
|
bool | IsNodeWithinExtent (const int i, const int j, const int k, int GridExtent[6]) |
| Checks if the node is within the extent.
|
|
bool | IsNodeOnSharedBoundary (const int i, const int j, const int k, const int gridId, int gridExt[6]) |
| Checks if the node is on a shared boundary.
|
|
bool | IsNodeOnBoundaryOfExtent (const int i, const int j, const int k, int ext[6]) |
| Checks if the node is on the boundary of the given extent.
|
|
void | InsertGridAtLevel (const int level, const int gridID) |
| Inserts the grid corresponding to the given ID at the prescribed level.
|
|
void | ComputeNeighborSendAndRcvExtent (const int gridID, const int N) |
| Loops through the neighbors of this grid and computes the send and rcv extents for the N requested ghost layers.
|
|
void | ComputeWholeExtent () |
| Computes the whole extent w.r.t.
|
|
void | GetWholeExtentAtLevel (const int level, int ext[6]) |
| Gets the whole extent with respect to the given level.
|
|
void | EstablishNeighbors (const int i, const int j) |
| Establishes neighboring relationship between grids i,j wheren i,j are global indices.
|
|
void | GetNodeOrientation (const int i, const int j, const int k, int gridExt[6], int nodeOrientation[3]) |
| Computes the node orientation tuple for the given i,j,k node.
|
|
void | GetOrientationVector (const int dataDescription, int orient[3], int &ndim) |
| Establishes the orientation vector and dimension based on the computed data description.
|
|
bool | HasConstantRefinementRatio () |
| Checks if a constant refinement ratio has been specified.
|
|
void | SetRefinementRatioAtLevel (const int level, const int r) |
| Sets the refinement ratio at the given level.
|
|
int | GetRefinementRatioAtLevel (const int level) |
| Returns the refinement ratio at the given level.
|
|
bool | AreExtentsEqual (int ext1[6], int ext2[6]) |
| Checks if the extent ext1 and ext2 are equal.
|
|
void | SetBlockTopology (const int gridID) |
| Constructs the block topology for the given grid.
|
|
int | GetNumberOfConnectingBlockFaces (const int gridID) |
| Returns the number of faces of the block corresponding to the given grid ID that are adjacent to at least one other block.
|
|
void | RemoveBlockConnection (const int gridID, const int blockDirection) |
| Removes a block connection along the given direction for the block corresponding to the given gridID.
|
|
void | AddBlockConnection (const int gridID, const int blockDirection) |
| Adds a block connection along the given direction for the block corresponding to the given gridID.
|
|
void | ClearBlockConnections (const int gridID) |
| Clears all block connections for the block corresponding to the given grid ID.
|
|
virtual void | MarkNodeProperty (const int gridId, const int i, const int j, const int k, int gridExt[6], int wholeExt[6], unsigned char &p) |
| Marks the ghost property for the given node.
|
|
virtual void | FillNodesGhostArray (const int gridId, vtkUnsignedCharArray *nodesArray) |
| Fills the node ghost arrays for the given grid.
|
|
virtual void | FillCellsGhostArray (const int gridId, vtkUnsignedCharArray *cellsArray) |
| Fills the cell ghost arrays for the given grid.
|
|
void | FillGhostArrays (const int gridId, vtkUnsignedCharArray *nodesArray, vtkUnsignedCharArray *cellsArray) override |
| Fills ghost arrays.
|
|
vtkStructuredAMRNeighbor | GetAMRNeighbor (const int i, const int iLevel, int next1[6], const int j, const int jLevel, int next2[6], const int normalizedLevel, const int levelDiff, vtkStructuredNeighbor &nei) |
| Compute the AMR neighbor of grid "i" and its neighbor grid "j".
|
|
void | ComputeAMRNeighborOverlapExtents (const int iLevel, const int jLevel, const int normalizedLevel, const vtkStructuredNeighbor &nei, int orient[3], int ndim, int gridOverlapExtent[6], int neiOverlapExtent[6]) |
| A Helper method to compute the AMR neighbor overlap extents.
|
|
int | Get1DOrientation (const int idx, const int ExtentLo, const int ExtentHi, const int OnLo, const int OnHi, const int NotOnBoundary) |
| Get 1-D orientation.
|
|
void | PrintExtent (std::ostream &os, int ext[6]) |
| Prints the extent.
|
|
void | InitializeGhostData (const int gridID) |
| Initializes the ghost data-structures.
|
|
void | TransferRegisteredDataToGhostedData (const int gridID) |
| Transfers the data of the registered grid, to the ghosted data-structures.
|
|
void | TransferLocalNodeCenteredNeighborData (const int gridID, vtkStructuredAMRNeighbor &nei) |
| Transfers local node-centered neighbor data.
|
|
void | GetLocalCellCentersFromCoarserLevel (const int gridID, vtkStructuredAMRNeighbor &nei) |
| Copy cell center value from a coarser level by direct-injection, i.e., the values within the coarse cell is assumed to be constant.
|
|
void | GetLocalCellCentersFromFinerLevel (const int gridID, vtkStructuredAMRNeighbor &nei) |
| Copy cell center values from a finer level by cell averaging.
|
|
void | GetLocalCellCentersAtSameLevel (const int gridID, vtkStructuredAMRNeighbor &nei) |
| Copy cell center values to fill in the ghost levels from a neighbor at the same level as the grid corresponding to the given grid ID.
|
|
void | TransferLocalCellCenteredNeighborData (const int gridID, vtkStructuredAMRNeighbor &nei) |
| Transfers local cell-centered neighbor data.
|
|
void | TransferLocalNeighborData (const int gridID, vtkStructuredAMRNeighbor &nei) |
| Transfers local neighbor data.
|
|
virtual void | TransferGhostDataFromNeighbors (const int gridID) |
| Fills in the ghost data from the neighbors.
|
|
void | AverageFieldData (vtkFieldData *source, vtkIdType *sourceIds, const int N, vtkFieldData *target, vtkIdType targetIdx) |
| Loops through all arrays and computes the average of the supplied source indices and stores the corresponding average.
|
|
void | CopyFieldData (vtkFieldData *source, vtkIdType sourceIdx, vtkFieldData *target, vtkIdType targetIdx) |
| Loops through all arrays in the source and for each array, it copies the tuples from sourceIdx to the target at targetIdx.
|
|
|
bool | HasBlockConnection (const int gridID, const int blockDirection) |
| Checks if the block corresponding to the given grid ID has a block adjacent to it in the given block direction.
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkAbstractGridConnectivity () |
|
| ~vtkAbstractGridConnectivity () override |
|
virtual void | FillGhostArrays (const int gridId, vtkUnsignedCharArray *nodesArray, vtkUnsignedCharArray *cellsArray)=0 |
| Fills the ghost arrays for the given grid.
|
|
void | RegisterGridGhostArrays (const int gridID, vtkUnsignedCharArray *nodesArray, vtkUnsignedCharArray *cellsArray) |
| Registers the ghostarrays for the given grid.
|
|
void | RegisterFieldData (const int gridID, vtkPointData *PointData, vtkCellData *CellData) |
| Registers the grid's field data, i.e., the node and cell data.
|
|
void | RegisterGridNodes (const int gridID, vtkPoints *nodes) |
| Registers the grid nodes for the grid associated with the given gridID.
|
|
void | AllocateUserRegisterDataStructures () |
| Allocate/De-allocate the data-structures where the user-supplied grids will be registered.
|
|
void | DeAllocateUserRegisterDataStructures () |
| Allocate/De-allocate the data-structures where the user-supplied grids will be registered.
|
|
void | AllocateInternalDataStructures () |
| Allocated/De-allocate the data-structures where the ghosted grid data will be stored.
|
|
void | DeAllocateInternalDataStructures () |
| Allocated/De-allocate the data-structures where the ghosted grid data will be stored.
|
|
| vtkObject () |
|
| ~vtkObject () override |
|
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
| These methods allow a command to exclusively grab all events.
|
|
void | InternalReleaseFocus () |
| These methods allow a command to exclusively grab all events.
|
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) |
|
virtual void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|