Commit 4c3491bd authored by Berk Geveci's avatar Berk Geveci

Added point array support to vtkAMRBaseReader

parent 4f4b8924
......@@ -458,10 +458,18 @@ vtkUniformGrid* vtkAMRBaseReader::GetAMRBlock( const int blockIdx )
//------------------------------------------------------------------------------
void vtkAMRBaseReader::LoadPointData(
const int vtkNotUsed(blockIdx), vtkUniformGrid* vtkNotUsed(block) )
const int blockIdx, vtkUniformGrid* block )
{
// TODO: implement this
//vtkErrorMacro( "Node-centered AMR data are not currently supported" );
// Sanity check!
assert( "pre: AMR block should not be NULL" && (block != NULL) );
for( int i=0; i < this->GetNumberOfPointArrays(); ++i )
{
if( this->GetPointArrayStatus( this->GetPointArrayName( i ) ) )
{
this->GetAMRPointData( blockIdx, block, this->GetPointArrayName( i ) );
}
} // END for all point arrays
}
//------------------------------------------------------------------------------
......
Markdown is supported
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