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
08d636cc
Commit
08d636cc
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
fix embed
parent
c75852c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Geo/GModel.cpp
+3
-1
3 additions, 1 deletion
Geo/GModel.cpp
Makefile
+3
-3
3 additions, 3 deletions
Makefile
utils/embed/GmshEmbedded.h
+2
-0
2 additions, 0 deletions
utils/embed/GmshEmbedded.h
with
8 additions
and
4 deletions
Geo/GModel.cpp
+
3
−
1
View file @
08d636cc
// $Id: GModel.cpp,v 1.9
5
2008-07-
08 12:43:25
geuzaine Exp $
// $Id: GModel.cpp,v 1.9
6
2008-07-
10 14:35:39
geuzaine Exp $
//
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -131,8 +131,10 @@ void GModel::destroyMeshCaches()
...
@@ -131,8 +131,10 @@ void GModel::destroyMeshCaches()
{
{
_vertexVectorCache
.
clear
();
_vertexVectorCache
.
clear
();
_vertexMapCache
.
clear
();
_vertexMapCache
.
clear
();
#if !defined(HAVE_GMSH_EMBEDDED)
if
(
_octree
)
Octree_Delete
(
_octree
);
if
(
_octree
)
Octree_Delete
(
_octree
);
_octree
=
0
;
_octree
=
0
;
#endif
}
}
GRegion
*
GModel
::
getRegionByTag
(
int
n
)
const
GRegion
*
GModel
::
getRegionByTag
(
int
n
)
const
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
3
View file @
08d636cc
# $Id: Makefile,v 1.49
3
2008-07-10 1
3:29:23
geuzaine Exp $
# $Id: Makefile,v 1.49
4
2008-07-10 1
4:35:39
geuzaine Exp $
#
#
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
#
#
...
@@ -102,8 +102,8 @@ uninstall-lib:
...
@@ -102,8 +102,8 @@ uninstall-lib:
rm
-rf
${
libdir
}
/libGmsh
${
LIBSUFFIX
}${
LIBEXT
}
rm
-rf
${
libdir
}
/libGmsh
${
LIBSUFFIX
}${
LIBEXT
}
embed
:
embed
:
@
if
[
-r
../getdp
2
/contrib/gmsh/Makefile
]
;
then
\
@
if
[
-r
../getdp/contrib/gmsh/Makefile
]
;
then
\
rsync
-av
${
GMSH_EMBEDDED
}
../getdp
2
/contrib/gmsh
;
\
rsync
-av
${
GMSH_EMBEDDED
}
../getdp/contrib/gmsh
;
\
fi
fi
variables
:
configure
variables
:
configure
...
...
This diff is collapsed.
Click to expand it.
utils/embed/GmshEmbedded.h
+
2
−
0
View file @
08d636cc
...
@@ -12,6 +12,7 @@ public:
...
@@ -12,6 +12,7 @@ public:
hide_unselected
=
0
;
hide_unselected
=
0
;
geom
.
tolerance
=
1.e-6
;
geom
.
tolerance
=
1.e-6
;
mesh
.
reverse_all_normals
=
1
;
mesh
.
reverse_all_normals
=
1
;
mesh
.
second_order_experimental
=
0
;
pick_elements
=
0
;
pick_elements
=
0
;
}
}
double
lc
;
double
lc
;
...
@@ -22,6 +23,7 @@ public:
...
@@ -22,6 +23,7 @@ public:
}
geom
;
}
geom
;
struct
{
struct
{
int
reverse_all_normals
;
int
reverse_all_normals
;
int
second_order_experimental
;
}
mesh
;
}
mesh
;
unsigned
int
PACK_COLOR
(
int
,
int
,
int
,
int
){
return
0
;
}
unsigned
int
PACK_COLOR
(
int
,
int
,
int
,
int
){
return
0
;
}
int
UNPACK_RED
(
unsigned
int
){
return
0
;
}
int
UNPACK_RED
(
unsigned
int
){
return
0
;
}
...
...
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