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

fix compile

parent 4bfa7c0d
Branches
Tags
No related merge requests found
...@@ -658,7 +658,7 @@ int get_zone_definition(GModel &model, const int zoneDefinition, ...@@ -658,7 +658,7 @@ int get_zone_definition(GModel &model, const int zoneDefinition,
break; break;
case 2: // Zone defined by physical case 2: // Zone defined by physical
partition = -1; partition = -1;
_zoneName = model.getPhysicalName(globalPhysicalIt->first).c_str(); _zoneName = model.getPhysicalName(3/*FIXME*/, globalPhysicalIt->first);
physicalItBegin = globalPhysicalIt++; physicalItBegin = globalPhysicalIt++;
physicalItEnd = globalPhysicalIt; physicalItEnd = globalPhysicalIt;
break; break;
......
...@@ -740,11 +740,18 @@ int GModel::readOCCBREP(const std::string &fn) ...@@ -740,11 +740,18 @@ int GModel::readOCCBREP(const std::string &fn)
return 0; return 0;
} }
int GModel::importOCCShape(const void *shape) //, const void *options) int GModel::importOCCShape(const void *shape)
{ {
Msg::Error("Gmsh must be compiled with OpenCascade support to import " Msg::Error("Gmsh must be compiled with OpenCascade support to import "
"a TopoDS_Shape"); "a TopoDS_Shape");
return 0; return 0;
} }
int GModel::applyOCCMeshConstraints(const void *constraints)
{
Msg::Error("Gmsh must be compiled with OpenCascade support to apply "
"OCC mesh constraints");
return 0;
}
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment