Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aron Helser
VTK
Commits
4c3491bd
Commit
4c3491bd
authored
Jul 09, 2015
by
Berk Geveci
Browse files
Added point array support to vtkAMRBaseReader
parent
4f4b8924
Changes
1
Show whitespace changes
Inline
Side-by-side
IO/AMR/vtkAMRBaseReader.cxx
View file @
4c3491bd
...
...
@@ -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
}
//------------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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