Skip to content
Snippets Groups Projects
Commit 8fc4642f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

added GmshSetBoundingBox
parent 0eac3ef4
Branches
Tags
No related merge requests found
......@@ -61,6 +61,13 @@ int GmshSetMessageHandler(GmshMessage *callback)
return 1;
}
int GmshSetBoundingBox(double xmin, double xmax,
double ymin, double ymax,
double zmin, double zmax)
{
SetBoundingBox(xmin, xmax, ymin, ymax, zmin, zmax);
}
int GmshSetOption(std::string category, std::string name, std::string value, int index)
{
return StringOption(GMSH_SET, category.c_str(), index, name.c_str(), value);
......
......@@ -11,6 +11,9 @@
int GmshInitialize(int argc=0, char **argv=0);
int GmshSetMessageHandler(GmshMessage *callback);
int GmshSetBoundingBox(double xmin, double xmax,
double ymin, double ymax,
double zmin, double zmax);
int GmshSetOption(std::string category, std::string name, std::string value, int index=0);
int GmshSetOption(std::string category, std::string name, double value, int index=0);
int GmshSetOption(std::string category, std::string name, unsigned int value, int index=0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment