Skip to content

Commit

Permalink
Rename some stuff per Rahul's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Sep 23, 2024
1 parent 76daa87 commit d61cfd0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions utils/fv3jedi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target_compile_features( fv3jedi_fv3inc.x PUBLIC cxx_std_17)
target_link_libraries( fv3jedi_fv3inc.x PUBLIC NetCDF::NetCDF_CXX oops fv3jedi)

# Analysis calculation
ecbuild_add_executable( TARGET fv3jedi_calcanl.x
SOURCES fv3jedi_calcanl.cc fv3jedi_calcanl.h)
target_compile_features( fv3jedi_calcanl.x PUBLIC cxx_std_17)
target_link_libraries( fv3jedi_calcanl.x PUBLIC NetCDF::NetCDF_CXX oops fv3jedi)
ecbuild_add_executable( TARGET fv3jedi_analcalc.x
SOURCES fv3jedi_analcalc.cc fv3jedi_analcalc.h)
target_compile_features( fv3jedi_analcalc.x PUBLIC cxx_std_17)
target_link_libraries( fv3jedi_analcalc.x PUBLIC NetCDF::NetCDF_CXX oops fv3jedi)
6 changes: 3 additions & 3 deletions utils/fv3jedi/fv3jedi_calcanl.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "fv3jedi_calcanl.h"
#include "fv3jedi_analcalc.h"
#include "oops/runs/Run.h"

int main(int argc, char ** argv) {
oops::Run run(argc, argv);
gdasapp::calcanl calcanl;
return run.execute(calcanl);
gdasapp::analcalc analcalc;
return run.execute(analcalc);
}
8 changes: 4 additions & 4 deletions utils/fv3jedi/fv3jedi_calcanl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
namespace gdasapp {

// Main application class
class calcanl : public oops::Application {
class analcalc : public oops::Application {
public:
explicit calcanl(const eckit::mpi::Comm & comm = oops::mpi::world())
explicit analcalc(const eckit::mpi::Comm & comm = oops::mpi::world())
: Application(comm) {}
static const std::string classname() {return "gdasapp::calcanl";}
static const std::string classname() {return "gdasapp::analcalc";}

int execute(const eckit::Configuration & fullConfig, bool validate) const {
// Get geometry configurations
Expand Down Expand Up @@ -99,7 +99,7 @@ namespace gdasapp {

private:
std::string appname() const {
return "gdasapp::calcanl";
return "gdasapp::analcalc";
}
};
} // namespace gdasapp

0 comments on commit d61cfd0

Please sign in to comment.