version 3.8
porousmediumflow/nonisothermal/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-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
13#ifndef DUMUX_ENERGY_INDICES_HH
14#define DUMUX_ENERGY_INDICES_HH
15
16namespace Dumux {
17
25template <class IsothermalIndices, int numEq>
26struct EnergyIndices : public IsothermalIndices
27{
28 static const int temperatureIdx = numEq - 1;
29 static const int energyEqIdx = numEq - 1;
30};
31
32} // end namespace Dumux
33
34#endif
Definition: adapt.hh:17
Indices for the non-isothermal two-phase two-component model.
Definition: porousmediumflow/nonisothermal/indices.hh:27
static const int temperatureIdx
The index for temperature in primary variable vectors.
Definition: porousmediumflow/nonisothermal/indices.hh:28
static const int energyEqIdx
The index for energy in equation vectors.
Definition: porousmediumflow/nonisothermal/indices.hh:29