version 3.8
porousmediumflow/1p/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_1P_INDICES_HH
14#define DUMUX_1P_INDICES_HH
15
16namespace Dumux {
17// \{
18
25template<int offset = 0>
27{
28 static const int PVOffset = offset;
29 static const int conti0EqIdx = PVOffset;
30 static const int pressureIdx = PVOffset;
31};
32
33// \}
34} // end namespace
35
36#endif
Definition: adapt.hh:17
Indices for the one-phase model.
Definition: porousmediumflow/1p/indices.hh:27
static const int PVOffset
the first index in primary variable vector
Definition: porousmediumflow/1p/indices.hh:28
static const int conti0EqIdx
index for the mass balance
Definition: porousmediumflow/1p/indices.hh:29
static const int pressureIdx
index of the primary variable
Definition: porousmediumflow/1p/indices.hh:30