gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
GmshGlobal.cpp File Reference
#include <string>
#include <time.h>
#include "GmshConfig.h"
#include <stdint.h>
#include "GmshVersion.h"
#include "GmshMessage.h"
#include "GmshDefines.h"
#include "GmshGlobal.h"
#include "GmshRemote.h"
#include "GModel.h"
#include "OpenFile.h"
#include "CreateFile.h"
#include "Options.h"
#include "CommandLine.h"
#include "OS.h"
#include "Context.h"
#include "robustPredicates.h"
#include "BasisFactory.h"
Include dependency graph for GmshGlobal.cpp:

Go to the source code of this file.

Functions

int GmshInitialize (int argc, char **argv, bool readConfigFiles, bool exitOnCommandLineError)
 
int GmshSetMessageHandler (GmshMessage *callback)
 
GmshMessageGmshGetMessageHandler ()
 
int GmshSetBoundingBox (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
 
int GmshSetOption (const std::string &category, const std::string &name, std::string value, int index)
 
int GmshSetOption (const std::string &category, const std::string &name, double value, int index)
 
int GmshSetOption (const std::string &category, const std::string &name, unsigned int value, int index)
 
void GmshSetStringOption (const std::string &category, const std::string &name, std::string value, int index)
 
void GmshSetNumberOption (const std::string &category, const std::string &name, double value, int index)
 
void GmshSetColorOption (const std::string &category, const std::string &name, unsigned int value, int index)
 
int GmshGetOption (const std::string &category, const std::string &name, std::string &value, int index)
 
int GmshGetOption (const std::string &category, const std::string &name, double &value, int index)
 
int GmshGetOption (const std::string &category, const std::string &name, unsigned int &value, int index)
 
std::string GmshGetStringOption (const std::string &category, const std::string &name, int index)
 
double GmshGetNumberOption (const std::string &category, const std::string &name, int index)
 
unsigned int GmshGetColorOption (const std::string &category, const std::string &name, int index)
 
int GmshRestoreDefaultOptions ()
 
int GmshOpenProject (const std::string &fileName)
 
int GmshClearProject ()
 
int GmshMergeFile (const std::string &fileName)
 
int GmshMergePostProcessingFile (const std::string &fileName)
 
int GmshWriteFile (const std::string &fileName)
 
int GmshFinalize ()
 
static void StartupMessage ()
 
static void GoodbyeMessage ()
 
int GmshBatch ()
 
int GmshFLTK (int argc, char **argv)
 
GMSH_API int GmshMainBatch (int argc, char **argv)
 
GMSH_API int GmshMainFLTK (int argc, char **argv)
 

Variables

static bool isInitialized = false
 

Function Documentation

◆ GmshBatch()

int GmshBatch ( )

Definition at line 278 of file GmshGlobal.cpp.

Referenced by GmshMainBatch(), and GmshMainFLTK().

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

◆ GmshClearProject()

int GmshClearProject ( )

Definition at line 219 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshFinalize()

int GmshFinalize ( )

Definition at line 243 of file GmshGlobal.cpp.

Referenced by GmshMainBatch(), and GmshMainFLTK().

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

◆ GmshFLTK()

int GmshFLTK ( int  argc,
char **  argv 
)

Definition at line 388 of file GmshGlobal.cpp.

Referenced by GmshMainFLTK().

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

◆ GmshGetColorOption()

unsigned int GmshGetColorOption ( const std::string &  category,
const std::string &  name,
int  index 
)

Definition at line 198 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshGetMessageHandler()

GmshMessage* GmshGetMessageHandler ( )

Definition at line 110 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshGetNumberOption()

double GmshGetNumberOption ( const std::string &  category,
const std::string &  name,
int  index 
)

Definition at line 190 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshGetOption() [1/3]

int GmshGetOption ( const std::string &  category,
const std::string &  name,
double &  value,
int  index 
)

Definition at line 168 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshGetOption() [2/3]

int GmshGetOption ( const std::string &  category,
const std::string &  name,
std::string &  value,
int  index 
)

Definition at line 161 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshGetOption() [3/3]

int GmshGetOption ( const std::string &  category,
const std::string &  name,
unsigned int &  value,
int  index 
)

Definition at line 175 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshGetStringOption()

std::string GmshGetStringOption ( const std::string &  category,
const std::string &  name,
int  index 
)

Definition at line 182 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshInitialize()

int GmshInitialize ( int  argc,
char **  argv,
bool  readConfigFiles,
bool  exitOnCommandLineError 
)

Definition at line 65 of file GmshGlobal.cpp.

Referenced by GmshMainBatch(), and GmshMainFLTK().

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

◆ GmshMainBatch()

GMSH_API int GmshMainBatch ( int  argc,
char **  argv 
)

Definition at line 485 of file GmshGlobal.cpp.

Referenced by main().

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

◆ GmshMainFLTK()

GMSH_API int GmshMainFLTK ( int  argc,
char **  argv 
)

Definition at line 505 of file GmshGlobal.cpp.

Referenced by main().

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

◆ GmshMergeFile()

int GmshMergeFile ( const std::string &  fileName)

Definition at line 225 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshMergePostProcessingFile()

int GmshMergePostProcessingFile ( const std::string &  fileName)

Definition at line 230 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshOpenProject()

int GmshOpenProject ( const std::string &  fileName)

Definition at line 213 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshRestoreDefaultOptions()

int GmshRestoreDefaultOptions ( )

Definition at line 206 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshSetBoundingBox()

int GmshSetBoundingBox ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
)

Definition at line 112 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshSetColorOption()

void GmshSetColorOption ( const std::string &  category,
const std::string &  name,
unsigned int  value,
int  index 
)

Definition at line 154 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshSetMessageHandler()

int GmshSetMessageHandler ( GmshMessage callback)

Definition at line 104 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshSetNumberOption()

void GmshSetNumberOption ( const std::string &  category,
const std::string &  name,
double  value,
int  index 
)

Definition at line 147 of file GmshGlobal.cpp.

Referenced by GetOtherOption().

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

◆ GmshSetOption() [1/3]

int GmshSetOption ( const std::string &  category,
const std::string &  name,
double  value,
int  index 
)

Definition at line 126 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshSetOption() [2/3]

int GmshSetOption ( const std::string &  category,
const std::string &  name,
std::string  value,
int  index 
)

Definition at line 119 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshSetOption() [3/3]

int GmshSetOption ( const std::string &  category,
const std::string &  name,
unsigned int  value,
int  index 
)

Definition at line 133 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GmshSetStringOption()

void GmshSetStringOption ( const std::string &  category,
const std::string &  name,
std::string  value,
int  index 
)

Definition at line 140 of file GmshGlobal.cpp.

Referenced by GetOtherOption().

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

◆ GmshWriteFile()

int GmshWriteFile ( const std::string &  fileName)

Definition at line 237 of file GmshGlobal.cpp.

Here is the call graph for this function:

◆ GoodbyeMessage()

static void GoodbyeMessage ( )
static

Definition at line 268 of file GmshGlobal.cpp.

Referenced by GmshBatch().

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

◆ StartupMessage()

static void StartupMessage ( )
static

Definition at line 258 of file GmshGlobal.cpp.

Referenced by GmshBatch(), and GmshFLTK().

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

Variable Documentation

◆ isInitialized

GMSH_API int gmsh::isInitialized = false
static

Definition at line 63 of file GmshGlobal.cpp.

Referenced by GFace2PolyMesh(), GmshFinalize(), and GmshInitialize().