gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
OpenFile.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef OPENFILE_H
7 #define OPENFILE_H
8 
9 #include <string>
10 
11 int ParseFile(const std::string &fileName, bool close,
12  bool errorIfMissing = false);
13 void ParseString(const std::string &str, bool inCurrentModelDir = false);
14 void OpenProject(const std::string &filename, bool errorIfMissing = false);
15 void OpenProjectMacFinder(const char *fileName);
16 int MergeFile(const std::string &fileName, bool errorIfMissing = false,
17  bool setBoundingBox = true, bool importPhysicalsInOnelab = true,
18  int partitionToRead = -1);
19 int MergePostProcessingFile(const std::string &fileName, int showViews = 2,
20  bool showLastStep = false,
21  bool errorIfMissing = false);
23 void ClearProject();
24 void SetBoundingBox(double xmin, double xmax, double ymin, double ymax,
25  double zmin, double zmax);
26 void SetBoundingBox(bool aroundVisible = false);
27 void AddToTemporaryBoundingBox(double x, double y, double z);
28 
29 #endif
ParseString
void ParseString(const std::string &str, bool inCurrentModelDir=false)
Definition: OpenFile.cpp:259
MergePostProcessingFile
int MergePostProcessingFile(const std::string &fileName, int showViews=2, bool showLastStep=false, bool errorIfMissing=false)
Definition: OpenFile.cpp:574
DeleteAllModelsAndViews
void DeleteAllModelsAndViews()
Definition: OpenFile.cpp:664
MergeFile
int MergeFile(const std::string &fileName, bool errorIfMissing=false, bool setBoundingBox=true, bool importPhysicalsInOnelab=true, int partitionToRead=-1)
Definition: OpenFile.cpp:298
AddToTemporaryBoundingBox
void AddToTemporaryBoundingBox(double x, double y, double z)
Definition: OpenFile.cpp:163
ClearProject
void ClearProject()
Definition: OpenFile.cpp:697
OpenProjectMacFinder
void OpenProjectMacFinder(const char *fileName)
Definition: OpenFile.cpp:799
ParseFile
int ParseFile(const std::string &fileName, bool close, bool errorIfMissing=false)
Definition: OpenFile.cpp:177
z
const double z
Definition: GaussQuadratureQuad.cpp:56
SetBoundingBox
void SetBoundingBox(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
Definition: OpenFile.cpp:115
OpenProject
void OpenProject(const std::string &filename, bool errorIfMissing=false)
Definition: OpenFile.cpp:718