Turned on parallell GeoMech prop. filter visibility calculation

This commit is contained in:
Jacob Støren 2015-06-24 13:15:34 +02:00
parent 4fabc509a0
commit fddef6d32c

View File

@ -122,7 +122,7 @@ void RivFemElmVisibilityCalculator::computePropertyVisibility(cvf::UByteArray* c
const std::vector<float>& resVals = caseData->femPartResults()->resultValues(resVarAddress, const std::vector<float>& resVals = caseData->femPartResults()->resultValues(resVarAddress,
grid->elementPartId(), grid->elementPartId(),
timeStepIndex); timeStepIndex);
//#pragma omp parallel for schedule(dynamic) #pragma omp parallel for schedule(dynamic)
for (int cellIndex = 0; cellIndex < elementCount; cellIndex++) for (int cellIndex = 0; cellIndex < elementCount; cellIndex++)
{ {
if ( (*cellVisibility)[cellIndex] ) if ( (*cellVisibility)[cellIndex] )