Skip to content
Snippets Groups Projects
Select Git revision
  • 1f49dfe4a7bb4aaffb6c8e22ea85afc55376c998
  • master default
  • library-names
  • fix_script_header
  • fix_libdir
  • fix_cmake_hdf5
  • partition
  • cgnsUnstructured
  • partitioning
  • HighOrderBLCurving
  • gmsh_3_0_5
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
30 results

OS.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    CreateFile.h 806 B
    // Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
    
    #ifndef CREATE_FILE_H
    #define CREATE_FILE_H
    
    #include <string>
    
    int GetFileFormatFromExtension(const std::string &fileName,
                                   double *version = 0);
    int GuessFileFormatFromFileName(const std::string &fileName,
                                    double *version = 0);
    std::string GetDefaultFileExtension(int format, bool onlyMeshFormats = false);
    std::string GetDefaultFileName(int format);
    std::string GetKnownFileFormats(bool onlyMeshFormats = false);
    void CreateOutputFile(const std::string &fileName, int format,
                          bool status = true, bool redraw = true);
    
    #endif