Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ecpcitest
vtk-m
Commits
7a14ea0e
Commit
7a14ea0e
authored
Feb 16, 2021
by
Gunther H. Weber
Browse files
Use Float64 instead of FloatDefault in TreeCompiler
parent
96424c83
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/worklet/contourtree_distributed/TreeCompiler.h
View file @
7a14ea0e
...
...
@@ -69,7 +69,7 @@ namespace contourtree_distributed
{
// Possibly change the following when comapring to PPP prototype
constexpr
int
PRINT_WIDTH
=
12
;
using
dataType
=
vtkm
::
Float
Default
;
using
dataType
=
vtkm
::
Float
64
;
using
indexType
=
vtkm
::
Id
;
// small class for storing the contour arcs
...
...
@@ -224,7 +224,7 @@ inline void TreeCompiler::AddHierarchicalTree(const vtkm::cont::DataSet& addedTr
{
// TreeCompiler::AddHierarchicalTree()
// Copy relevant tree content to STL arrays
vtkm
::
cont
::
UnknownArrayHandle
dataValues_array
=
addedTree
.
GetField
(
"DataValues"
).
GetData
();
std
::
vector
<
vtkm
::
Float
Default
>
dataValues
(
dataValues_array
.
GetNumberOfValues
());
std
::
vector
<
vtkm
::
Float
64
>
dataValues
(
dataValues_array
.
GetNumberOfValues
());
auto
dataValues_handle
=
vtkm
::
cont
::
make_ArrayHandle
(
dataValues
,
vtkm
::
CopyFlag
::
Off
);
vtkm
::
cont
::
ArrayCopy
(
dataValues_array
,
dataValues_handle
);
dataValues_handle
.
SyncControlArray
();
...
...
Atkins, Charles Vernon
@atkins3
mentioned in commit
561db99b
·
Feb 22, 2021
mentioned in commit
561db99b
mentioned in commit 561db99b30affb17eb4a456cfff68a10609a03b5
Toggle commit list
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