Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
cdacff87
Commit
cdacff87
authored
Oct 05, 2016
by
Franjo Juretic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated meshUntangler
parent
97346d06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegion.C
.../advancedSmoothers/meshUntangler/meshUntanglerCutRegion.C
+5
-2
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegionTieBreak.C
...dSmoothers/meshUntangler/meshUntanglerCutRegionTieBreak.C
+3
-5
No files found.
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegion.C
View file @
cdacff87
...
...
@@ -272,7 +272,7 @@ void meshUntangler::cutRegion::createPolyMeshFromRegion
fEdges
.
append
(
edges
[
f
[
eI
]]);
Info
<<
"Edges forming face "
<<
fI
<<
" are "
<<
fEdges
<<
endl
;
labelListList
sf
=
sortEdgesIntoChains
(
fEdges
).
sortedChains
();
const
DynList
<
DynList
<
label
>
>
sf
=
sortEdgesIntoChains
(
fEdges
).
sortedChains
();
if
(
sf
.
size
()
!=
1
)
FatalErrorIn
(
...
...
@@ -280,7 +280,10 @@ void meshUntangler::cutRegion::createPolyMeshFromRegion
"cutRegion::createPolyMeshFromRegion(polyMesgGen&)"
)
<<
"More than one face created!"
<<
abort
(
FatalError
);
faces
[
fI
]
=
face
(
sf
[
0
]);
faces
[
fI
].
setSize
(
sf
[
0
].
size
());
forAll
(
sf
[
0
],
pI
)
faces
[
fI
][
pI
]
=
sf
[
0
][
pI
];
cells
[
0
][
fI
]
=
fI
;
}
}
...
...
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegionTieBreak.C
View file @
cdacff87
...
...
@@ -56,16 +56,14 @@ void meshUntangler::cutRegion::tieBreak(const DynList<label, 8>& f)
deleteDemandDrivenData
(
cEdgesPtr_
);
deleteDemandDrivenData
(
cFacesPtr_
);
//- remove coincident vertices
//removeCoincidentVertices();
const
DynList
<
edge
,
128
>&
edges
=
*
edgesPtr_
;
DynList
<
edge
>
faceEdges
;
forAll
(
f
,
eI
)
faceEdges
.
append
(
edges
[
f
[
eI
]]);
labelListList
fvertices
=
sortEdgesIntoChains
(
faceEdges
).
sortedChains
();
const
DynList
<
DynList
<
label
>
>
fvertices
=
sortEdgesIntoChains
(
faceEdges
).
sortedChains
();
if
(
fvertices
.
size
()
!=
1
)
{
valid_
=
false
;
...
...
@@ -79,7 +77,7 @@ void meshUntangler::cutRegion::tieBreak(const DynList<label, 8>& f)
<<
fvertices
.
size
()
<<
abort
(
FatalError
);
}
const
labelList
&
fv
=
fvertices
[
0
];
const
DynList
<
label
>
&
fv
=
fvertices
[
0
];
DynList
<
label
,
64
>
vertexRegion
;
vertexRegion
.
setSize
(
fv
.
size
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment