Index: openems_xml.c =================================================================== --- openems_xml.c (revision 31976) +++ openems_xml.c (revision 31977) @@ -24,8 +24,24 @@ * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") */ +static long def_num_timesteps = 1000000000; +static double def_end_crit = 1e-05; +static long def_f_max = 2100000000; + static void openems_wr_xml(wctx_t *ctx) { + pcb_mesh_t *mesh = pcb_mesh_get(MESH_NAME); + fprintf(ctx->f, "\n"); + fprintf(ctx->f, "\n"); + fprintf(ctx->f, " \n", def_num_timesteps, def_end_crit, def_f_max); + fprintf(ctx->f, " \n"); + fprintf(ctx->f, " \n"); + if ((mesh != NULL) && (mesh->bnd[0] != NULL)) { + fprintf(ctx->f, " \n", mesh->bnd[0], mesh->bnd[1], mesh->bnd[2], mesh->bnd[3], mesh->bnd[4], mesh->bnd[5]); + fprintf(ctx->f, " \n"); + } + fprintf(ctx->f, " \n"); + fprintf(ctx->f, "\n"); }