Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
4c6894fd
Commit
4c6894fd
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
fix compile
parent
4bfa7c0d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Geo/GModelIO_CGNS.cpp
+1
-1
1 addition, 1 deletion
Geo/GModelIO_CGNS.cpp
Geo/GModelIO_OCC.cpp
+8
-1
8 additions, 1 deletion
Geo/GModelIO_OCC.cpp
with
9 additions
and
2 deletions
Geo/GModelIO_CGNS.cpp
+
1
−
1
View file @
4c6894fd
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Geo/GModelIO_OCC.cpp
+
8
−
1
View file @
4c6894fd
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment