3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
staggered/freeflow/fvgridgeometrytraits.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3/*****************************************************************************
4 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
24#ifndef DUMUX_DISCRETIZATION_STAGGERED_FREEFLOW_FV_GRID_GEOMETRY_TRAITS
25#define DUMUX_DISCRETIZATION_STAGGERED_FREEFLOW_FV_GRID_GEOMETRY_TRAITS
26
31
33#include "connectivitymap.hh"
35
36namespace Dumux {
37
42template<class GridView, int upwOrder, class MapperTraits = DefaultMapperTraits<GridView>>
44: public MapperTraits
45{
50 static constexpr int upwindSchemeOrder = upwOrder;
51
53 {
54 using CellCenterIdx = Dune::index_constant<0>;
55 using FaceIdx = Dune::index_constant<1>;
56 };
57
58 template<class GridGeometry>
60
61 template<class GridGeometry, bool cachingEnabled>
63};
64
65} //end namespace Dumux
66
67#endif
Defines the default element and vertex mapper types.
defines intersection mappers.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
defines a standard intersection mapper for mapping of global DOFs assigned to faces....
Definition: intersectionmapper.hh:42
Sub control volumes for cell-centered discretization schemes.
Definition: discretization/cellcentered/subcontrolvolume.hh:62
Stores the dof indices corresponding to the neighboring cell centers and faces that contribute to the...
Definition: staggered/freeflow/connectivitymap.hh:39
Default traits for the finite volume grid geometry.
Definition: staggered/freeflow/fvgridgeometrytraits.hh:45
static constexpr int upwindSchemeOrder
Definition: staggered/freeflow/fvgridgeometrytraits.hh:50
Definition: staggered/freeflow/fvgridgeometrytraits.hh:53
Dune::index_constant< 1 > FaceIdx
Definition: staggered/freeflow/fvgridgeometrytraits.hh:55
Dune::index_constant< 0 > CellCenterIdx
Definition: staggered/freeflow/fvgridgeometrytraits.hh:54
Helper class constructing the dual grid finite volume geometries for the free flow staggered discreti...
Definition: staggeredgeometryhelper.hh:127
Class for a sub control volume face in the staggered method, i.e a part of the boundary of a sub cont...
Definition: discretization/staggered/freeflow/subcontrolvolumeface.hh:106
Stencil-local finite volume geometry (scvs and scvfs) for staggered models This builds up the sub con...
Definition: discretization/staggered/fvelementgeometry.hh:42
Sub control volumes for cell-centered discretization schemes.
The sub control volume face class for the box discrete fracture model.