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
iwr
amdis
Commits
e8cf640e
Commit
e8cf640e
authored
Sep 08, 2008
by
Thomas Witkowski
Browse files
* Bugfix when compiling in dbg mode
parent
ab48be0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/RCNeighbourList.cc
View file @
e8cf640e
...
...
@@ -387,9 +387,9 @@ namespace AMDiS {
insertIt
=
periodicList
->
rclist
.
end
();
periodicList
->
coarseningManager
=
coarseningManager
;
}
else
{
if
(
edge
[
0
])
{
TEST_EXIT
((
dof0
==
edge
[
0
]
&&
dof1
==
edge
[
1
])
||
(
dof1
==
edge
[
0
]
&&
dof0
==
edge
[
1
]))
if
(
edge
[
0
])
{
TEST_EXIT
_DBG
((
dof0
==
edge
[
0
]
&&
dof1
==
edge
[
1
])
||
(
dof1
==
edge
[
0
]
&&
dof0
==
edge
[
1
]))
(
"invalid macro file?
\n
"
);
}
}
...
...
AMDiS/src/RCNeighbourList.h
View file @
e8cf640e
...
...
@@ -185,16 +185,6 @@ namespace AMDiS {
*/
void
removeDOFParents
(
int
n_neigh
);
// /** \brief
// * Sets \ref newCoords.
// */
// inline void setNewCoords(int i, bool n) { rclist[i].newCoords = n; };
// /** \brief
// * Returns \ref newCoords.
// */
// inline bool getNewCoords(int i) const { return rclist[i].newCoords; };
RCNeighbourList
*
periodicSplit
(
DegreeOfFreedom
*
edge
[
2
],
DegreeOfFreedom
*
nextEdge
[
2
],
int
*
n_neigh
,
...
...
AMDiS/src/RefinementManager2d.cc
View file @
e8cf640e
...
...
@@ -85,8 +85,7 @@ namespace AMDiS {
TEST_EXIT_DBG
(
periodicList
)(
"periodicList = NULL
\n
"
);
newDOF
=
refinePatch
(
edge
,
periodicList
,
n_neigh_periodic
,
bound
);
newDOF
=
refinePatch
(
edge
,
periodicList
,
n_neigh_periodic
,
bound
);
if
(
firstNewDOF
==
-
1
)
{
firstNewDOF
=
newDOF
;
...
...
@@ -354,7 +353,8 @@ namespace AMDiS {
int
*
n_neigh
)
{
FUNCNAME
(
"RefinementManager2d::getRefinePatch()"
);
Triangle
*
el
=
dynamic_cast
<
Triangle
*>
(
const_cast
<
Element
*>
(
(
*
el_info
)
->
getElement
()));
int
opp_vertex
=
0
;
if
((
*
el_info
)
->
getNeighbour
(
2
)
&&
(
*
el_info
)
->
getOppVertex
(
2
)
!=
2
)
{
...
...
@@ -365,8 +365,7 @@ namespace AMDiS {
opp_vertex
=
(
*
el_info
)
->
getOppVertex
(
2
);
ElInfo
*
neigh_info
=
stack
->
traverseNeighbour2d
(
*
el_info
,
2
);
neigh_info
->
getElement
()
->
setMark
(
max
(
neigh_info
->
getElement
()
->
getMark
(),
1
));
neigh_info
->
getElement
()
->
setMark
(
max
(
neigh_info
->
getElement
()
->
getMark
(),
1
));
neigh_info
=
refineFunction
(
neigh_info
);
/****************************************************************************/
...
...
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