Commit dcbc086e authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed a bug when using openmp parallelization for assemlbing matrices.

parent a6ae4ebc
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
namespace AMDiS { namespace AMDiS {
using namespace mtl; using namespace mtl;
using boost::lexical_cast;
DOFMatrix *DOFMatrix::traversePtr = NULL; DOFMatrix *DOFMatrix::traversePtr = NULL;
......
...@@ -6,13 +6,8 @@ ...@@ -6,13 +6,8 @@
#include "Quadrature.h" #include "Quadrature.h"
#include "OpenMP.h" #include "OpenMP.h"
#include "boost/lexical_cast.hpp"
#include <fstream>
namespace AMDiS { namespace AMDiS {
using boost::lexical_cast;
const Flag OperatorTerm::PW_CONST = 1; const Flag OperatorTerm::PW_CONST = 1;
const Flag OperatorTerm::SYMMETRIC = 2; const Flag OperatorTerm::SYMMETRIC = 2;
......
...@@ -188,7 +188,7 @@ namespace AMDiS { ...@@ -188,7 +188,7 @@ namespace AMDiS {
tmpLALt[myRank][j] = new DimMat<double>(dim, NO_INIT); tmpLALt[myRank][j] = new DimMat<double>(dim, NO_INIT);
#ifdef _OPENMP #ifdef _OPENMP
#pragma omp critical (dofIndexAccess) #pragma omp critical
#endif #endif
{ {
psiFast = updateFastQuadrature(psiFast, owner->getRowFESpace()->getBasisFcts(), psiFast = updateFastQuadrature(psiFast, owner->getRowFESpace()->getBasisFcts(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment