version 3.11-dev
Loading...
Searching...
No Matches
common/properties/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-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_MODEL_PROPERTIES_HH
13#define DUMUX_MODEL_PROPERTIES_HH
14
15#include <dune/common/fvector.hh>
16
21
22namespace Dumux:: Properties {
23
25namespace TTag {
27}
28
30template<class TypeTag>
31struct Scalar<TypeTag, TTag::ModelProperties> { using type = double; };
32
34template<class TypeTag>
35struct PrimaryVariables<TypeTag, TTag::ModelProperties> {
36 using type = Dune::FieldVector<
39 >;
40};
41
43template<class TypeTag>
44struct IOFields<TypeTag, TTag::ModelProperties> { using type = DefaultIOFields; };
45
47template<class TypeTag>
48struct BalanceEqOpts<TypeTag, TTag::ModelProperties> { using type = BalanceEquationOptions<TypeTag>; };
49
50} // namespace Dumux::Properties
51
52#endif
Traits class to set options used by the local residual when when evaluating the balance equations.
Definition common/balanceequationopts.hh:27
Adds output fields to a given output module.
Definition defaultiofields.hh:25
Traits class to set options used by the local residual when when evaluating the balance equations.
Defines all properties used in Dumux.
Adds output fields to a given output module, this is the default if a model doesn't implement this fu...
The default local operator than can be specialized for each discretization scheme.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296
Type tag for numeric models.
Definition grid.hh:24
Definition adapt.hh:17
BalanceEquationOptions< TypeTag > type
Definition common/properties/model.hh:48
DefaultIOFields type
Definition common/properties/model.hh:44
Dune::FieldVector< GetPropType< TypeTag, Properties::Scalar >, GetPropType< TypeTag, Properties::ModelTraits >::numEq() > type
Definition common/properties/model.hh:36
double type
Definition common/properties/model.hh:31
Definition common/properties/model.hh:26