Skip to content
Snippets Groups Projects
Commit 80b2e299 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Comment out the OpenMP pragmas

ADOL-C doesn't play nice with OpenMP.  Hence we have to disable
the latter for the time being.

[[Imported from SVN: r9446]]
parent 237571e0
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ assembleHessian(const Entity& element,
std::vector<Dune::array<RT,blocksize> > forwardEnergy(nDofs);
std::vector<Dune::array<RT,blocksize> > backwardEnergy(nDofs);
#pragma omp parallel for schedule (dynamic)
//#pragma omp parallel for schedule (dynamic)
for (size_t i=0; i<localSolution.size(); i++) {
for (size_t i2=0; i2<blocksize; i2++) {
typename TargetSpace::EmbeddedTangentVector epsXi = B[i][i2];
......@@ -164,7 +164,7 @@ assembleHessian(const Entity& element,
// finite-difference approximation
// we loop over the lower left triangular half of the matrix.
// The other half follows from symmetry
#pragma omp parallel for schedule (dynamic)
//#pragma omp parallel for schedule (dynamic)
for (size_t i=0; i<localSolution.size(); i++) {
for (size_t i2=0; i2<blocksize; i2++) {
for (size_t j=0; j<=i; j++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment