Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KennethVanhoey
CGoGN
Commits
95da611e
Commit
95da611e
authored
Mar 14, 2014
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug newDart in mapMulti
parent
0c3be6e9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
20 deletions
+13
-20
include/Topology/generic/genericmap.h
include/Topology/generic/genericmap.h
+1
-1
include/Topology/generic/mapMono.h
include/Topology/generic/mapMono.h
+1
-1
include/Topology/generic/mapMulti.h
include/Topology/generic/mapMulti.h
+1
-1
include/Topology/generic/mapMulti.hpp
include/Topology/generic/mapMulti.hpp
+10
-17
No files found.
include/Topology/generic/genericmap.h
View file @
95da611e
...
...
@@ -147,7 +147,7 @@ protected:
/**
* Add a dart to the map
*/
virtual
Dart
newDart
()
;
Dart
newDart
()
;
/**
* Erase a dart of the map
...
...
include/Topology/generic/mapMono.h
View file @
95da611e
...
...
@@ -50,7 +50,7 @@ protected:
* DARTS MANAGEMENT *
****************************************/
inline
virtual
Dart
newDart
();
inline
Dart
newDart
();
inline
virtual
void
deleteDart
(
Dart
d
);
...
...
include/Topology/generic/mapMulti.h
View file @
95da611e
...
...
@@ -83,7 +83,7 @@ protected:
* DARTS MANAGEMENT *
****************************************/
inline
virtual
Dart
newDart
();
inline
Dart
newDart
();
inline
virtual
void
deleteDart
(
Dart
d
);
...
...
include/Topology/generic/mapMulti.hpp
View file @
95da611e
...
...
@@ -49,29 +49,22 @@ inline Dart MapMulti::newDart()
(
*
m_mrLevels
)[
mrdi
]
=
m_mrCurrentLevel
;
// set the introduction level of the dart
m_mrNbDarts
[
m_mrCurrentLevel
]
++
;
Dart
mrd
=
Dart
::
create
(
mrdi
);
for
(
unsigned
int
i
=
0
;
i
<
m_permutation
.
size
();
++
i
)
(
*
m_permutation
[
i
])[
d
.
index
]
=
mrd
;
for
(
unsigned
int
i
=
0
;
i
<
m_permutation_inv
.
size
();
++
i
)
(
*
m_permutation_inv
[
i
])[
d
.
index
]
=
mrd
;
for
(
unsigned
int
i
=
0
;
i
<
m_involution
.
size
();
++
i
)
(
*
m_involution
[
i
])[
d
.
index
]
=
mrd
;
for
(
unsigned
int
i
=
0
;
i
<
m_mrCurrentLevel
;
++
i
)
// for all previous levels
(
*
m_mrDarts
[
i
])[
mrdi
]
=
MRNULL
;
// this MRdart does not exist
for
(
unsigned
int
i
=
m_mrCurrentLevel
;
i
<
m_mrDarts
.
size
();
++
i
)
// for all levels from current to max
(
*
m_mrDarts
[
i
])[
mrdi
]
=
d
.
index
;
// make this MRdart point to the new dart line
pushLevel
()
;
for
(
unsigned
int
i
=
m_mrCurrentLevel
;
i
<
m_mrDarts
.
size
();
++
i
)
{
setCurrentLevel
(
i
)
;
unsigned
int
d_index
=
dartIndex
(
d
)
;
for
(
unsigned
int
i
=
0
;
i
<
m_permutation
.
size
();
++
i
)
(
*
m_permutation
[
i
])[
d_index
]
=
d
;
for
(
unsigned
int
i
=
0
;
i
<
m_permutation_inv
.
size
();
++
i
)
(
*
m_permutation_inv
[
i
])[
d_index
]
=
d
;
for
(
unsigned
int
i
=
0
;
i
<
m_involution
.
size
();
++
i
)
(
*
m_involution
[
i
])[
d_index
]
=
d
;
}
popLevel
()
;
return
Dart
::
create
(
mrdi
)
;
return
mrd
;
}
inline
void
MapMulti
::
deleteDart
(
Dart
d
)
...
...
Write
Preview
Markdown
is supported
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