Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
src
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
H5hut
src
Commits
329a72fa
Commit
329a72fa
authored
Jul 25, 2011
by
Marc Howison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.6.3 release
parent
2921aa87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
test/h5u_read.c
test/h5u_read.c
+6
-13
No files found.
test/h5u_read.c
View file @
329a72fa
...
...
@@ -175,10 +175,6 @@ test_read_data64(h5_file_t *file, int nparticles, int step)
status
=
H5PartSetView
(
file
,
start
,
end
);
RETURN
(
status
,
H5_SUCCESS
,
"H5PartSetView"
);
status
=
H5PartReadDataFloat64
(
file
,
"x"
,
x
);
RETURN
(
status
,
H5_SUCCESS
,
"H5PartReadDataFloat64"
);
FVALUE
(
x
[
rank
],
(
double
)(
start
+
rank
+
nparticles
*
t
),
"x data"
);
val
=
H5PartGetView
(
file
,
&
start
,
&
end
);
IVALUE
(
val
,
nprocs
*
nparticles
-
start
,
"particle count"
);
IVALUE
(
start
,
rank
,
"view start"
);
...
...
@@ -212,16 +208,13 @@ test_read_data64(h5_file_t *file, int nparticles, int step)
val
=
H5PartGetNumParticles
(
file
);
IVALUE
(
val
,
4
,
"particle count"
);
x
[
0
]
=
0
;
x
[
1
]
=
0
;
x
[
2
]
=
0
;
x
[
3
]
=
0
;
status
=
H5PartReadDataFloat64
(
file
,
"x"
,
x
);
double
x2
[
4
];
status
=
H5PartReadDataFloat64
(
file
,
"x"
,
x2
);
RETURN
(
status
,
H5_SUCCESS
,
"H5PartReadDataFloat64"
);
FVALUE
(
x
[
0
],
(
double
)(
2
*
rank
+
0
+
nparticles
*
t
),
"x data"
);
FVALUE
(
x
[
1
],
(
double
)(
2
*
rank
+
3
+
nparticles
*
t
),
"x data"
);
FVALUE
(
x
[
2
],
(
double
)(
2
*
rank
+
9
+
nparticles
*
t
),
"x data"
);
FVALUE
(
x
[
3
],
(
double
)(
2
*
rank
+
7
+
nparticles
*
t
),
"x data"
);
FVALUE
(
x
2
[
0
],
(
double
)(
2
*
rank
+
0
+
nparticles
*
t
),
"x data"
);
FVALUE
(
x
2
[
1
],
(
double
)(
2
*
rank
+
3
+
nparticles
*
t
),
"x data"
);
FVALUE
(
x
2
[
2
],
(
double
)(
2
*
rank
+
9
+
nparticles
*
t
),
"x data"
);
FVALUE
(
x
2
[
3
],
(
double
)(
2
*
rank
+
7
+
nparticles
*
t
),
"x data"
);
val
=
H5PartGetNumParticles
(
file
);
IVALUE
(
val
,
4
,
"particle count"
);
...
...
Write
Preview
Markdown
is supported
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