gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
OpenFile.h File Reference
#include <string>
Include dependency graph for OpenFile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ParseFile (const std::string &fileName, bool close, bool errorIfMissing=false)
 
void ParseString (const std::string &str, bool inCurrentModelDir=false)
 
void OpenProject (const std::string &filename, bool errorIfMissing=false)
 
void OpenProjectMacFinder (const char *fileName)
 
int MergeFile (const std::string &fileName, bool errorIfMissing=false, bool setBoundingBox=true, bool importPhysicalsInOnelab=true, int partitionToRead=-1)
 
int MergePostProcessingFile (const std::string &fileName, int showViews=2, bool showLastStep=false, bool errorIfMissing=false)
 
void DeleteAllModelsAndViews ()
 
void ClearProject ()
 
void SetBoundingBox (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
 
void SetBoundingBox (bool aroundVisible=false)
 
void AddToTemporaryBoundingBox (double x, double y, double z)
 

Function Documentation

◆ AddToTemporaryBoundingBox()

void AddToTemporaryBoundingBox ( double  x,
double  y,
double  z 
)

Definition at line 163 of file OpenFile.cpp.

Here is the call graph for this function:

◆ ClearProject()

void ClearProject ( )

Definition at line 697 of file OpenFile.cpp.

Referenced by GmshClearProject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeleteAllModelsAndViews()

void DeleteAllModelsAndViews ( )

Definition at line 664 of file OpenFile.cpp.

Referenced by ClearProject(), and GmshFinalize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MergeFile()

int MergeFile ( const std::string &  fileName,
bool  errorIfMissing = false,
bool  setBoundingBox = true,
bool  importPhysicalsInOnelab = true,
int  partitionToRead = -1 
)

Definition at line 298 of file OpenFile.cpp.

Referenced by GmshBatch(), GmshFLTK(), GmshMergeFile(), GModel::load(), MergeFile(), MergePostProcessingFile(), and OpenProject().

Here is the caller graph for this function:

◆ MergePostProcessingFile()

int MergePostProcessingFile ( const std::string &  fileName,
int  showViews = 2,
bool  showLastStep = false,
bool  errorIfMissing = false 
)

Definition at line 574 of file OpenFile.cpp.

Referenced by GmshBatch(), GmshFLTK(), and GmshMergePostProcessingFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OpenProject()

void OpenProject ( const std::string &  filename,
bool  errorIfMissing = false 
)

Definition at line 718 of file OpenFile.cpp.

Referenced by GetMeshOption(), GmshBatch(), GmshFLTK(), GmshOpenProject(), OpenProjectMacFinder(), scriptAddCommand(), and scriptRemoveLastCommand().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OpenProjectMacFinder()

void OpenProjectMacFinder ( const char *  fileName)

Definition at line 799 of file OpenFile.cpp.

Here is the call graph for this function:

◆ ParseFile()

int ParseFile ( const std::string &  fileName,
bool  close,
bool  errorIfMissing = false 
)

Definition at line 177 of file OpenFile.cpp.

Referenced by GetOptions(), GetOtherOption(), and GModel::readGEO().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParseString()

void ParseString ( const std::string &  str,
bool  inCurrentModelDir = false 
)

Definition at line 259 of file OpenFile.cpp.

Referenced by ChangePrintParameter(), and GetOtherOption().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetBoundingBox() [1/2]

void SetBoundingBox ( bool  aroundVisible = false)

Definition at line 127 of file OpenFile.cpp.

Here is the call graph for this function:

◆ SetBoundingBox() [2/2]

void SetBoundingBox ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
)

Definition at line 115 of file OpenFile.cpp.

Referenced by GMSH_LongituteLatitudePlugin::execute(), PView::fillVertexArray(), GmshSetBoundingBox(), MergeFile(), and GEO_Internals::synchronize().

Here is the call graph for this function:
Here is the caller graph for this function: