Select Git revision
Forked from
gmsh / gmsh
Source project has a limited visibility.
-
Christophe Geuzaine authored
After r22501 and r22512 GmshFinalize throws an exception or crashes on most of our test builds; removing for now
Christophe Geuzaine authoredAfter r22501 and r22512 GmshFinalize throws an exception or crashes on most of our test builds; removing for now
CreateFile.h 810 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