3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
cctpfa.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 *****************************************************************************/
25
26#ifndef DUMUX_DISCRETIZATION_CC_TPFA_HH
27#define DUMUX_DISCRETIZATION_CC_TPFA_HH
28
29#include <dune/common/deprecated.hh>
30
33
35
38
45
46namespace Dumux {
47namespace Properties {
48
50// Create new type tags
51namespace TTag {
52struct CCTpfaModel { using InheritsFrom = std::tuple<FiniteVolumeModel>; };
53} // end namespace TTag
54
56template<class TypeTag>
57struct GridGeometry<TypeTag, TTag::CCTpfaModel>
58{
59private:
60 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
61 DUNE_NO_DEPRECATED_BEGIN
63 DUNE_NO_DEPRECATED_END
64public:
66};
67
69template<class TypeTag>
79
81template<class TypeTag>
92
94template<class TypeTag>
95struct ElementBoundaryTypes<TypeTag, TTag::CCTpfaModel> { using type = CCElementBoundaryTypes; };
96
98template<class TypeTag>
99struct BaseLocalResidual<TypeTag, TTag::CCTpfaModel> { using type = CCLocalResidual<TypeTag>; };
100} // namespace Properties
101} // namespace Dumux
102
103#endif
Calculates the element-wise residual for cell-centered discretization schemes.
Boundary flag to store e.g. in sub control volume faces.
The available discretization methods in Dumux.
Declares properties required for finite-volume models models.
Definition adapt.hh:29
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:153
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition propertysystem.hh:149
Definition common/properties.hh:48
Type tag for numeric models.
Definition grid.hh:36
Calculates the element-wise residual for the cell-centered discretization schemes.
Definition cclocalresidual.hh:42
The type of the base class of the local residual (specific to a discretization scheme).
Definition common/properties.hh:78
Stores the boundary types on an element.
Definition common/properties.hh:110
Definition common/properties.hh:113
The type for a global container for the volume variables.
Definition common/properties.hh:120
The global vector of flux variable containers.
Definition common/properties.hh:130
std::tuple< FiniteVolumeModel > InheritsFrom
Definition cctpfa.hh:52
CCTpfaFVGridGeometry< GridView, enableCache > type
Definition cctpfa.hh:65
CCTpfaGridVolumeVariables< Problem, VolumeVariables, enableCache > type
Definition cctpfa.hh:77
CCTpfaGridFluxVariablesCache< Problem, FluxVariablesCache, FluxVariablesCacheFiller, enableCache > type
Definition cctpfa.hh:90
CCElementBoundaryTypes type
Definition cctpfa.hh:95
CCLocalResidual< TypeTag > type
Definition cctpfa.hh:99
Boundary types gathered on an element.
Definition discretization/cellcentered/elementboundarytypes.hh:38
The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds ...
Definition discretization/cellcentered/tpfa/fvgridgeometry.hh:79
Flux variable caches on a gridview.
Definition cellcentered/tpfa/gridfluxvariablescache.hh:58
Base class for the grid volume variables.
Definition cellcentered/tpfa/gridvolumevariables.hh:56
Declares all properties used in Dumux.
Boundary types gathered on an element.
The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds ...
Flux variable caches on a gridview.
The grid volume variables class for cell centered tpfa models.
Sub control volumes for cell-centered discretization schemes.
The sub control volume face.