version 3.8
porousmediumflow/mineralization/model.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//
26#ifndef DUMUX_MINERALIZATION_MODEL_HH
27#define DUMUX_MINERALIZATION_MODEL_HH
28
29#include <string>
30
31namespace Dumux {
32
43template<class NonMinTraits, int numSC, int numInertSC>
44struct MineralizationModelTraits : public NonMinTraits
45{
47 static constexpr int numSolidComps() { return numSC; }
49 static constexpr int numInertSolidComps() { return numInertSC; }
51 static constexpr int numEq() { return NonMinTraits::numEq() + numSC - numInertSC; }
52};
53} // end namespace Dumux
54
55#endif
Definition: adapt.hh:17
Specifies a number properties of models that consider mineralization processes.
Definition: porousmediumflow/mineralization/model.hh:45
static constexpr int numSolidComps()
the number of mineral phases
Definition: porousmediumflow/mineralization/model.hh:47
static constexpr int numInertSolidComps()
the number of inert mineral phases
Definition: porousmediumflow/mineralization/model.hh:49
static constexpr int numEq()
we additionally solve one equation per precipitating mineral phase
Definition: porousmediumflow/mineralization/model.hh:51