64
64
int GmshSetOption(std::string category, std::string name, std::string value, int index)
66
if(StringOption(GMSH_SET, category.c_str(), index, name.c_str(), value))
66
return StringOption(GMSH_SET, category.c_str(), index, name.c_str(), value);
71
69
int GmshSetOption(std::string category, std::string name, double value, int index)
73
if(NumberOption(GMSH_SET, category.c_str(), index, name.c_str(), value))
71
return NumberOption(GMSH_SET, category.c_str(), index, name.c_str(), value);
74
int GmshSetOption(std::string category, std::string name, unsigned int value, int index)
76
return ColorOption(GMSH_SET, category.c_str(), index, name.c_str(), value);
79
int GmshGetOption(std::string category, std::string name, std::string &value, int index)
81
return StringOption(GMSH_GET, category.c_str(), index, name.c_str(), value);
84
int GmshGetOption(std::string category, std::string name, double &value, int index)
86
return NumberOption(GMSH_GET, category.c_str(), index, name.c_str(), value);
89
int GmshGetOption(std::string category, std::string name, unsigned int &value, int index)
91
return ColorOption(GMSH_GET, category.c_str(), index, name.c_str(), value);
78
94
int GmshMergeFile(std::string fileName)
90
Msg::Info("Running '%s'", Msg::GetCommandLine().c_str());
106
Msg::Info("Running '%s'", Msg::GetCommandLineArgs().c_str());
91
107
Msg::Info("Started on %s", Msg::GetLaunchDate().c_str());
93
109
OpenProject(GModel::current()->getFileName());