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
Aland, Sebastian
amdis
Commits
5804e778
Commit
5804e778
authored
Jul 09, 2008
by
Thomas Witkowski
Browse files
* Small changes
parent
59b4dcf0
Changes
3
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/Mesh.cc
View file @
5804e778
...
...
@@ -374,11 +374,13 @@ namespace AMDiS {
if
((
size
=
compressAdmin
->
getSize
())
<
1
)
continue
;
if
(
compressAdmin
->
getUsedDOFs
()
<
1
)
continue
;
if
(
compressAdmin
->
getHoleCount
()
<
1
)
continue
;
newDOF
.
resize
(
size
);
compressAdmin
->
compress
(
newDOF
);
...
...
AMDiS/src/ProblemVec.cc
View file @
5804e778
...
...
@@ -659,8 +659,7 @@ namespace AMDiS {
double
wtime
=
omp_get_wtime
();
#endif
int
numMeshes
=
static_cast
<
int
>
(
meshes_
.
size
());
for
(
int
i
=
0
;
i
<
numMeshes
;
i
++
)
{
for
(
int
i
=
0
;
i
<
static_cast
<
int
>
(
meshes_
.
size
());
i
++
)
{
meshes_
[
i
]
->
dofCompress
();
}
...
...
@@ -678,6 +677,7 @@ namespace AMDiS {
assembleFlag
|=
Mesh
::
FILL_BOUND
;
}
for
(
int
i
=
0
;
i
<
numComponents_
;
i
++
)
{
MSG
(
"%d DOFs for %s
\n
"
,
componentSpaces_
[
i
]
->
getAdmin
()
->
getUsedSize
(),
...
...
@@ -695,7 +695,6 @@ namespace AMDiS {
}
}
int
i
;
#ifdef _OPENMP
#pragma omp parallel for
...
...
AMDiS/src/Traverse.cc
View file @
5804e778
...
...
@@ -117,7 +117,7 @@ namespace AMDiS {
FUNCNAME
(
"Traverse::recursive()"
);
Element
*
el
=
elinfo
->
getElement
();
int
mg_level
,
sum
=
0
;
int
mg_level
,
sum
=
0
;
Parametric
*
parametric
=
mesh
->
getParametric
();
ElInfo
::
traverseId
=
id
;
...
...
@@ -125,9 +125,9 @@ namespace AMDiS {
if
(
el
->
getFirstChild
())
{
ElInfo
*
elinfo_new
=
mesh
->
createNewElInfo
();
elinfo_new
->
fillElInfo
(
0
,
elinfo
);
sum
+=
recursive
(
elinfo_new
);
sum
+=
recursive
(
elinfo_new
);
elinfo_new
->
fillElInfo
(
1
,
elinfo
);
sum
+=
recursive
(
elinfo_new
);
sum
+=
recursive
(
elinfo_new
);
DELETE
elinfo_new
;
}
else
{
if
(
el_fct
!=
NULL
)
{
...
...
@@ -149,9 +149,9 @@ namespace AMDiS {
}
ElInfo
*
elinfo_new
=
mesh
->
createNewElInfo
();
elinfo_new
->
fillElInfo
(
0
,
elinfo
);
sum
+=
recursive
(
elinfo_new
);
sum
+=
recursive
(
elinfo_new
);
elinfo
->
fillElInfo
(
1
,
elinfo
);
sum
+=
recursive
(
elinfo_new
);
sum
+=
recursive
(
elinfo_new
);
DELETE
elinfo_new
;
}
else
{
...
...
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