Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-alugrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
dune-alugrid
Commits
d326aa0c
Commit
d326aa0c
authored
6 years ago
by
alkaemper
Browse files
Options
Downloads
Patches
Plain Diff
avoid checking the artificial faces for periodic boundaries
parent
d23ed7af
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/alugrid/3d/gridfactory.cc
+22
-0
22 additions, 0 deletions
dune/alugrid/3d/gridfactory.cc
with
22 additions
and
0 deletions
dune/alugrid/3d/gridfactory.cc
+
22
−
0
View file @
d326aa0c
...
@@ -975,6 +975,17 @@ namespace Dune
...
@@ -975,6 +975,17 @@ namespace Dune
const
FaceMapIterator
fend
=
faceMap
.
end
();
const
FaceMapIterator
fend
=
faceMap
.
end
();
for
(
FaceMapIterator
fit
=
faceMap
.
begin
();
fit
!=
fend
;
++
fit
)
for
(
FaceMapIterator
fit
=
faceMap
.
begin
();
fit
!=
fend
;
++
fit
)
{
{
//for dimension == 2 we do not want to search
// the artificially introduced faces
if
(
dimension
==
2
)
{
if
(
elementType
==
hexa
)
if
(
fit
->
second
.
second
>
3
)
continue
;
if
(
elementType
==
tetra
)
if
(
fit
->
second
.
second
>
2
)
continue
;
}
FaceType
key2
;
FaceType
key2
;
generateFace
(
fit
->
second
,
key2
);
generateFace
(
fit
->
second
,
key2
);
...
@@ -1064,6 +1075,17 @@ namespace Dune
...
@@ -1064,6 +1075,17 @@ namespace Dune
{
{
for
(
auto
it
=
faceMap
.
begin
();
it
!=
faceMap
.
end
();
++
it
)
for
(
auto
it
=
faceMap
.
begin
();
it
!=
faceMap
.
end
();
++
it
)
{
{
//for dimension == 2 we do not want to search
// the artificially introduced faces
if
(
dimension
==
2
)
{
if
(
elementType
==
hexa
)
if
(
it
->
second
.
second
>
3
)
continue
;
if
(
elementType
==
tetra
)
if
(
it
->
second
.
second
>
2
)
continue
;
}
searchPeriodicNeighbor
(
faceMap
,
it
,
defaultId
);
searchPeriodicNeighbor
(
faceMap
,
it
,
defaultId
);
}
}
}
}
...
...
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