version 3.10-dev
chlorideion.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_MATERIAL_COMPONENTS_CL_ION_HH
13#define DUMUX_MATERIAL_COMPONENTS_CL_ION_HH
14
17
18namespace Dumux {
19namespace Components {
20
25template <class Scalar>
27: public Components::Base<Scalar, ChlorideIon<Scalar> >
28, public Components::Ion<Scalar, ChlorideIon<Scalar> >
29{
30public:
34 static std::string name()
35 { return "Cl-"; }
36
41 { return 35.453e-3; }
42
46 static constexpr int charge()
47 {
48 return -1;
49 }
50
51};
52
53} // end namespace Components
54} // end namespace Dumux
55
56#endif
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: components/base.hh:47
Scalar Scalar
export the scalar type used by the component
Definition: components/base.hh:51
A class for the Cl- (Chloride ion) component properties.
Definition: chlorideion.hh:29
static Scalar molarMass()
The molar mass in of the Cl- ion.
Definition: chlorideion.hh:40
static constexpr int charge()
The charge of the Cl- ion.
Definition: chlorideion.hh:46
static std::string name()
A human readable name for the Cl- ion.
Definition: chlorideion.hh:34
Interface for components that are ions.
Definition: ion.hh:28
Base class for all components Components provide the thermodynamic relations for the liquid,...
Interface for components that are ions.
Definition: adapt.hh:17