Skip to content

Commit

Permalink
uses ref_metric_limit_aspect_ratio always now that it is safe for def…
Browse files Browse the repository at this point in the history
…ault -1
  • Loading branch information
Mike Park authored and Mike Park committed Oct 5, 2022
1 parent c0ce033 commit 33ed709
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/ref_subcommand.c
Original file line number Diff line number Diff line change
Expand Up @@ -2650,19 +2650,14 @@ static REF_STATUS fixed_point_metric(
metric[im + 6 * node] *= inv_total;
}
}

RSS(ref_recon_roundoff_limit(metric, ref_grid),
"floor metric eigenvalues based on grid size and solution jitter");
RSS(ref_metric_local_scale(metric, ref_grid, p), "local lp norm scaling");
RSS(ref_metric_limit_aspect_ratio(metric, ref_grid, aspect_ratio),
"limit aspect ratio");
ref_mpi_stopwatch_stop(ref_mpi, "limit aspect ratio");
ref_mpi_stopwatch_stop(ref_mpi, "local scale metric");

if (aspect_ratio > 0.0) {
if (ref_mpi_once(ref_mpi))
printf("limit --aspect-ratio to %f\n", aspect_ratio);
RSS(ref_metric_limit_aspect_ratio(metric, ref_grid, aspect_ratio),
"limit aspect ratio");
ref_mpi_stopwatch_stop(ref_mpi, "limit aspect ratio");
}

RSS(ref_metric_gradation_at_complexity(metric, ref_grid, gradation,
complexity),
"gradation at complexity");
Expand Down

0 comments on commit 33ed709

Please sign in to comment.