Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-subgrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
neubertw
dune-subgrid
Commits
62cd7529
Commit
62cd7529
authored
13 years ago
by
akbib
Committed by
akbib@FU-BERLIN.DE
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
same bugfix as in revision 352, this time for the case of a nonconforming hostgrid
[[Imported from SVN: r353]]
parent
f74b6f0b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/subgrid/subgrid/subgridintersectioniterator.hh
+8
-0
8 additions, 0 deletions
dune/subgrid/subgrid/subgridintersectioniterator.hh
with
8 additions
and
0 deletions
dune/subgrid/subgrid/subgridintersectioniterator.hh
+
8
−
0
View file @
62cd7529
...
...
@@ -133,10 +133,18 @@ public:
{
// top to bottom
FatherFaceIterator
fatherIt
(
subGrid_
,
hostIterator_
,
FatherFaceIterator
::
begin
);
FatherFaceIterator
fatherEndIt
(
subGrid_
,
hostIterator_
,
FatherFaceIterator
::
end
);
// get first internal face
while
(
true
)
{
if
(
fatherIt
->
inside
()
->
level
()
==
0
||
(
fatherIt
->
neighbor
()
&&
subGrid_
->
template
contains
<
0
>(
*
(
fatherIt
->
outside
()))))
break
;
else
if
(
fatherIt
==
fatherEndIt
)
{
// if no father found the intersection is in the inside of an element that is not completly covered by the subgrid children,
// This can happen when "insertPartial" is used. In this case this is a boundary intersection
hierarchicFaceIterator_
=
HierarchicFaceIterator
(
subGrid_
,
hostIterator_
,
hostIterator_
->
inside
(),
12345
);
return
;
}
else
++
fatherIt
;
}
...
...
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