#include <vtkAMRBox.h>
vtkAMRBox is similar to Chombo's Box. It represents a 3D region by storing indices for two corners (LoCorner, HiCorner). A few utility methods are provided.
Definition at line 34 of file vtkAMRBox.h.
Public Member Functions | |
vtkAMRBox () | |
vtkAMRBox (int dimensionality, int *loCorner, int *hiCorner) | |
vtkIdType | GetNumberOfCells () |
void | Coarsen (int refinement) |
void | Refine (int refinement) |
int | DoesContainCell (int i, int j, int k) |
Public Attributes | |
int | LoCorner [3] |
int | HiCorner [3] |
|
Definition at line 41 of file vtkAMRBox.h. |
|
Definition at line 49 of file vtkAMRBox.h. |
|
Returns the number of cells (aka elements, zones etc.) in the given region (for the specified refinement, see Coarsen() and Refine() ). Definition at line 59 of file vtkAMRBox.h. |
|
Modify LoCorner and HiCorner by coarsening with the given refinement ratio. Definition at line 73 of file vtkAMRBox.h. |
|
Modify LoCorner and HiCorner by refining with the given refinement ratio. Definition at line 92 of file vtkAMRBox.h. |
|
Returns non-zero if the box contains the cell with given indices. Definition at line 104 of file vtkAMRBox.h. |
|
Definition at line 38 of file vtkAMRBox.h. |
|
Definition at line 39 of file vtkAMRBox.h. |