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
7505050f
Commit
7505050f
authored
13 years ago
by
Emilie Marchandise
Browse files
Options
Downloads
Patches
Plain Diff
only one boundarytio remesh and refill holes with rbf
parent
34d354d2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Geo/GModel.cpp
+6
-1
6 additions, 1 deletion
Geo/GModel.cpp
Geo/GModel.h
+1
-1
1 addition, 1 deletion
Geo/GModel.h
with
7 additions
and
2 deletions
Geo/GModel.cpp
+
6
−
1
View file @
7505050f
...
@@ -1508,7 +1508,7 @@ void GModel::createTopologyFromRegions(std::vector<discreteRegion*> &discRegions
...
@@ -1508,7 +1508,7 @@ void GModel::createTopologyFromRegions(std::vector<discreteRegion*> &discRegions
Msg
::
Debug
(
"Done creating topology from regions"
);
Msg
::
Debug
(
"Done creating topology from regions"
);
}
}
void
GModel
::
createTopologyFromFaces
(
std
::
vector
<
discreteFace
*>
&
discFaces
)
void
GModel
::
createTopologyFromFaces
(
std
::
vector
<
discreteFace
*>
&
discFaces
,
int
onlyOneBoundary
)
{
{
Msg
::
Debug
(
"Creating topology from faces..."
);
Msg
::
Debug
(
"Creating topology from faces..."
);
...
@@ -1597,6 +1597,11 @@ void GModel::createTopologyFromFaces(std::vector<discreteFace*> &discFaces)
...
@@ -1597,6 +1597,11 @@ void GModel::createTopologyFromFaces(std::vector<discreteFace*> &discFaces)
std
::
vector
<
std
::
vector
<
MEdge
>
>
boundaries
;
std
::
vector
<
std
::
vector
<
MEdge
>
>
boundaries
;
int
nbBounds
=
connectedSurfaceBoundaries
(
myEdges
,
boundaries
);
int
nbBounds
=
connectedSurfaceBoundaries
(
myEdges
,
boundaries
);
//EMI RBF fix
if
(
onlyOneBoundary
){
nbBounds
=
1
;
}
// create new discrete edges
// create new discrete edges
for
(
int
ib
=
0
;
ib
<
nbBounds
;
ib
++
){
for
(
int
ib
=
0
;
ib
<
nbBounds
;
ib
++
){
int
numE
=
getMaxElementaryNumber
(
1
)
+
1
;
int
numE
=
getMaxElementaryNumber
(
1
)
+
1
;
...
...
This diff is collapsed.
Click to expand it.
Geo/GModel.h
+
1
−
1
View file @
7505050f
...
@@ -351,7 +351,7 @@ class GModel
...
@@ -351,7 +351,7 @@ class GModel
// create topology from mesh
// create topology from mesh
void
createTopologyFromMesh
();
void
createTopologyFromMesh
();
void
createTopologyFromRegions
(
std
::
vector
<
discreteRegion
*>
&
discRegions
);
void
createTopologyFromRegions
(
std
::
vector
<
discreteRegion
*>
&
discRegions
);
void
createTopologyFromFaces
(
std
::
vector
<
discreteFace
*>
&
pFaces
);
void
createTopologyFromFaces
(
std
::
vector
<
discreteFace
*>
&
pFaces
,
int
onlyOneBoundary
=
0
);
void
makeDiscreteRegionsSimplyConnected
();
void
makeDiscreteRegionsSimplyConnected
();
void
makeDiscreteFacesSimplyConnected
();
void
makeDiscreteFacesSimplyConnected
();
...
...
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