opm-simulators
SupportsFaceTag.hpp
1 /*
2  File adapted from BlackoilWellModel.hpp
3 
4  Copyright 2017 TNO - Heat Transfer & Fluid Dynamics, Modelling & Optimization of the Subsurface
5  Copyright 2017 Statoil ASA.
6 
7  This file is part of the Open Porous Media project (OPM).
8 
9  OPM is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  (at your option) any later version.
13 
14  OPM is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with OPM. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
23 
24 #ifndef OPM_SUPPORTS_FACETAG_HEADER_INCLUDED
25 #define OPM_SUPPORTS_FACETAG_HEADER_INCLUDED
26 
27 namespace Dune { class CpGrid; }
28 
29 namespace Opm {
30 
31 template<class Grid>
33  : public std::bool_constant<false>
34 {};
35 
36 
37 template<>
38 class SupportsFaceTag<Dune::CpGrid>
39  : public std::bool_constant<true>
40 {};
41 
42 
43 } // namespace Opm
44 
45 #endif // OPM_SUPPORT_FACETAG_HEADER_INCLUDED
Definition: fvbaseprimaryvariables.hh:161
Definition: SupportsFaceTag.hpp:32
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45