version 3.11-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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-FileCopyrightText: 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::Components {
19
24template <class Scalar>
26: public Components::Base<Scalar, ChlorideIon<Scalar> >
27, public Components::Ion<Scalar, ChlorideIon<Scalar> >
28{
29public:
33 static std::string name()
34 { return "Cl-"; }
35
40 { return 35.453e-3; }
41
45 static constexpr int charge()
46 {
47 return -1;
48 }
49
50};
51
52} // end namespace Dumux::Components
53
54#endif
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: components/base.hh:46
Scalar Scalar
export the scalar type used by the component
Definition: components/base.hh:50
A class for the Cl- (Chloride ion) component properties.
Definition: chlorideion.hh:28
static Scalar molarMass()
The molar mass in of the Cl- ion.
Definition: chlorideion.hh:39
static constexpr int charge()
The charge of the Cl- ion.
Definition: chlorideion.hh:45
static std::string name()
A human readable name for the Cl- ion.
Definition: chlorideion.hh:33
Interface for components that are ions.
Definition: ion.hh:27
Base class for all components Components provide the thermodynamic relations for the liquid,...
Interface for components that are ions.
Definition: air.hh:22