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

set factory

parent 90bae6d5
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@ int main(int argc, char **argv)
GmshInitialize(argc, argv);
GModel *m = new GModel();
m->setFactory("Gmsh");
GVertex *v1 = m->addVertex(0, 0, 0, 0.1);
GVertex *v2 = m->addVertex(1, 0, 0, 0.1);
GVertex *v3 = m->addVertex(1, 1, 0, 0.1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment