version 3.8
freeflow/navierstokes/energy/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//
12#ifndef DUMUX_FREEFLOW_NAVIER_STOKES_ENERGY_INDICES_HH
13#define DUMUX_FREEFLOW_NAVIER_STOKES_ENERGY_INDICES_HH
14
15namespace Dumux {
16
24template <class IsothermalIndices, int numEq>
25class NavierStokesEnergyIndices : public IsothermalIndices
26{
27public:
28 static constexpr int energyEqIdx = numEq - 1;
29 static constexpr int temperatureIdx = numEq - 1;
30};
31
32} // end namespace Dumux
33
34#endif
Indices for the non-isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/energy/indices.hh:26
static constexpr int temperatureIdx
Definition: freeflow/navierstokes/energy/indices.hh:29
static constexpr int energyEqIdx
Definition: freeflow/navierstokes/energy/indices.hh:28
Definition: adapt.hh:17