GCC Code Coverage Report


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