Skip to content

Commit

Permalink
Conditionalize SCHISM code on Fortran and MPI support
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Aug 23, 2024
1 parent b7d1eba commit 9b5716e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/realizations/coastal/SchismFormulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <NGenConfig.h>

#if NGEN_WITH_BMI_FORTRAN
#if NGEN_WITH_BMI_FORTRAN && NGEN_WITH_MPI

#include <realizations/coastal/CoastalFormulation.hpp>
#include <bmi/Bmi_Fortran_Adapter.hpp>
Expand Down Expand Up @@ -64,4 +64,4 @@ class SchismFormulation : public CoastalFormulation
std::shared_ptr<data_access::DataProvider<double, MeshPointsSelector>> inflows_boundary_provider_;
};

#endif // NGEN_WITH_BMI_FORTRAN
#endif // NGEN_WITH_BMI_FORTRAN && NGEN_WITH_MPI
4 changes: 2 additions & 2 deletions src/realizations/coastal/SchismFormulation.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <NGenConfig.h>

#if NGEN_WITH_BMI_FORTRAN
#if NGEN_WITH_BMI_FORTRAN && NGEN_WITH_MPI

#include <realizations/coastal/SchismFormulation.hpp>

Expand Down Expand Up @@ -90,4 +90,4 @@ void SchismFormulation::update()
bmi_->Update();
}

#endif // NGEN_WITH_BMI_FORTRAN
#endif // NGEN_WITH_BMI_FORTRAN && NGEN_WITH_MPI

0 comments on commit 9b5716e

Please sign in to comment.