15#ifndef vtkStructuredAMRNeighbor_h
16#define vtkStructuredAMRNeighbor_h
18#include "vtkFiltersGeometryModule.h"
21VTK_ABI_NAMESPACE_BEGIN
40 int GridOverlapExtent[6];
57 int neiOverlap[6],
int orient[3],
int relationShip);
97 int neiRealExtent[6],
int WholeExtent[6],
int N)
override;
An internal, light-weight object used to store neighbor information for AMR grids.
vtkStructuredAMRNeighbor & operator=(const vtkStructuredAMRNeighbor &N)
Overload assignment operator.
~vtkStructuredAMRNeighbor() override=default
Destructor.
std::string GetRelationShipString()
Returns the neighbor relationship as a string (useful for debugging).
@ PARTIALLY_OVERLAPPING_PARENT
@ PARTIALLY_OVERLAPPING_CHILD
vtkStructuredAMRNeighbor(int gridLevel, int neiID, int neighborLevel, int gridOverlap[6], int neiOverlap[6], int orient[3], int relationShip)
Custom constructor.
void GetReceiveExtentOnGrid(int ng, int gridExtent[6], int ext[6])
Returns the receive extent w.r.t.
vtkStructuredAMRNeighbor(const vtkStructuredAMRNeighbor &N)
Copy constructor.
vtkStructuredAMRNeighbor()
Default constructor.
void ComputeSendAndReceiveExtent(int gridRealExtent[6], int gridGhostedExtent[6], int neiRealExtent[6], int WholeExtent[6], int N) override
Computes the SendExtent and RcvExtent for this neighbor.
An internal, light-weight class used to store neighbor information.