| 1 |
netcdf test2 { |
| 2 |
dimensions: |
| 3 |
len_name = 256 ; |
| 4 |
time_step = UNLIMITED ; // (0 currently) |
| 5 |
num_dim = 3 ; |
| 6 |
num_nodes = 26 ; |
| 7 |
num_elem = 5 ; |
| 8 |
num_el_blk = 5 ; |
| 9 |
num_node_sets = 2 ; |
| 10 |
num_side_sets = 5 ; |
| 11 |
num_el_in_blk1 = 1 ; |
| 12 |
num_nod_per_el1 = 4 ; |
| 13 |
num_att_in_blk1 = 1 ; |
| 14 |
num_el_in_blk2 = 1 ; |
| 15 |
num_nod_per_el2 = 4 ; |
| 16 |
num_att_in_blk2 = 1 ; |
| 17 |
num_el_in_blk3 = 1 ; |
| 18 |
num_nod_per_el3 = 8 ; |
| 19 |
num_att_in_blk3 = 1 ; |
| 20 |
num_el_in_blk4 = 1 ; |
| 21 |
num_nod_per_el4 = 4 ; |
| 22 |
num_att_in_blk4 = 1 ; |
| 23 |
num_el_in_blk5 = 1 ; |
| 24 |
num_nod_per_el5 = 6 ; |
| 25 |
num_att_in_blk5 = 1 ; |
| 26 |
num_nod_ns1 = 5 ; |
| 27 |
num_nod_ns2 = 3 ; |
| 28 |
num_side_ss1 = 2 ; |
| 29 |
num_df_ss1 = 4 ; |
| 30 |
num_side_ss2 = 2 ; |
| 31 |
num_df_ss2 = 4 ; |
| 32 |
num_side_ss3 = 7 ; |
| 33 |
num_side_ss4 = 4 ; |
| 34 |
num_side_ss5 = 5 ; |
| 35 |
num_qa_rec = 2 ; |
| 36 |
four = 4 ; |
| 37 |
len_string = 33 ; |
| 38 |
num_info = 3 ; |
| 39 |
len_line = 81 ; |
| 40 |
variables: |
| 41 |
float time_whole(time_step) ; |
| 42 |
int eb_status(num_el_blk) ; |
| 43 |
int eb_prop1(num_el_blk) ; |
| 44 |
eb_prop1:name = "ID" ; |
| 45 |
int ns_status(num_node_sets) ; |
| 46 |
int ns_prop1(num_node_sets) ; |
| 47 |
ns_prop1:name = "ID" ; |
| 48 |
int ss_status(num_side_sets) ; |
| 49 |
int ss_prop1(num_side_sets) ; |
| 50 |
ss_prop1:name = "ID" ; |
| 51 |
float coordx(num_nodes) ; |
| 52 |
float coordy(num_nodes) ; |
| 53 |
float coordz(num_nodes) ; |
| 54 |
char eb_names(num_el_blk, len_name) ; |
| 55 |
char ns_names(num_node_sets, len_name) ; |
| 56 |
char ss_names(num_side_sets, len_name) ; |
| 57 |
char coor_names(num_dim, len_name) ; |
| 58 |
int elem_num_map(num_elem) ; |
| 59 |
float attrib1(num_el_in_blk1, num_att_in_blk1) ; |
| 60 |
char attrib_name1(num_att_in_blk1, len_name) ; |
| 61 |
int connect1(num_el_in_blk1, num_nod_per_el1) ; |
| 62 |
connect1:elem_type = "quad" ; |
| 63 |
float attrib2(num_el_in_blk2, num_att_in_blk2) ; |
| 64 |
char attrib_name2(num_att_in_blk2, len_name) ; |
| 65 |
int connect2(num_el_in_blk2, num_nod_per_el2) ; |
| 66 |
connect2:elem_type = "quad" ; |
| 67 |
float attrib3(num_el_in_blk3, num_att_in_blk3) ; |
| 68 |
char attrib_name3(num_att_in_blk3, len_name) ; |
| 69 |
int connect3(num_el_in_blk3, num_nod_per_el3) ; |
| 70 |
connect3:elem_type = "hex" ; |
| 71 |
float attrib4(num_el_in_blk4, num_att_in_blk4) ; |
| 72 |
char attrib_name4(num_att_in_blk4, len_name) ; |
| 73 |
int connect4(num_el_in_blk4, num_nod_per_el4) ; |
| 74 |
connect4:elem_type = "tetra" ; |
| 75 |
float attrib5(num_el_in_blk5, num_att_in_blk5) ; |
| 76 |
char attrib_name5(num_att_in_blk5, len_name) ; |
| 77 |
int connect5(num_el_in_blk5, num_nod_per_el5) ; |
| 78 |
connect5:elem_type = "wedge" ; |
| 79 |
int eb_prop2(num_el_blk) ; |
| 80 |
eb_prop2:name = "ID" ; |
| 81 |
int eb_prop3(num_el_blk) ; |
| 82 |
eb_prop3:name = "MATL" ; |
| 83 |
int eb_prop4(num_el_blk) ; |
| 84 |
eb_prop4:name = "DENSITY" ; |
| 85 |
int node_ns1(num_nod_ns1) ; |
| 86 |
float dist_fact_ns1(num_nod_ns1) ; |
| 87 |
int node_ns2(num_nod_ns2) ; |
| 88 |
float dist_fact_ns2(num_nod_ns2) ; |
| 89 |
int ns_prop2(num_node_sets) ; |
| 90 |
ns_prop2:name = "ID" ; |
| 91 |
int ns_prop3(num_node_sets) ; |
| 92 |
ns_prop3:name = "FACE" ; |
| 93 |
int ns_prop4(num_node_sets) ; |
| 94 |
ns_prop4:name = "VELOCITY" ; |
| 95 |
int elem_ss1(num_side_ss1) ; |
| 96 |
int side_ss1(num_side_ss1) ; |
| 97 |
float dist_fact_ss1(num_df_ss1) ; |
| 98 |
int elem_ss2(num_side_ss2) ; |
| 99 |
int side_ss2(num_side_ss2) ; |
| 100 |
float dist_fact_ss2(num_df_ss2) ; |
| 101 |
int elem_ss3(num_side_ss3) ; |
| 102 |
int side_ss3(num_side_ss3) ; |
| 103 |
int elem_ss4(num_side_ss4) ; |
| 104 |
int side_ss4(num_side_ss4) ; |
| 105 |
int elem_ss5(num_side_ss5) ; |
| 106 |
int side_ss5(num_side_ss5) ; |
| 107 |
int ss_prop2(num_side_sets) ; |
| 108 |
ss_prop2:name = "COLOR" ; |
| 109 |
char qa_records(num_qa_rec, four, len_string) ; |
| 110 |
char info_records(num_info, len_line) ; |
| 111 |
|
| 112 |
// global attributes: |
| 113 |
:file_size = 1 ; |
| 114 |
:maximum_name_length = 32 ; |
| 115 |
:title = "This is a test" ; |
| 116 |
data: |
| 117 |
|
| 118 |
eb_status = 1, 1, 1, 1, 1 ; |
| 119 |
|
| 120 |
eb_prop1 = 10, 11, 12, 13, 14 ; |
| 121 |
|
| 122 |
ns_status = 1, 1 ; |
| 123 |
|
| 124 |
ns_prop1 = 20, 21 ; |
| 125 |
|
| 126 |
ss_status = 1, 1, 1, 1, 1 ; |
| 127 |
|
| 128 |
ss_prop1 = 30, 31, 32, 33, 34 ; |
| 129 |
|
| 130 |
coordx = 0, 1, 1, 0, 1, 2, 2, 1, 0, 10, 10, 1, 1, 10, 10, 1, 0, 1, 10, 7, 3, |
| 131 |
6, 0, 3, 6, 0 ; |
| 132 |
|
| 133 |
coordy = 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 10, 10, 10, 10, 0, 0, 0, 5, 0, |
| 134 |
0, 0, 2, 2, 2 ; |
| 135 |
|
| 136 |
coordz = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, -10, 0, 0, -10, -10, 0, 5, 2, 3, |
| 137 |
6, 0, 0, 6, 2, 0 ; |
| 138 |
|
| 139 |
eb_names = |
| 140 |
"", |
| 141 |
"", |
| 142 |
"", |
| 143 |
"", |
| 144 |
"" ; |
| 145 |
|
| 146 |
ns_names = |
| 147 |
"", |
| 148 |
"" ; |
| 149 |
|
| 150 |
ss_names = |
| 151 |
"", |
| 152 |
"", |
| 153 |
"", |
| 154 |
"", |
| 155 |
"" ; |
| 156 |
|
| 157 |
coor_names = |
| 158 |
"xcoor", |
| 159 |
"ycoor", |
| 160 |
"zcoor" ; |
| 161 |
|
| 162 |
elem_num_map = 1, 2, 3, 4, 5 ; |
| 163 |
|
| 164 |
attrib1 = |
| 165 |
3.1416 ; |
| 166 |
|
| 167 |
attrib_name1 = |
| 168 |
"" ; |
| 169 |
|
| 170 |
connect1 = |
| 171 |
1, 2, 3, 4 ; |
| 172 |
|
| 173 |
attrib2 = |
| 174 |
3.1416 ; |
| 175 |
|
| 176 |
attrib_name2 = |
| 177 |
"" ; |
| 178 |
|
| 179 |
connect2 = |
| 180 |
5, 6, 7, 8 ; |
| 181 |
|
| 182 |
attrib3 = |
| 183 |
3.1416 ; |
| 184 |
|
| 185 |
attrib_name3 = |
| 186 |
"" ; |
| 187 |
|
| 188 |
connect3 = |
| 189 |
9, 10, 11, 12, 13, 14, 15, 16 ; |
| 190 |
|
| 191 |
attrib4 = |
| 192 |
3.1416 ; |
| 193 |
|
| 194 |
attrib_name4 = |
| 195 |
"" ; |
| 196 |
|
| 197 |
connect4 = |
| 198 |
17, 18, 19, 20 ; |
| 199 |
|
| 200 |
attrib5 = |
| 201 |
3.1416 ; |
| 202 |
|
| 203 |
attrib_name5 = |
| 204 |
"" ; |
| 205 |
|
| 206 |
connect5 = |
| 207 |
21, 22, 23, 24, 25, 26 ; |
| 208 |
|
| 209 |
eb_prop2 = _, _, _, _, _ ; |
| 210 |
|
| 211 |
eb_prop3 = 10, 20, 30, 40, 50 ; |
| 212 |
|
| 213 |
eb_prop4 = _, _, _, _, _ ; |
| 214 |
|
| 215 |
node_ns1 = 10, 11, 12, 13, 14 ; |
| 216 |
|
| 217 |
dist_fact_ns1 = 1, 2, 3, 4, 5 ; |
| 218 |
|
| 219 |
node_ns2 = 20, 21, 22 ; |
| 220 |
|
| 221 |
dist_fact_ns2 = 1.1, 2.1, 3.1 ; |
| 222 |
|
| 223 |
ns_prop2 = _, _ ; |
| 224 |
|
| 225 |
ns_prop3 = 4, 5 ; |
| 226 |
|
| 227 |
ns_prop4 = 1000, 2000 ; |
| 228 |
|
| 229 |
elem_ss1 = 2, 2 ; |
| 230 |
|
| 231 |
side_ss1 = 4, 2 ; |
| 232 |
|
| 233 |
dist_fact_ss1 = 30, 30.1, 30.2, 30.3 ; |
| 234 |
|
| 235 |
elem_ss2 = 1, 2 ; |
| 236 |
|
| 237 |
side_ss2 = 2, 3 ; |
| 238 |
|
| 239 |
dist_fact_ss2 = 31, 31.1, 31.2, 31.3 ; |
| 240 |
|
| 241 |
elem_ss3 = 3, 3, 3, 3, 3, 3, 3 ; |
| 242 |
|
| 243 |
side_ss3 = 5, 3, 3, 2, 4, 1, 6 ; |
| 244 |
|
| 245 |
elem_ss4 = 4, 4, 4, 4 ; |
| 246 |
|
| 247 |
side_ss4 = 1, 2, 3, 4 ; |
| 248 |
|
| 249 |
elem_ss5 = 5, 5, 5, 5, 5 ; |
| 250 |
|
| 251 |
side_ss5 = 1, 2, 3, 4, 5 ; |
| 252 |
|
| 253 |
ss_prop2 = 100, 101, _, _, _ ; |
| 254 |
|
| 255 |
qa_records = |
| 256 |
"TESTWT2", |
| 257 |
"testwt2", |
| 258 |
"07/07/93", |
| 259 |
"15:41:33", |
| 260 |
"FASTQ", |
| 261 |
"fastq", |
| 262 |
"07/07/93", |
| 263 |
"16:41:33" ; |
| 264 |
|
| 265 |
info_records = |
| 266 |
"This is the first information record.", |
| 267 |
"This is the second information record.", |
| 268 |
"This is the third information record." ; |
| 269 |
} |