Quinoa regression test code coverage report
Current view: top level - PDE/CompFlow/Problem - RotatedSodShocktube.hpp (source / functions) Hit Total Coverage
Commit: Quinoa_v0.3-957-gb4f0efae0 Lines: 2 2 100.0 %
Date: 2021-11-11 13:17:06 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/Problem/RotatedSodShocktube.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     Problem configuration for rotated Sod's shock-tube
       9                 :            :   \details   This file defines a policy class for the compressible flow
      10                 :            :     equations, defined in PDE/CompFlow/CompFlow.h. See PDE/CompFlow/Problems.h
      11                 :            :     for general requirements on Problem policy classes for CompFlow.
      12                 :            : */
      13                 :            : // *****************************************************************************
      14                 :            : #ifndef CompFlowProblemRotatedSodShocktube_h
      15                 :            : #define CompFlowProblemRotatedSodShocktube_h
      16                 :            : 
      17                 :            : #include "Types.hpp"
      18                 :            : #include "SodShocktube.hpp"
      19                 :            : 
      20                 :            : namespace inciter {
      21                 :            : 
      22                 :            : //! CompFlow system of PDEs problem: rotated Sod shock-tube
      23                 :            : //! \see G. A. Sod. A Survey of Several Finite Difference Methods for Systems of
      24                 :            : //!   Nonlinear Hyperbolic Conservation Laws. J. Comput. Phys., 27:1–31, 1978.
      25                 :            : class CompFlowProblemRotatedSodShocktube : public CompFlowProblemSodShocktube {
      26                 :            : 
      27                 :            :   public:
      28                 :            :     //! Initialize numerical solution
      29                 :            :     static tk::InitializeFn::result_type
      30                 :            :     initialize( ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y,
      31                 :            :                 tk::real z, tk::real t );
      32                 :            : 
      33                 :            :     //! Return problem type
      34                 :       4695 :     static ctr::ProblemType type() noexcept
      35                 :       4695 :     { return ctr::ProblemType::ROTATED_SOD_SHOCKTUBE; }
      36                 :            : };
      37                 :            : 
      38                 :            : } // inciter::
      39                 :            : 
      40                 :            : #endif // CompFlowProblemRotatedSodShocktube_h

Generated by: LCOV version 1.14