/
t_conduit_docs_relay_io_handle_examples_out.txt
167 lines (143 loc) · 3.42 KB
/
t_conduit_docs_relay_io_handle_examples_out.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
Running main() from /Users/harrison37/Work/github/llnl/conduit/src/blt/thirdparty_builtin/googletest-master-2020-01-07/googletest/src/gtest_main.cc
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from conduit_docs
[ RUN ] conduit_docs.relay_io_handle_1
BEGIN_EXAMPLE("relay_io_handle_example_1")
Node to write:
a:
data: 1.0
more_data: 2.0
b:
my_string: "value"
Value at "a/data" = 1
Removed "a/more_data"
Path "a/more_data" is no more
Writing to "a/c"
Children of "a": "data" "b" "c"
Read Result:
a:
data: 1.0
b:
my_string: "value"
c: 42.0
END_EXAMPLE("relay_io_handle_example_1")
[ OK ] conduit_docs.relay_io_handle_1 (5 ms)
[ RUN ] conduit_docs.relay_io_handle_sidre_1
BEGIN_EXAMPLE("relay_io_handle_example_sidre_1")
Children at root: "my_scalars" "my_strings" "my_arrays"
Read Result:
my_scalars:
i64: 1
f64: 10.0
my_strings:
s0: "s0 string"
s1: "s1 string"
my_arrays:
a5_i64: [0, 1, 2, 3, 4]
a5_i64_ext: [0, 1, 2, 3, -5]
b_v1: [1.0, 1.0, 1.0]
b_v2: [2.0, 2.0, 2.0]
END_EXAMPLE("relay_io_handle_example_sidre_1")
[ OK ] conduit_docs.relay_io_handle_sidre_1 (7 ms)
[ RUN ] conduit_docs.relay_io_handle_sidre_2
BEGIN_EXAMPLE("relay_io_handle_example_sidre_2")
Children at root: "root" "0" "1" "2" "3"
Read "root" Result:
blueprint_index:
mesh:
state:
number_of_domains: 4
coordsets:
coords:
type: "uniform"
coord_system:
axes:
x:
y:
type: "cartesian"
path: "mesh/coordsets/coords"
topologies:
mesh:
type: "uniform"
coordset: "coords"
path: "mesh/topologies/mesh"
fields:
field:
number_of_components: 1
topology: "mesh"
association: "element"
path: "mesh/fields/field"
rank:
number_of_components: 1
topology: "mesh"
association: "element"
path: "mesh/fields/rank"
file_pattern: "out_spio_blueprint_example/out_spio_blueprint_example_%07d.hdf5"
number_of_files: 4
number_of_trees: 4
protocol:
name: "sidre_hdf5"
version: "0.0"
tree_pattern: "datagroup_%07d"
Read "0" Result:
mesh:
coordsets:
coords:
dims:
i: 3
j: 3
origin:
x: 0.0
y: -10.0
spacing:
dx: 10.0
dy: 10.0
type: "uniform"
topologies:
mesh:
type: "uniform"
coordset: "coords"
fields:
field:
association: "element"
topology: "mesh"
volume_dependent: "false"
values: [0.0, 1.0, 2.0, 3.0]
rank:
association: "element"
topology: "mesh"
values: [0, 0, 0, 0]
Read "1/mesh" Result:
coordsets:
coords:
dims:
i: 3
j: 3
origin:
x: 20.0
y: -10.0
spacing:
dx: 10.0
dy: 10.0
type: "uniform"
topologies:
mesh:
type: "uniform"
coordset: "coords"
fields:
field:
association: "element"
topology: "mesh"
volume_dependent: "false"
values: [0.0, 1.0, 2.0, 3.0]
rank:
association: "element"
topology: "mesh"
values: [1, 1, 1, 1]
END_EXAMPLE("relay_io_handle_example_sidre_2")
[ OK ] conduit_docs.relay_io_handle_sidre_2 (48 ms)
[----------] 3 tests from conduit_docs (60 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (60 ms total)
[ PASSED ] 3 tests.