mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
move ebos/femcpgridcompat.hh to opm/simulators/flow
This commit is contained in:
@@ -435,7 +435,6 @@ list (APPEND PUBLIC_HEADER_FILES
|
|||||||
ebos/ecltransmissibility.hh
|
ebos/ecltransmissibility.hh
|
||||||
ebos/ecltransmissibility_impl.hh
|
ebos/ecltransmissibility_impl.hh
|
||||||
ebos/eclwriter.hh
|
ebos/eclwriter.hh
|
||||||
ebos/femcpgridcompat.hh
|
|
||||||
ebos/vtkecltracermodule.hh
|
ebos/vtkecltracermodule.hh
|
||||||
opm/simulators/flow/ActionHandler.hpp
|
opm/simulators/flow/ActionHandler.hpp
|
||||||
opm/simulators/flow/AluGridCartesianIndexMapper.hpp
|
opm/simulators/flow/AluGridCartesianIndexMapper.hpp
|
||||||
@@ -451,6 +450,7 @@ list (APPEND PUBLIC_HEADER_FILES
|
|||||||
opm/simulators/flow/countGlobalCells.hpp
|
opm/simulators/flow/countGlobalCells.hpp
|
||||||
opm/simulators/flow/DummyGradientCalculator.hpp
|
opm/simulators/flow/DummyGradientCalculator.hpp
|
||||||
opm/simulators/flow/ExtraConvergenceOutputThread.hpp
|
opm/simulators/flow/ExtraConvergenceOutputThread.hpp
|
||||||
|
opm/simulators/flow/FemCpGridCompat.hpp
|
||||||
opm/simulators/flow/FlowMain.hpp
|
opm/simulators/flow/FlowMain.hpp
|
||||||
opm/simulators/flow/FlowUtils.hpp
|
opm/simulators/flow/FlowUtils.hpp
|
||||||
opm/simulators/flow/FlowsData.hpp
|
opm/simulators/flow/FlowsData.hpp
|
||||||
|
|||||||
@@ -30,13 +30,14 @@
|
|||||||
#include <ebos/eclbasevanguard.hh>
|
#include <ebos/eclbasevanguard.hh>
|
||||||
#include <ebos/eclgenericcpgridvanguard.hh>
|
#include <ebos/eclgenericcpgridvanguard.hh>
|
||||||
#include <ebos/ecltransmissibility.hh>
|
#include <ebos/ecltransmissibility.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
|
||||||
|
|
||||||
#include <opm/common/TimingMacros.hpp>
|
#include <opm/common/TimingMacros.hpp>
|
||||||
|
|
||||||
#include <opm/models/common/multiphasebaseproperties.hh>
|
#include <opm/models/common/multiphasebaseproperties.hh>
|
||||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||||
|
|
||||||
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif //HAVE_DUNE_FEM
|
#endif //HAVE_DUNE_FEM
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif // HAVE_DUNE_FEM
|
#endif // HAVE_DUNE_FEM
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif // HAVE_DUNE_FEM
|
#endif // HAVE_DUNE_FEM
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif // HAVE_DUNE_FEM
|
#endif // HAVE_DUNE_FEM
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif // HAVE_DUNE_FEM
|
#endif // HAVE_DUNE_FEM
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif // HAVE_DUNE_FEM
|
#endif // HAVE_DUNE_FEM
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|||||||
@@ -23,13 +23,13 @@
|
|||||||
/*!
|
/*!
|
||||||
* \file
|
* \file
|
||||||
*
|
*
|
||||||
* \brief This file ensures that ebos can be compiled in the presence of dune-fem
|
* \brief This file ensures that flow can be compiled in the presence of dune-fem
|
||||||
*
|
*
|
||||||
* It implements a few work-arounds for some incompatibilities with the Dune grid
|
* It implements a few work-arounds for some incompatibilities with the Dune grid
|
||||||
* interface of CpGrid. A better way would be to make CpGrid conforming.
|
* interface of CpGrid. A better way would be to make CpGrid conforming.
|
||||||
*/
|
*/
|
||||||
#ifndef EWOMS_FEM_CPGRID_COMPAT_HH
|
#ifndef OPM_FEM_CPGRID_COMPAT_HPP
|
||||||
#define EWOMS_FEM_CPGRID_COMPAT_HH
|
#define OPM_FEM_CPGRID_COMPAT_HPP
|
||||||
|
|
||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/common/version.hh>
|
#include <dune/common/version.hh>
|
||||||
@@ -70,4 +70,4 @@ struct GridEntityAccess<Dune::cpgrid::Entity<codim> >
|
|||||||
|
|
||||||
#endif // #if HAVE_DUNE_FEM
|
#endif // #if HAVE_DUNE_FEM
|
||||||
|
|
||||||
#endif // EWOMS_FEM_CPGRID_COMPAT_HH
|
#endif // OPM_FEM_CPGRID_COMPAT_HPP
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
#if HAVE_DUNE_FEM
|
#if HAVE_DUNE_FEM
|
||||||
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
#include <dune/fem/gridpart/adaptiveleafgridpart.hh>
|
||||||
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
#include <dune/fem/gridpart/common/gridpart2gridview.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#endif // HAVE_DUNE_FEM
|
#endif // HAVE_DUNE_FEM
|
||||||
|
|
||||||
namespace Opm::GridDataOutput {
|
namespace Opm::GridDataOutput {
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
#include <ebos/ebos.hh>
|
#include <ebos/ebos.hh>
|
||||||
#include <ebos/eclgenericvanguard.hh>
|
#include <ebos/eclgenericvanguard.hh>
|
||||||
#include <ebos/femcpgridcompat.hh>
|
|
||||||
|
|
||||||
#include <opm/common/utility/Serializer.hpp>
|
#include <opm/common/utility/Serializer.hpp>
|
||||||
|
|
||||||
@@ -37,6 +36,7 @@
|
|||||||
|
|
||||||
#include <opm/models/blackoil/blackoilprimaryvariables.hh>
|
#include <opm/models/blackoil/blackoilprimaryvariables.hh>
|
||||||
|
|
||||||
|
#include <opm/simulators/flow/FemCpGridCompat.hpp>
|
||||||
#include <opm/simulators/timestepping/AdaptiveTimeStepping.hpp>
|
#include <opm/simulators/timestepping/AdaptiveTimeStepping.hpp>
|
||||||
#include <opm/simulators/timestepping/SimulatorReport.hpp>
|
#include <opm/simulators/timestepping/SimulatorReport.hpp>
|
||||||
#include <opm/simulators/timestepping/SimulatorTimer.hpp>
|
#include <opm/simulators/timestepping/SimulatorTimer.hpp>
|
||||||
|
|||||||
Reference in New Issue
Block a user