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 : 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
|