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
dcbc086e
Commit
dcbc086e
authored
Oct 29, 2009
by
Thomas Witkowski
Browse files
Fixed a bug when using openmp parallelization for assemlbing matrices.
parent
a6ae4ebc
Changes
3
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/DOFMatrix.cc
View file @
dcbc086e
...
...
@@ -18,7 +18,6 @@
namespace
AMDiS
{
using
namespace
mtl
;
using
boost
::
lexical_cast
;
DOFMatrix
*
DOFMatrix
::
traversePtr
=
NULL
;
...
...
AMDiS/src/Operator.cc
View file @
dcbc086e
...
...
@@ -6,13 +6,8 @@
#include
"Quadrature.h"
#include
"OpenMP.h"
#include
"boost/lexical_cast.hpp"
#include
<fstream>
namespace
AMDiS
{
using
boost
::
lexical_cast
;
const
Flag
OperatorTerm
::
PW_CONST
=
1
;
const
Flag
OperatorTerm
::
SYMMETRIC
=
2
;
...
...
AMDiS/src/SecondOrderAssembler.cc
View file @
dcbc086e
...
...
@@ -188,13 +188,13 @@ namespace AMDiS {
tmpLALt
[
myRank
][
j
]
=
new
DimMat
<
double
>
(
dim
,
NO_INIT
);
#ifdef _OPENMP
#pragma omp critical
(dofIndexAccess)
#pragma omp critical
#endif
{
psiFast
=
updateFastQuadrature
(
psiFast
,
owner
->
getRowFESpace
()
->
getBasisFcts
(),
INIT_GRD_PHI
);
phiFast
=
updateFastQuadrature
(
phiFast
,
owner
->
getRowFESpace
()
->
getBasisFcts
(),
INIT_GRD_PHI
);
psiFast
=
updateFastQuadrature
(
psiFast
,
owner
->
getRowFESpace
()
->
getBasisFcts
(),
INIT_GRD_PHI
);
phiFast
=
updateFastQuadrature
(
phiFast
,
owner
->
getRowFESpace
()
->
getBasisFcts
(),
INIT_GRD_PHI
);
}
firstCall
=
false
;
}
...
...
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