Skip to content
Snippets Groups Projects
Select Git revision
  • 1d3ca72e73e5c8955d9c6e8e6893eb5c666a0225
  • master default protected
  • overlaps_tags_and_distributed_export
  • overlaps_tags_and_distributed_export_rebased
  • relaying
  • alphashapes
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • gmsh_4_14_0
  • gmsh_4_13_1
  • gmsh_4_13_0
  • gmsh_4_12_2
  • gmsh_4_12_1
  • gmsh_4_12_0
  • gmsh_4_11_1
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
41 results

prepro.py

Blame
  • 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