Xyst test code coverage report
Current view: top level - IO - MeditMeshReader.hpp Coverage Total Hit
Commit: 1fb74642dd9d7732b67f32dec2f2762e238d3fa7 Lines: 100.0 % 3 3
Test Date: 2025-08-13 22:18:46 Functions: - 0 0
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 50.0 % 4 2

             Branch data     Line data    Source code
       1                 :             : // *****************************************************************************
       2                 :             : /*!
       3                 :             :   \file      src/IO/MeditMeshReader.hpp
       4                 :             :   \copyright 2012-2015 J. Bakosi,
       5                 :             :              2016-2018 Los Alamos National Security, LLC.,
       6                 :             :              2019-2021 Triad National Security, LLC.,
       7                 :             :              2022-2025 J. Bakosi
       8                 :             :              All rights reserved. See the LICENSE file for details.
       9                 :             :   \brief     Medit mesh reader class declaration
      10                 :             :   \details   Medit mesh reader class declaration. Only supports tetrahedra.
      11                 :             : */
      12                 :             : // *****************************************************************************
      13                 :             : #ifndef MeditMeshReader_h
      14                 :             : #define MeditMeshReader_h
      15                 :             : 
      16                 :             : #include <iosfwd>
      17                 :             : 
      18                 :             : #include "Reader.hpp"
      19                 :             : 
      20                 :             : namespace tk {
      21                 :             : 
      22                 :             : class UnsMesh;
      23                 :             : 
      24                 :             : //! \brief MeditMeshReader : tk::Reader
      25                 :             : //! \details Mesh reader class facilitating reading a mesh from a file saved by
      26                 :             : //!   https://people.sc.fsu.edu/~jburkardt/data/medit/medit.html
      27                 :           2 : class MeditMeshReader : public Reader {
      28                 :             : 
      29                 :             :   public:
      30                 :             :     //! Constructor
      31                 :           2 :     explicit MeditMeshReader( const std::string& filename ) :
      32 [ +  - ][ +  - ]:           2 :       Reader( filename ) {}
      33                 :             : 
      34                 :             :     //! Read Medit mesh
      35                 :             :     void readMesh( UnsMesh& mesh );
      36                 :             : };
      37                 :             : 
      38                 :             : } // tk::
      39                 :             : 
      40                 :             : #endif // MeditMeshReader_h
        

Generated by: LCOV version 2.0-1