Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Etienne Schmitt
CGoGN
Commits
da400179
Commit
da400179
authored
Feb 11, 2014
by
thery
Browse files
bug in Traversor2FFaV
parent
29179079
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/Topology/generic/traversor2.h
View file @
da400179
...
...
@@ -241,6 +241,7 @@ public:
}
;
// Traverse the faces adjacent to a given face through sharing a common edge
// Warning mult-incidence is not managed (some faces can be send several times)
template
<
typename
MAP
>
class
Traversor2FFaE
//: public Traversor<MAP>
{
...
...
include/Topology/generic/traversor2.hpp
View file @
da400179
...
...
@@ -530,12 +530,12 @@ Traversor2FFaV<MAP>::Traversor2FFaV(const MAP& map, Dart dart) : m(map),m_QLT(NU
else
{
start
=
m
.
phi2
(
m
.
phi_1
(
m
.
phi2
(
m
.
phi_1
(
dart
))))
;
current
=
start
;
if
(
start
==
dart
)
while
(
start
==
dart
)
{
stop
=
m
.
phi
2
(
m
.
phi_
1
(
dart
)
)
;
start
=
next
(
)
;
dart
=
m
.
phi1
(
dart
);
start
=
m
.
phi2
(
m
.
phi_1
(
m
.
phi2
(
m
.
phi_1
(
dart
)))
)
;
}
current
=
start
;
stop
=
dart
;
if
(
m
.
isBoundaryMarked2
(
start
))
start
=
next
()
;
...
...
@@ -577,12 +577,15 @@ Dart Traversor2FFaV<MAP>::next()
current
=
m
.
phi2
(
m
.
phi_1
(
m
.
phi2
(
m
.
phi_1
(
d
))))
;
if
(
current
==
d
)
{
stop
=
m
.
phi2
(
m
.
phi_1
(
d
))
;
stop
=
m
.
phi1
(
d
);
current
=
m
.
phi2
(
d
);
return
next
()
;
}
stop
=
d
;
if
(
m
.
isBoundaryMarked2
(
current
))
return
next
()
;
}
if
(
m
.
isBoundaryMarked2
(
current
))
{
return
next
()
;
}
if
(
current
==
start
)
current
=
NIL
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment