Skip to content

Commit

Permalink
Parameterize SCHISM library path
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Aug 8, 2024
1 parent a5ba4a0 commit 2050061
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/realizations/coastal/SchismFormulation.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include <realizations/coastal/SchismFormulation.hpp>

const static auto library_path = "/path/to/built/libpschism.so";
const static auto schism_registration_function = "schism_registration_function";
const static auto s_schism_registration_function = "schism_registration_function";

SchismFormulation::SchismFormulation(
std::string const& id
, std::string const& library_path
, std::string const& init_config_path
, std::shared_ptr<MeshPointsDataProvider> met_forcings
, std::shared_ptr<MeshPointsDataProvider> offshore_boundary
Expand All @@ -21,6 +21,6 @@ SchismFormulation::SchismFormulation(
, library_path
, init_config_path
, true // model_time_step_fixed
, schism_registration_function
, s_schism_registration_function
);
}

0 comments on commit 2050061

Please sign in to comment.