158 real** offload_array,
char* qid) {
160 #define BPATH "/bfield/B_2DS_XXXXXXXXXX/"
164 f, qid, __FILE__, __LINE__) ) {
return 1;}
166 f, qid, __FILE__, __LINE__) ) {
return 1;}
168 f, qid, __FILE__, __LINE__) ) {
return 1;}
170 f, qid, __FILE__, __LINE__) ) {
return 1;}
172 f, qid, __FILE__, __LINE__) ) {
return 1;}
174 f, qid, __FILE__, __LINE__) ) {
return 1;}
178 int B_size = offload_data->
n_r * offload_data->
n_z;
179 *offload_array = (
real*) malloc(4 * B_size *
sizeof(
real));
183 f, qid, __FILE__, __LINE__) ) {
return 1;}
185 f, qid, __FILE__, __LINE__) ) {
return 1;}
187 f, qid, __FILE__, __LINE__) ) {
return 1;}
189 f, qid, __FILE__, __LINE__) ) {
return 1;}
193 f, qid, __FILE__, __LINE__) ) {
return 1;}
195 f, qid, __FILE__, __LINE__) ) {
return 1;}
199 f, qid, __FILE__, __LINE__) ) {
return 1;}
201 f, qid, __FILE__, __LINE__) ) {
return 1;}
257 real** offload_array,
char* qid) {
259 #define BPATH "/bfield/B_3DS_XXXXXXXXXX/"
263 f, qid, __FILE__, __LINE__) ) {
return 1;}
265 f, qid, __FILE__, __LINE__) ) {
return 1;}
267 f, qid, __FILE__, __LINE__) ) {
return 1;}
269 f, qid, __FILE__, __LINE__) ) {
return 1;}
271 f, qid, __FILE__, __LINE__) ) {
return 1;}
273 f, qid, __FILE__, __LINE__) ) {
return 1;}
276 f, qid, __FILE__, __LINE__) ) {
return 1;}
278 f, qid, __FILE__, __LINE__) ) {
return 1;}
280 f, qid, __FILE__, __LINE__) ) {
return 1;}
288 f, qid, __FILE__, __LINE__) ) {
return 1;}
290 f, qid, __FILE__, __LINE__) ) {
return 1;}
292 f, qid, __FILE__, __LINE__) ) {
return 1;}
294 f, qid, __FILE__, __LINE__) ) {
return 1;}
296 f, qid, __FILE__, __LINE__) ) {
return 1;}
298 f, qid, __FILE__, __LINE__) ) {
return 1;}
305 *offload_array = (
real*) malloc((psi_size + 3 * B_size) *
sizeof(
real));
310 f, qid, __FILE__, __LINE__) ) {
return 1;}
314 f, qid, __FILE__, __LINE__) ) {
return 1;}
316 f, qid, __FILE__, __LINE__) ) {
return 1;}
318 f, qid, __FILE__, __LINE__) ) {
return 1;}
322 f, qid, __FILE__, __LINE__) ) {
return 1;}
324 f, qid, __FILE__, __LINE__) ) {
return 1;}
328 f, qid, __FILE__, __LINE__) ) {
return 1;}
330 f, qid, __FILE__, __LINE__) ) {
return 1;}
396 real** offload_array,
char* qid) {
398 #define BPATH "/bfield/B_STS_XXXXXXXXXX/"
402 f, qid, __FILE__, __LINE__) ) {
return 1;}
404 f, qid, __FILE__, __LINE__) ) {
return 1;}
406 f, qid, __FILE__, __LINE__) ) {
return 1;}
408 f, qid, __FILE__, __LINE__) ) {
return 1;}
410 f, qid, __FILE__, __LINE__) ) {
return 1;}
412 f, qid, __FILE__, __LINE__) ) {
return 1;}
415 f, qid, __FILE__, __LINE__) ) {
return 1;}
417 f, qid, __FILE__, __LINE__) ) {
return 1;}
419 f, qid, __FILE__, __LINE__) ) {
return 1;}
427 f, qid, __FILE__, __LINE__) ) {
return 1;}
429 f, qid, __FILE__, __LINE__) ) {
return 1;}
431 f, qid, __FILE__, __LINE__) ) {
return 1;}
433 f, qid, __FILE__, __LINE__) ) {
return 1;}
435 f, qid, __FILE__, __LINE__) ) {
return 1;}
437 f, qid, __FILE__, __LINE__) ) {
return 1;}
440 f, qid, __FILE__, __LINE__) ) {
return 1;}
443 f, qid, __FILE__, __LINE__) ) {
return 1;}
446 f, qid, __FILE__, __LINE__) ) {
return 1;}
454 f, qid, __FILE__, __LINE__) ) {
return 1;}
456 f, qid, __FILE__, __LINE__) ) {
return 1;}
458 f, qid, __FILE__, __LINE__) ) {
return 1;}
469 int axis_size = offload_data->
n_axis;
471 *offload_array = (
real*) malloc((psi_size + 3 * B_size + 2 * axis_size)
477 f, qid, __FILE__, __LINE__) ) {
return 1;}
479 f, qid, __FILE__, __LINE__) ) {
return 1;}
481 f, qid, __FILE__, __LINE__) ) {
return 1;}
485 f, qid, __FILE__, __LINE__) ) {
return 1;}
489 &(*offload_array)[3*B_size + psi_size],
490 f, qid, __FILE__, __LINE__) ) {
return 1;}
492 &(*offload_array)[3*B_size + psi_size + axis_size],
493 f, qid, __FILE__, __LINE__) ) {
return 1;}
497 f, qid, __FILE__, __LINE__) ) {
return 1;}
499 f, qid, __FILE__, __LINE__) ) {
return 1;}
534 real** offload_array,
char* qid) {
536 #define BPATH "/bfield/B_TC_XXXXXXXXXX/"
539 f, qid, __FILE__, __LINE__) ) {
return 1;}
541 f, qid, __FILE__, __LINE__) ) {
return 1;}
543 f, qid, __FILE__, __LINE__) ) {
return 1;}
545 f, qid, __FILE__, __LINE__) ) {
return 1;}
547 f, qid, __FILE__, __LINE__) ) {
return 1;}
549 f, qid, __FILE__, __LINE__) ) {
return 1;}
551 *offload_array = NULL;
585 real** offload_array,
char* qid) {
587 #define BPATH "/bfield/B_GS_XXXXXXXXXX/"
591 f, qid, __FILE__, __LINE__) ) {
return 1;}
593 f, qid, __FILE__, __LINE__) ) {
return 1;}
595 f, qid, __FILE__, __LINE__) ) {
return 1;}
597 f, qid, __FILE__, __LINE__) ) {
return 1;}
599 f, qid, __FILE__, __LINE__) ) {
return 1;}
601 f, qid, __FILE__, __LINE__) ) {
return 1;}
603 f, qid, __FILE__, __LINE__) ) {
return 1;}
605 f, qid, __FILE__, __LINE__) ) {
return 1;}
607 f, qid, __FILE__, __LINE__) ) {
return 1;}
611 f, qid, __FILE__, __LINE__) ) {
return 1;}
613 f, qid, __FILE__, __LINE__) ) {
return 1;}
615 f, qid, __FILE__, __LINE__) ) {
return 1;}
617 f, qid, __FILE__, __LINE__) ) {
return 1;}
619 *offload_array = NULL;