version 3.10.0
Loading...
Searching...
No Matches
porousmediumflow/nonequilibrium/indices.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
13#ifndef DUMUX_NONEQUILIBRIUM_INDICES_HH
14#define DUMUX_NONEQUILIBRIUM_INDICES_HH
15
16namespace Dumux {
17
22template <class EquilibriumIndices, int numEnergyEqFluid, int numEnergyEqSolid, int numEq>
23class NonEquilbriumIndices : public EquilibriumIndices
24{
25public:
30 static constexpr unsigned int temperature0Idx = numEq - numEnergyEqFluid - numEnergyEqSolid;
31
36 static constexpr unsigned int temperatureSolidIdx = numEq - numEnergyEqSolid;
40 static constexpr unsigned int temperatureIdx = temperature0Idx;
44 static constexpr unsigned int energyEq0Idx = numEq - numEnergyEqFluid - numEnergyEqSolid;
48 static constexpr unsigned int energyEqIdx = energyEq0Idx;
49
53 static constexpr unsigned int energyEqSolidIdx = numEq - numEnergyEqSolid;
54};
55
56} // end namespace Dumux
57
58#endif
The primary variable and equation indices for the MpNc model.
Definition porousmediumflow/nonequilibrium/indices.hh:24
Definition adapt.hh:17