Quinoa all test code coverage report
Current view: top level - PDE/CompFlow - RiemannFactory.cpp (source / functions) Hit Total Coverage
Commit: Quinoa_v0.3-957-gb4f0efae0 Lines: 2 2 100.0 %
Date: 2021-11-09 15:14:18 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/CompFlow/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 single material compressible
       9                 :            :              hydrodynamics into a factory
      10                 :            :   \details   Register available Riemann solvers for single material 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/HLLC.hpp"
      20                 :            : #include "Riemann/LaxFriedrichs.hpp"
      21                 :            : 
      22                 :            : inciter::CompFlowRiemannFactory
      23         [ +  - ]:         80 : inciter::compflowRiemannSolvers()
      24                 :            : // *****************************************************************************
      25                 :            : // \brief Register available Riemann solvers for compressible hydrodynamics into
      26                 :            : //   a factory
      27                 :            : //! \return Riemann solver factory
      28                 :            : // *****************************************************************************
      29                 :            : {
      30                 :            :   using RiemannSolverList = brigand::list< HLLC, LaxFriedrichs >;
      31                 :            :   CompFlowRiemannFactory r;
      32                 :            :   brigand::for_each< RiemannSolverList >( registerRiemannSolver( r ) );
      33                 :         80 :   return r;
      34                 :            : }

Generated by: LCOV version 1.14