Skip to content

Commit

Permalink
tecplot output
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Jul 27, 2022
1 parent 8c195cf commit 99666cf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ref_inflate.c
Expand Up @@ -685,6 +685,16 @@ REF_FCN REF_STATUS ref_inflate_radially(REF_GRID ref_grid, REF_DICT faceids,
ref_dict_key(faceids, i), rail_orient[i], rail_n[i],
rail_phi0[i], rail_phi1[i], rail_n0[i], rail_n1[i]);
}
if (REF_EMPTY == i && ref_mpi_once(ref_mpi)) {
printf("zone t=\"f%dphi0\"\n", i);
for (node = 0; node < rail_n0[i]; node++)
printf(" %f %f %f\n", rail_x0[i][node], rail_yz0[i][0 + 2 * node],
rail_yz0[i][1 + 2 * node]);
printf("zone t=\"f%dphi1\"\n", i);
for (node = 0; node < rail_n1[i]; node++)
printf(" %f %f %f\n", rail_x1[i][node], rail_yz1[i][0 + 2 * node],
rail_yz1[i][1 + 2 * node]);
}
}
}

Expand Down

0 comments on commit 99666cf

Please sign in to comment.