Xyst test code coverage report
Current view: top level - IO - MeditMeshReader.hpp (source / functions) Hit Total Coverage
Commit: ac3d28f3f8b86b070d167d5aee7fb8740cd81df6 Lines: 3 3 100.0 %
Date: 2024-11-28 13:48:12 Functions: 0 0 -
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 2 4 50.0 %

           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-2024 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 1.16