Commit 859d50c5 authored by Francois Bertel's avatar Francois Bertel
Browse files

STYLE:Some comment about the redundant information provided by vtkAMRBox and vtkUniformGrid.

parent edfd00d7
......@@ -62,6 +62,10 @@ public:
// Set the dataset pointer for a given node. This method does
// not remove the existing parent/child links. It only replaces
// the dataset pointer.
// The information carried by the vtkAMRBox is redundant with the extent
// of the vtkUniformGrid. However, in case of parallel computation, the
// vtkAMRBox is defined on each processor whereas the vtkUniformGrid is
// defined only on the processor that owns it.
void SetDataSet(unsigned int level, unsigned int id,
vtkAMRBox& box, vtkUniformGrid* dataSet);
void SetDataSet(unsigned int level, unsigned int id, vtkDataObject* dataSet)
......@@ -70,7 +74,8 @@ public:
}
// Description:
// Get a dataset given a level and an id.
// Get a dataset given a level and an id. In case of parallel computation,
// the dataset can be a null pointer whereas the vtkAMRBox is always defined.
vtkUniformGrid* GetDataSet(unsigned int level,
unsigned int id,
vtkAMRBox& box);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment