version 3.8
labels.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_PNM_LABELS_HH
13#define DUMUX_PNM_LABELS_HH
14
15namespace Dumux::PoreNetwork {
16// \{
17
22struct Labels
23{
24 // TODO revise this concept
25 static constexpr int interior = -1;
26 static constexpr int noflow = 0;
27 static constexpr int dirichlet = 1;
28 static constexpr int inlet = 2;
29 static constexpr int outlet = 3;
30 static constexpr int source = 4;
31};
32
33// \}
34} // end Dumux::PoreNetwork
35
36#endif
Definition: discretization/porenetwork/fvelementgeometry.hh:24
Labels for pores and throats.
Definition: labels.hh:23
static constexpr int dirichlet
Label for pores/throats with Dirichlet BC.
Definition: labels.hh:27
static constexpr int interior
Label for pores/throats not on a boundary.
Definition: labels.hh:25
static constexpr int inlet
Label for pores/throats on an inlet.
Definition: labels.hh:28
static constexpr int source
Label for pores/throats with a sink/source term.
Definition: labels.hh:30
static constexpr int noflow
Label for pores/throats with a now flow BC.
Definition: labels.hh:26
static constexpr int outlet
Label for pores/throats on an outlet.
Definition: labels.hh:29