Quinoa all test code coverage report
Current view: top level - IO - NetgenMeshWriter.hpp (source / functions) Hit Total Coverage
Commit: -128-NOTFOUND Lines: 2 2 100.0 %
Date: 2024-11-08 10:37:44 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/NetgenMeshWriter.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     Netgen mesh writer class declaration
       9                 :            :   \details   Netgen mesh writer class declaration. Only supports tetrahedra.
      10                 :            : */
      11                 :            : // *****************************************************************************
      12                 :            : #ifndef NetgenMeshWriter_h
      13                 :            : #define NetgenMeshWriter_h
      14                 :            : 
      15                 :            : #include <iosfwd>
      16                 :            : 
      17                 :            : #include "Writer.hpp"
      18                 :            : 
      19                 :            : namespace tk {
      20                 :            : 
      21                 :            : class UnsMesh;
      22                 :            : 
      23                 :            : //! Netgen mesh-based writer
      24                 :            : //! \details Mesh reader class facilitating reading a mesh from a file saved by
      25                 :            : //!   the Netgen mesh generator
      26                 :            : //! \see http://sourceforge.net/apps/mediawiki/netgen-mesher
      27                 :          5 : class NetgenMeshWriter : public Writer {
      28                 :            : 
      29                 :            :   public:
      30                 :            :     //! Constructor
      31                 :            :     explicit NetgenMeshWriter( const std::string& filename )
      32 [ +  - ][ +  - ]:          5 :       : Writer( filename ) {}
      33                 :            : 
      34                 :            :     //! Write Netgen mesh
      35                 :            :     void writeMesh( const UnsMesh& mesh );
      36                 :            : 
      37                 :            :   private:
      38                 :            :     //! Write nodes
      39                 :            :     void writeNodes( const UnsMesh& mesh );
      40                 :            : 
      41                 :            :     //! Write elements, i.e., connectivity
      42                 :            :     void writeElements( const UnsMesh& mesh );
      43                 :            : };
      44                 :            : 
      45                 :            : } // tk::
      46                 :            : 
      47                 :            : #endif // NetgenMeshWriter_h

Generated by: LCOV version 1.14