version 3.8.0
Loading...
Searching...
No Matches
porousmediumflow/boxdfm/model.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// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
14#ifndef DUMUX_POROUSMEDIUMFLOW_BOXDFM_MODEL_HH
15#define DUMUX_POROUSMEDIUMFLOW_BOXDFM_MODEL_HH
16
18
19#include "fvgridgeometry.hh"
20#include "fluxvariablescache.hh"
21
22namespace Dumux {
23namespace Properties {
24
26// Create new type tags
27namespace TTag {
28struct BoxDfmModel { using InheritsFrom = std::tuple<BoxModel>; };
29} // end namespace TTag
30
32template<class TypeTag>
33struct GridGeometry<TypeTag, TTag::BoxDfmModel>
34{
35private:
36 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
39public:
41};
42
44template<class TypeTag>
45struct FluxVariablesCache<TypeTag, TTag::BoxDfmModel> { using type = BoxDfmFluxVariablesCache<TypeTag>; };
46
47} // namespace Properties
48} // namespace Dumux
49
50#endif
Defines a type tag and some properties for models using the box scheme.
Base class for the finite volume geometry vector for box schemes.
Definition porousmediumflow/boxdfm/fvgridgeometry.hh:83
We only store discretization-related quantities for the box method. However, we cannot reuse the cach...
Definition porousmediumflow/boxdfm/fluxvariablescache.hh:33
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296
Definition adapt.hh:17
Cache class for the flux variables to be used in conjunction with the box discrete fracture scheme.
Base class for the finite volume geometry vector for box schemes that consider extra connectivity bet...
Definition porousmediumflow/boxdfm/model.hh:28
std::tuple< BoxModel > InheritsFrom
Definition porousmediumflow/boxdfm/model.hh:28