From 09307692d0ac44bb2e868ed3f10fd7ef2d3729ba Mon Sep 17 00:00:00 2001 From: Mike Park Date: Tue, 13 Jul 2021 13:24:30 -0400 Subject: [PATCH] report opt with actuals --- src/ref_subcommand.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/ref_subcommand.c b/src/ref_subcommand.c index 20f214798..71804d08e 100644 --- a/src/ref_subcommand.c +++ b/src/ref_subcommand.c @@ -3072,11 +3072,19 @@ static REF_STATUS multiscale(REF_MPI ref_mpi, int argc, char *argv[]) { "gradation at complexity"); ref_mpi_stopwatch_stop(ref_mpi, "metric gradation"); - if (ref_mpi_once(ref_mpi)) printf("s1: "); + if (ref_mpi_once(ref_mpi)) printf("opt1: "); + RSS(ref_subcommand_report_error(metric1, ref_grid, scalar1, + reconstruction, complexity), + "report error"); + if (ref_mpi_once(ref_mpi)) printf("opt2: "); + RSS(ref_subcommand_report_error(metric2, ref_grid, scalar2, + reconstruction, complexity), + "report error"); + if (ref_mpi_once(ref_mpi)) printf("soln1: "); RSS(ref_subcommand_report_error(metric, ref_grid, scalar1, reconstruction, complexity), "report error"); - if (ref_mpi_once(ref_mpi)) printf("s2: "); + if (ref_mpi_once(ref_mpi)) printf("soln2: "); RSS(ref_subcommand_report_error(metric, ref_grid, scalar2, reconstruction, complexity), "report error");