Quinoa all test code coverage report
Current view: top level - PDE/MultiMat/Physics - DGVelEq.hpp (source / functions) Hit Total Coverage
Commit: Quinoa_v0.3-957-gb4f0efae0 Lines: 1 1 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/MultiMat/Physics/DGVelEq.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 multi-material flow
       9                 :            :     using a finite volume method
      10                 :            :   \details   This file defines a Physics policy class for the compressible
      11                 :            :     flow equations class dg::MultiMat, defined in PDE/MultiMat/DGMultiMat.h.
      12                 :            :     This specific algorithm assumes multi-material flow with a single velocity
      13                 :            :     (velocity equilibirum) and uses a finite volume discretization scheme. See
      14                 :            :     PDE/MultiMat/Physics/DG.h for general requirements on Physics policy classes
      15                 :            :     for dg::MultiMat.
      16                 :            : */
      17                 :            : // *****************************************************************************
      18                 :            : #ifndef MultiMatPhysicsDGVelEq_h
      19                 :            : #define MultiMatPhysicsDGVelEq_h
      20                 :            : 
      21                 :            : #include "Types.hpp"
      22                 :            : #include "Exception.hpp"
      23                 :            : #include "Inciter/Options/Physics.hpp"
      24                 :            : #include "Inciter/InputDeck/InputDeck.hpp"
      25                 :            : 
      26                 :            : namespace inciter {
      27                 :            : 
      28                 :            : extern ctr::InputDeck g_inputdeck;
      29                 :            : 
      30                 :            : namespace dg {
      31                 :            : 
      32                 :            : //! MultiMat system of PDEs problem: VelEq (velocity equilibrium)
      33                 :            : //! \details This class is a no-op, consistent with no additional physics needed
      34                 :            : //!   to make the basic implementation in MultiMat the Euler equations
      35                 :            : //!   governing multi-material compressible flow.
      36                 :            : class MultiMatPhysicsVelEq {
      37                 :            : 
      38                 :            :   public:
      39                 :            :     //! Return enum denoting physics policy
      40                 :            :     //! \return Enum denoting physics policy.
      41                 :       9390 :     static ctr::PhysicsType type() noexcept { return ctr::PhysicsType::VELEQ; }
      42                 :            : };
      43                 :            : 
      44                 :            : } // dg::
      45                 :            : 
      46                 :            : } // inciter::
      47                 :            : 
      48                 :            : #endif // CompFlowPhysicsDGMultiMatVelEq_h

Generated by: LCOV version 1.14