clean up Units.hpp includes

include it where required instead of relying on other
headers to pull it in
This commit is contained in:
Arne Morten Kvarving 2023-01-16 12:21:29 +01:00
parent bf7db7c109
commit 3745a4c02d
5 changed files with 5 additions and 4 deletions

View File

@ -31,8 +31,6 @@
#include <opm/models/utils/propertysystem.hh>
#include <opm/input/eclipse/Units/Units.hpp>
#include <opm/material/common/Tabulated1DFunction.hpp>
#include <opm/material/fluidstates/SimpleModularFluidState.hpp>
@ -687,7 +685,7 @@ public:
const Grid& grid,
const GridView& gridView,
const CartesianIndexMapper& cartMapper,
const double grav = unit::gravity,
const double grav,
const bool applySwatInit = true);
using Vec = std::vector<double>;

View File

@ -37,7 +37,6 @@
#include <opm/input/eclipse/EclipseState/EclipseState.hpp>
#include <opm/input/eclipse/EclipseState/Tables/TableManager.hpp>
#include <opm/input/eclipse/Units/Units.hpp>
#include <opm/simulators/aquifers/BlackoilAquiferModel.hpp>
#include <opm/simulators/flow/countGlobalCells.hpp>

View File

@ -15,6 +15,7 @@
#include <opm/grid/utility/StopWatch.hpp>
#include <opm/input/eclipse/Schedule/ScheduleState.hpp>
#include <opm/input/eclipse/Units/Units.hpp>
#include <opm/simulators/timestepping/SimulatorReport.hpp>
#include <opm/simulators/timestepping/SimulatorTimer.hpp>

View File

@ -22,6 +22,7 @@
#include <opm/common/OpmLog/OpmLog.hpp>
#include <opm/input/eclipse/Schedule/MSW/Valve.hpp>
#include <opm/input/eclipse/Units/Units.hpp>
#include <opm/material/densead/EvaluationFormat.hpp>

View File

@ -21,6 +21,8 @@
#include <opm/common/Exceptions.hpp>
#include <opm/input/eclipse/Units/Units.hpp>
#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>
#include <opm/simulators/wells/StandardWellAssemble.hpp>
#include <opm/simulators/wells/VFPHelpers.hpp>