Skip to content

Commit

Permalink
[mini] Add deprecated input warning for diags with MR (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxThevenet authored Oct 14, 2024
1 parent 7565c91 commit 073889a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/diagnostics/Diagnostic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "Diagnostic.H"
#include "Hipace.H"
#include "utils/HipaceProfilerWrapper.H"
#include "utils/DeprecatedInput.H"
#include <AMReX_ParmParse.H>

#include <algorithm>
Expand Down Expand Up @@ -175,6 +176,7 @@ Diagnostic::Initialize (int nlev, bool use_laser) {
}

queryWithParserAlt(pp, "base_geometry", base_geom_name, ppd);
DeprecatedInput(fd.m_diag_name, "level", "base_geometry");

if (geometry_name_to_geom_type.count(base_geom_name) > 0) {
fd.m_base_geom_type = geometry_name_to_geom_type.at(base_geom_name);
Expand Down

0 comments on commit 073889a

Please sign in to comment.