GCC Code Coverage Report


Directory: ../../../builds/dumux-repositories/
File: /builds/dumux-repositories/dumux/dumux/material/components/glucose.hh
Date: 2024-09-21 20:52:54
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 0 0 -%

Line Branch Exec Source
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 //
7
8 /*!
9 * \file
10 * \ingroup Components
11 * \brief A class for the Glucose component properties
12 */
13 #ifndef DUMUX_MATERIAL_COMPONENTS_GLUCOSE_HH
14 #define DUMUX_MATERIAL_COMPONENTS_GLUCOSE_HH
15
16 #include <dumux/material/components/base.hh>
17
18 namespace Dumux {
19 namespace Components {
20
21 /*!
22 * \ingroup Components
23 * \brief A class for the Glucose component properties
24 */
25 template <class Scalar>
26 class Glucose
27 : public Components::Base<Scalar, Glucose<Scalar> >
28 {
29 public:
30
31 /*!
32 * \brief A human readable name for Glucose.
33 */
34 static std::string name()
35 4 { return "Glucose"; }
36
37 /*!
38 * \brief The molar mass in \f$\mathrm{[kg/mol]}\f$ of Glucose.
39 */
40 static Scalar molarMass()
41 { return 0.18016; } // kg/mol
42 };
43
44 } // end namespace Components
45 } // end namespace Dumux
46
47 #endif
48