Quinoa all test code coverage report
Current view: top level - PDE/CompFlow/Physics - DGEuler.hpp (source / functions) Hit Total Coverage
Commit: -128-NOTFOUND Lines: 2 2 100.0 %
Date: 2024-04-29 14:59:56 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : // *****************************************************************************
       2                 :            : /*!
       3                 :            :   \file      src/PDE/CompFlow/Physics/DGEuler.hpp
       4                 :            :   \copyright 2012-2015 J. Bakosi,
       5                 :            :              2016-2018 Los Alamos National Security, LLC.,
       6                 :            :              2019-2021 Triad National Security, LLC.
       7                 :            :              All rights reserved. See the LICENSE file for details.
       8                 :            :   \brief     Physics policy for the Euler equation governing single-material
       9                 :            :     flow using a discontinuous Galerkin finite element method
      10                 :            :   \details   This file defines a Physics policy class for the compressible
      11                 :            :     flow equations class dg::CompFlow, defined in PDE/CompFlow/DGCompFlow.h.
      12                 :            :     This specific algorithm assumes single-material flow and uses a
      13                 :            :     discontinuous Galerkin finite element discretization scheme. See
      14                 :            :     PDE/CompFlow/Physics/DG.h for general requirements on Physics policy classes
      15                 :            :     for dg::CompFlow.
      16                 :            : */
      17                 :            : // *****************************************************************************
      18                 :            : #ifndef CompFlowPhysicsDGEuler_h
      19                 :            : #define CompFlowPhysicsDGEuler_h
      20                 :            : 
      21                 :            : #include "Types.hpp"
      22                 :            : #include "Inciter/Options/Physics.hpp"
      23                 :            : 
      24                 :            : namespace inciter {
      25                 :            : namespace dg {
      26                 :            : 
      27                 :            : //! CompFlow system of PDEs problem: Euler (inviscid flow)
      28                 :            : //! \details This class is a no-op, consistent with no additional physics needed
      29                 :            : //!   to make the basic implementation in CompFlow the Euler equations governing
      30                 :            : //!   compressible flow.
      31                 :            : class CompFlowPhysicsEuler {
      32                 :            : 
      33                 :            :   private:
      34                 :            :     using ncomp_t = tk::ncomp_t;
      35                 :            : 
      36                 :            :   public:
      37                 :            :     //! Return physics type
      38                 :            :     //! \return Physics type
      39                 :      25740 :     static ctr::PhysicsType type() noexcept
      40                 :      25740 :     { return ctr::PhysicsType::EULER; }
      41                 :            : };
      42                 :            : 
      43                 :            : } // dg::
      44                 :            : } // inciter::
      45                 :            : 
      46                 :            : #endif // CompFlowPhysicsDGEuler_h

Generated by: LCOV version 1.14