24#ifndef vtkStructuredAMRNeighbor_h
25#define vtkStructuredAMRNeighbor_h
27#include "vtkFiltersGeometryModule.h"
48 int GridOverlapExtent[6];
65 int gridOverlap[6],
int neiOverlap[6],
int orient[3],
const int relationShip);
105 int neiRealExtent[6],
int WholeExtent[6],
const 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
void ComputeSendAndReceiveExtent(int gridRealExtent[6], int gridGhostedExtent[6], int neiRealExtent[6], int WholeExtent[6], const int N) override
Computes the SendExtent and RcvExtent for this neighbor.
vtkStructuredAMRNeighbor(const vtkStructuredAMRNeighbor &N)
Copy constructor.
vtkStructuredAMRNeighbor(const int gridLevel, const int neiID, const int neighborLevel, int gridOverlap[6], int neiOverlap[6], int orient[3], const int relationShip)
Custom constructor.
void GetReceiveExtentOnGrid(const int ng, int gridExtent[6], int ext[6])
Returns the receive extent w.r.t.
vtkStructuredAMRNeighbor()
Default constructor.
An internal, light-weight class used to store neighbor information.