GCC Code Coverage Report


Directory: ../../../builds/dumux-repositories/
File: dumux/dumux/material/components/glucose.hh
Date: 2025-04-12 19:19:20
Exec Total Coverage
Lines: 2 2 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-FileCopyrightText: 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::Components {
19
20 /*!
21 * \ingroup Components
22 * \brief A class for the Glucose component properties
23 */
24 template <class Scalar>
25 class Glucose
26 : public Components::Base<Scalar, Glucose<Scalar> >
27 {
28 public:
29
30 /*!
31 * \brief A human readable name for Glucose.
32 */
33 2 static std::string name()
34 2 { return "Glucose"; }
35
36 /*!
37 * \brief The molar mass in \f$\mathrm{[kg/mol]}\f$ of Glucose.
38 */
39 static Scalar molarMass()
40 { return 0.18016; } // kg/mol
41 };
42
43 } // end namespace Dumux::Components
44
45 #endif
46