Quinoa regression test code coverage report
Current view: top level - PDE/MultiMat - RiemannFactory.cpp (source / functions) Hit Total Coverage
Commit: Quinoa_v0.3-957-gb4f0efae0 Lines: 2 2 100.0 %
Date: 2021-11-09 13:40:20 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : // *****************************************************************************
       2                 :            : /*!
       3                 :            :   \file      src/PDE/MultiMat/RiemannFactory.cpp
       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     Register available Riemann solvers for multimaterial compressible
       9                 :            :              hydrodynamics into a factory
      10                 :            :   \details   Register available Riemann solvers for multimaterial compressible
      11                 :            :              hydrodynamics into a factory.
      12                 :            : */
      13                 :            : // *****************************************************************************
      14                 :            : 
      15                 :            : #include <brigand/sequences/list.hpp>
      16                 :            : #include <brigand/algorithms/for_each.hpp>
      17                 :            : 
      18                 :            : #include "RiemannFactory.hpp"
      19                 :            : #include "Riemann/HLL.hpp"
      20                 :            : #include "Riemann/AUSM.hpp"
      21                 :            : 
      22                 :            : inciter::MultiMatRiemannFactory
      23         [ +  - ]:         30 : inciter::multimatRiemannSolvers()
      24                 :            : // *****************************************************************************
      25                 :            : // \brief Register available Riemann solvers for multimaterial compressible
      26                 :            : //    hydrodynamics into a factory
      27                 :            : //! \return Riemann solver factory
      28                 :            : // *****************************************************************************
      29                 :            : {
      30                 :            :   using RiemannSolverList = brigand::list< AUSM, HLL >;
      31                 :            :   MultiMatRiemannFactory r;
      32                 :            :   brigand::for_each< RiemannSolverList >( registerRiemannSolver( r ) );
      33                 :         30 :   return r;
      34                 :            : }

Generated by: LCOV version 1.14