Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bill Lorensen
VTK
Commits
105287ee
Commit
105287ee
authored
Mar 12, 2012
by
George Zagaris
Browse files
COMP: Fix AMR resampler filter warnings
Change-Id: I030be8c9b5b1d797001d1e16980b51c6d7a74f81
parent
1fc7f61a
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMR/vtkAMRResampleFilter.cxx
View file @
105287ee
...
...
@@ -132,7 +132,7 @@ int vtkAMRResampleFilter::RequestUpdateExtent(
// Tell reader which blocks this process requires
info
->
Set
(
vtkCompositeDataPipeline
::
UPDATE_COMPOSITE_INDICES
(),
&
this
->
BlocksToLoad
[
0
],
this
->
BlocksToLoad
.
size
()
);
&
this
->
BlocksToLoad
[
0
],
static_cast
<
int
>
(
this
->
BlocksToLoad
.
size
()
)
);
}
return
1
;
}
...
...
@@ -858,11 +858,10 @@ void vtkAMRResampleFilter::TransferSolution(
//-----------------------------------------------------------------------------
void
vtkAMRResampleFilter
::
ExtractRegion
(
vtkOverlappingAMR
*
amrds
,
vtkMultiBlockDataSet
*
mbds
,
vtkOverlappingAMR
*
metadata
)
vtkOverlappingAMR
*
vtkNotUsed
(
metadata
)
)
{
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
)
);
// std::cout << "NumBlocks: " << this->ROI->GetNumberOfBlocks() << std::endl;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment