20 int ns, nsims = TS->
nsims;
22 if ((!TS->
rank) && ((TS->
iter+1)%sim[0].solver.screen_op_iter == 0)) {
25 printf(
"iter=%7d, t=%1.3e\n", TS->
iter+1, TS->
waqt);
27 if (TS->
norm >= 0) printf(
" norm=%1.4E\n", TS->
norm);
30 printf(
"iter=%7d ",TS->
iter+1 );
31 printf(
"t=%1.3E ",TS->
waqt );
33 if (TS->
norm >= 0) printf(
"norm=%1.4E ",TS->
norm );
38 if (!strcmp(sim[0].solver.ConservationCheck,
"yes")) {
41 for (ns = 0; ns < nsims; ns++) {
48 printf(
" cons_err=%1.4E\n", error);
52 if (nsims == 1) printf(
"\n");
57 for (ns = 0; ns < nsims; ns++) {
58 if (sim[ns].solver.PrintStep) {
59 if (nsims > 1) printf(
"Physics-specific output for domain %d:\n", ns);
int(* PrintStep)(void *, void *, double)
Structure of variables/parameters and function pointers for time integration.
Structure defining a simulation.
Contains function declarations for time integration.
double * ConservationError
int TimePrintStep(void *ts)