14 int tmp_count, n_elem_type;
15 int tn_component, ne_internal, tmp_int;
17 if ((fp = fopen(outfile,
"w")) ==
NULL) {
18 fprintf(stderr,
"output file error: %s\n", outfile);
31 fprintf(fp,
"%d %d %d %d %d\n",
new_mesh->
n_node, ne_internal, tn_component,
34 fprintf(fp,
"%d %lf %lf %lf\n", i + 1,
new_mesh->
node[i * 3],
40 fprintf(fp,
"%d 1 ", tmp_count);
46 fprintf(fp,
" prism ");
48 j < new_mesh->elem_node_index[tmp_int + 1]; j++)
60 fprintf(fp,
"%d ", i + 1);
61 for (j = 0; j < tn_component; j++)
struct hecmwST_result_data * new_data
struct hecmwST_local_mesh * new_mesh
void write_dist_mesh_display(char *outfile, struct hecmwST_local_mesh *new_mesh, struct hecmwST_result_data *new_data)