1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// *****************************************************************************
/*!
  \file      src/IO/MeshDetect.hpp
  \copyright 2012-2015 J. Bakosi,
             2016-2018 Los Alamos National Security, LLC.,
             2019-2021 Triad National Security, LLC.,
             2022-2025 J. Bakosi
             All rights reserved. See the LICENSE file for details.
  \brief     Unstructured mesh file format detection
  \details   Unstructured mesh file format detection functions.
*/
// *****************************************************************************
#pragma once

#include <iosfwd><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <cstdint><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.

namespace tk {

//! Supported mesh readers
enum class MeshReaderType : uint8_t { GMSH = 0
                                    , NETGEN
                                    , EXODUSII
                                    , ASC
                                    , UGRID
                                    , RDGFLO
                                    , MEDIT
                                    };

//! Supported mesh writers
enum class MeshWriterType : uint8_t { GMSH = 0
                                    , NETGEN
                                    , EXODUSII
                                    };

//! Detect input mesh file type
MeshReaderType
detectInput( const std::string& filename );

//! Determine output mesh file type
MeshWriterType
pickOutput( const std::string& filename );

} // tk::