Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
c4c2dbd0
Commit
c4c2dbd0
authored
Oct 14, 2011
by
Praetorius, Simon
Browse files
findElInfoAtPoint corrected
parent
da42e358
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/Mesh.cc
View file @
c4c2dbd0
...
...
@@ -712,7 +712,7 @@ namespace AMDiS {
int
k
;
while
((
k
=
mel_info
->
worldToCoord
(
xy
,
&
lambda
))
>=
0
)
{
macrosVisited
.
insert
(
mel
->
getIndex
());
if
(
mel
->
getNeighbour
(
k
)
&&
!
macrosVisited
.
count
(
mel
->
getNeighbour
(
k
)
->
getIndex
())
{
if
(
mel
->
getNeighbour
(
k
)
&&
!
macrosVisited
.
count
(
mel
->
getNeighbour
(
k
)
->
getIndex
())
)
{
mel
=
mel
->
getNeighbour
(
k
);
// if (macrosVisited.count(mel->getIndex())) // Nur für periodische RB interessant, muss noch implementiert werden
// return false;
...
...
@@ -721,7 +721,7 @@ namespace AMDiS {
continue
;
}
else
{
for
(
int
i
=
0
;
i
<
dim
+
1
;
++
i
)
{
if
(
i
!=
k
&&
mel
->
getNeighbour
(
i
)
&&
!
macrosVisited
.
count
(
mel
->
getNeighbour
(
i
)
->
getIndex
())
if
(
i
!=
k
&&
mel
->
getNeighbour
(
i
)
&&
!
macrosVisited
.
count
(
mel
->
getNeighbour
(
i
)
->
getIndex
())
)
active
.
push
(
mel
->
getNeighbour
(
i
));
}
if
(
active
.
empty
())
...
...
Write
Preview
Supports
Markdown
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