[vtk-developers] New AMR class hierarchy

George Zagaris george.zagaris at kitware.com
Fri Feb 3 16:11:05 EST 2012


Hello,

Within the past year we have added support for Berger-Colella AMR
building on top of the functionality provided by
vtkHierarchicalBoxDataSet and vtkAMRBox. The inherent requirements
imposed by Berger-Colella AMR however, are conflicting with the use of
vtkHierarchicalBoxDataSet in the context of CTH AMR. Primarily,  grid
patches in the CTH AMR format are not overlapping and hence, in most
cases, different logic is required when processing each type.

To address the issue we propose the following class hierarchy for AMR:

1. vtkUniformGridAMR base class that inherits from vtkCompositeDataSet
and defines a common API for all AMR of uniform grids

2. vtkOverlappingAMR, inherits from vtkUniformGridAMR and implements
Berger-Collela AMR

3. vtkNonOverlappingAMR, inherits from vtkUniformGridAMR and
implements  CTH-like AMR

Before proceeding with this, we would like to inquire for feedback and
suggestions from all interested parties and the development community
in general.

Thank you very much for all your input and help.

Best,
George



More information about the vtk-developers mailing list