Skip to content

Commit

Permalink
Revisions and bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Dec 13, 2024
1 parent ea1a670 commit 33ca5f5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 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)

# Ensemble increment recentering
ecbuild_add_executable( TARGET fv3jedi_recenter.x
SOURCES fv3jedi_recenter.cc fv3jedi_recenter.h)
target_compile_features( fv3jedi_recenter.x PUBLIC cxx_std_17)
target_link_libraries( fv3jedi_recenter.x PUBLIC NetCDF::NetCDF_CXX oops fv3jedi)
ecbuild_add_executable( TARGET fv3jedi_ecen.x
SOURCES fv3jedi_ecen.cc fv3jedi_ecen.h)
target_compile_features( fv3jedi_ecen.x PUBLIC cxx_std_17)
target_link_libraries( fv3jedi_ecen.x PUBLIC NetCDF::NetCDF_CXX oops fv3jedi)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "fv3jedi_recenter.h"
#include "fv3jedi_ecen.h"
#include "oops/runs/Run.h"

int main(int argc, char ** argv) {
oops::Run run(argc, argv);
gdasapp::recenter recenter;
return run.execute(recenter);
gdasapp::ecen ecen;
return run.execute(ecen);
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
namespace gdasapp {

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

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

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

0 comments on commit 33ca5f5

Please sign in to comment.