Commit 105287ee authored by George Zagaris's avatar George Zagaris
Browse files

COMP: Fix AMR resampler filter warnings

Change-Id: I030be8c9b5b1d797001d1e16980b51c6d7a74f81
parent 1fc7f61a
...@@ -132,7 +132,7 @@ int vtkAMRResampleFilter::RequestUpdateExtent( ...@@ -132,7 +132,7 @@ int vtkAMRResampleFilter::RequestUpdateExtent(
// Tell reader which blocks this process requires // Tell reader which blocks this process requires
info->Set( info->Set(
vtkCompositeDataPipeline::UPDATE_COMPOSITE_INDICES(), vtkCompositeDataPipeline::UPDATE_COMPOSITE_INDICES(),
&this->BlocksToLoad[0], this->BlocksToLoad.size() ); &this->BlocksToLoad[0], static_cast<int>(this->BlocksToLoad.size()));
} }
return 1; return 1;
} }
...@@ -858,11 +858,10 @@ void vtkAMRResampleFilter::TransferSolution( ...@@ -858,11 +858,10 @@ void vtkAMRResampleFilter::TransferSolution(
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void vtkAMRResampleFilter::ExtractRegion( void vtkAMRResampleFilter::ExtractRegion(
vtkOverlappingAMR *amrds, vtkMultiBlockDataSet *mbds, vtkOverlappingAMR *amrds, vtkMultiBlockDataSet *mbds,
vtkOverlappingAMR *metadata ) vtkOverlappingAMR * vtkNotUsed(metadata) )
{ {
assert( "pre: input AMR data-structure is NULL" && (amrds != NULL) ); assert( "pre: input AMR data-structure is NULL" && (amrds != NULL) );
assert( "pre: metatadata is NULL" && (metadata != NULL) );
assert( "pre: resampled grid should not be NULL" && (mbds != NULL) ); assert( "pre: resampled grid should not be NULL" && (mbds != NULL) );
// std::cout << "NumBlocks: " << this->ROI->GetNumberOfBlocks() << std::endl; // std::cout << "NumBlocks: " << this->ROI->GetNumberOfBlocks() << std::endl;
......
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