mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-24 01:26:26 -06:00
rename compatibility.hh to ebos/femcpgridcompat.hh
the purpose of this seems to be to make 'Opm::CpGrid' usable with 'dune-fem'. This is quite a fringe case, and the code should better go to opm-grid.
This commit is contained in:
parent
1af2996b2a
commit
ede2ef35af
@ -29,6 +29,7 @@
|
||||
|
||||
#include "eclbasevanguard.hh"
|
||||
#include "ecltransmissibility.hh"
|
||||
#include "femcpgridcompat.hh"
|
||||
|
||||
#include <opm/grid/CpGrid.hpp>
|
||||
#include <opm/grid/cpgrid/GridHelpers.hpp>
|
||||
|
@ -20,8 +20,16 @@
|
||||
module for the precise wording of the license and the list of
|
||||
copyright holders.
|
||||
*/
|
||||
#ifndef EWOMS_DUNE_COMPATIBILITY_HH
|
||||
#define EWOMS_DUNE_COMPATIBILITY_HH
|
||||
/*!
|
||||
* \file
|
||||
*
|
||||
* \brief This file ensures that ebos can be compiled in the presence of dune-fem
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
#ifndef EWOMS_FEM_CPGRID_COMPAT_HH
|
||||
#define EWOMS_FEM_CPGRID_COMPAT_HH
|
||||
|
||||
#if HAVE_DUNE_FEM
|
||||
#include <dune/fem/gridpart/common/gridpart.hh>
|
||||
@ -114,4 +122,4 @@ namespace Dune
|
||||
|
||||
#endif // #if HAVE_DUNE_FEM
|
||||
|
||||
#endif // #ifndef EWOMS_DUNE_COMPATIBILITY_HH
|
||||
#endif // EWOMS_FEM_CPGRID_COMPAT_HH
|
Loading…
Reference in New Issue
Block a user