Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
59653a3b
Commit
59653a3b
authored
19 years ago
by
Peter Bastian
Browse files
Options
Downloads
Patches
Plain Diff
bug fix
[[Imported from SVN: r3246]]
parent
861badd8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
grid/uggrid/ugintersectionit.cc
+4
-4
4 additions, 4 deletions
grid/uggrid/ugintersectionit.cc
grid/uggrid/ugintersectionit.hh
+1
-1
1 addition, 1 deletion
grid/uggrid/ugintersectionit.hh
with
5 additions
and
5 deletions
grid/uggrid/ugintersectionit.cc
+
4
−
4
View file @
59653a3b
...
...
@@ -101,7 +101,7 @@ intersectionSelfLocal() const
FieldVector
<
UGCtype
,
dim
>
tmp
;
// get the corners local coordinates
UG_NS
<
GridImp
::
dimension
>::
getCornerLocal
(
center_
,
neighborCount_
,
tmp
);
UG_NS
<
GridImp
::
dimension
>::
getCornerLocal
(
center_
,
cornerIdx
,
tmp
);
// and poke them into the Geometry
selfLocal_
.
setCoords
(
i
,
tmp
);
...
...
@@ -141,7 +141,7 @@ inline const typename UGGridIntersectionIterator<GridImp>::LocalGeometry&
UGGridIntersectionIterator
<
GridImp
>::
intersectionNeighborLocal
()
const
{
typename
TargetType
<
0
,
GridImp
::
dimensionworld
>::
T
*
other
,
self
;
typename
TargetType
<
0
,
GridImp
::
dimensionworld
>::
T
*
other
,
*
self
;
// if we have a neighbor on this level, then return it
if
(
UG_NS
<
GridImp
::
dimension
>::
NbElem
(
center_
,
neighborCount_
)
!=
NULL
)
...
...
@@ -192,7 +192,7 @@ intersectionNeighborLocal() const
FieldVector
<
UGCtype
,
dim
>
tmp
;
// get the corners local coordinates
UG_NS
<
GridImp
::
dimension
>::
getCornerLocal
(
other
,
otherCount
,
tmp
);
UG_NS
<
GridImp
::
dimension
>::
getCornerLocal
(
other
,
cornerIdx
,
tmp
);
// and poke them into the Geometry
neighLocal_
.
setCoords
(
i
,
tmp
);
...
...
@@ -246,7 +246,7 @@ template< class GridImp>
inline
int
UGGridIntersectionIterator
<
GridImp
>::
numberInNeighbor
()
const
{
typename
TargetType
<
0
,
GridImp
::
dimensionworld
>::
T
*
other
,
self
;
typename
TargetType
<
0
,
GridImp
::
dimensionworld
>::
T
*
other
,
*
self
;
// if we have a neighbor on this level, then return it
if
(
UG_NS
<
GridImp
::
dimension
>::
NbElem
(
center_
,
neighborCount_
)
!=
NULL
)
...
...
This diff is collapsed.
Click to expand it.
grid/uggrid/ugintersectionit.hh
+
1
−
1
View file @
59653a3b
...
...
@@ -147,7 +147,7 @@ namespace Dune {
mutable
UGMakeableGeometry
<
dim
-
1
,
dimworld
,
GridImp
>
neighGlob_
;
//! This points to the same UG element as center_ does
typename
TargetType
<
0
,
GridImp
::
dimensionworld
>::
T
*
center_
;
typename
TargetType
<
0
,
GridImp
::
dimensionworld
>::
T
*
center_
;
//! The level we're on
int
level_
;
...
...
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