Skip to content

Commit

Permalink
moves shard ahead of enrich
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Sep 1, 2022
1 parent 246c4c8 commit 8ff672d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ref_subcommand.c
Original file line number Diff line number Diff line change
Expand Up @@ -4354,19 +4354,19 @@ static REF_STATUS translate(REF_MPI ref_mpi, int argc, char *argv[]) {
}
}

RXS(ref_args_find(argc, argv, "--shard", &pos), REF_NOT_FOUND, "arg search");
if (REF_EMPTY != pos) {
if (ref_mpi_once(ref_mpi)) printf(" --shard in place\n");
RSS(ref_shard_in_place(ref_grid), "shard to simplex");
}

RXS(ref_args_find(argc, argv, "--enrich2", &pos), REF_NOT_FOUND,
"arg search");
if (REF_EMPTY != pos) {
if (ref_mpi_once(ref_mpi)) printf(" --enrich2\n");
RSS(ref_geom_enrich2(ref_grid), "enrich to q2");
}

RXS(ref_args_find(argc, argv, "--shard", &pos), REF_NOT_FOUND, "arg search");
if (REF_EMPTY != pos) {
if (ref_mpi_once(ref_mpi)) printf(" --shard in place\n");
RSS(ref_shard_in_place(ref_grid), "shard to simplex");
}

RXS(ref_args_find(argc, argv, "--extrude", &pos), REF_NOT_FOUND,
"arg search");
if (REF_EMPTY != pos) {
Expand Down

0 comments on commit 8ff672d

Please sign in to comment.