Skip to content

Commit

Permalink
Plotfile Tools: Add missing option to fcompare usage print (AMReX-Cod…
Browse files Browse the repository at this point in the history
…es#3722)

This small PR just adds the `--abort_if_not_all_found` option to the
usage print out of `fcompare`.
  • Loading branch information
mirenradia authored Jan 24, 2024
1 parent c5c62c0 commit 30738c6
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Tools/Plotfile/fcompare.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ void PrintUsage()
<< " variable.\n"
<< "\n"
<< " usage:\n"
<< " fcompare [-n|--norm num] [-d|--diffvar var] [-z|--zone_info var] [-a|--allow_diff_grids] [-r|rel_tol] [--abs_tol] file1 file2\n"
<< " fcompare [-n|--norm num] [-d|--diffvar var] [-z|--zone_info var] [-a|--allow_diff_grids] [-r|rel_tol] [--abs_tol] [--abort_if_not_all_found] file1 file2\n"
<< "\n"
<< " optional arguments:\n"
<< " -n|--norm num : what norm to use (default is 0 for inf norm)\n"
<< " -d|--diffvar var : output a plotfile showing the differences for\n"
<< " variable var\n"
<< " -z|--zone_info var : output the information for a zone corresponding\n"
<< " to the maximum error for the given variable\n"
<< " -a|--allow_diff_grids : allow different BoxArrays covering the same domain\n"
<< " -r|--rel_tol rtol : relative tolerance (default is 0)\n"
<< " --abs_tol atol : absolute tolerance (default is 0)\n"
<< " -n|--norm num : what norm to use (default is 0 for inf norm)\n"
<< " -d|--diffvar var : output a plotfile showing the differences for\n"
<< " variable var\n"
<< " -z|--zone_info var : output the information for a zone corresponding\n"
<< " to the maximum error for the given variable\n"
<< " -a|--allow_diff_grids : allow different BoxArrays covering the same domain\n"
<< " -r|--rel_tol rtol : relative tolerance (default is 0)\n"
<< " --abs_tol atol : absolute tolerance (default is 0)\n"
<< " --abort_if_not_all_found : abort if not all variables are present in both files\n"
<< std::endl;
}

Expand Down

0 comments on commit 30738c6

Please sign in to comment.