Quinoa all test code coverage report
Current view: top level - PDE/CompFlow/Physics - DGEuler.hpp (source / functions) Hit Total Coverage
Commit: Quinoa_v0.3-957-gb4f0efae0 Lines: 2 2 100.0 %
Date: 2021-11-11 18:25:50 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 "Inciter/Options/Physics.hpp"
      22                 :            : 
      23                 :            : namespace inciter {
      24                 :            : namespace dg {
      25                 :            : 
      26                 :            : //! CompFlow system of PDEs problem: Euler (inviscid flow)
      27                 :            : //! \details This class is a no-op, consistent with no additional physics needed
      28                 :            : //!   to make the basic implementation in CompFlow the Euler equations governing
      29                 :            : //!   compressible flow.
      30                 :            : class CompFlowPhysicsEuler {
      31                 :            : 
      32                 :            :   private:
      33                 :            :     using ncomp_t = tk::ctr::ncomp_t;
      34                 :            : 
      35                 :            :   public:
      36                 :            :     //! Return physics type
      37                 :            :     //! \return Physics type
      38                 :      15650 :     static ctr::PhysicsType type() noexcept
      39                 :      15650 :     { return ctr::PhysicsType::EULER; }
      40                 :            : };
      41                 :            : 
      42                 :            : } // dg::
      43                 :            : } // inciter::
      44                 :            : 
      45                 :            : #endif // CompFlowPhysicsDGEuler_h

Generated by: LCOV version 1.14