Revert "Showing progress bar when loading geo mech results"

This reverts commit 798a6c2fcb.
This commit is contained in:
Pål Hagen 2015-06-26 15:41:46 +02:00
parent 798a6c2fcb
commit 24a84184d8

View File

@ -37,7 +37,6 @@
#include <stdlib.h>
#include "RigFemNativeStatCalc.h"
#include "cafTensor3.h"
#include "cafProgressInfo.h"
//--------------------------------------------------------------------------------------------------
@ -98,8 +97,6 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(in
int frameCount = this->frameCount();
caf::ProgressInfo progress(frameCount, "Loading Results");
for (int stepIndex = 0; stepIndex < frameCount; ++stepIndex)
{
std::vector<double > frameTimes = m_readerInterface->frameTimes(stepIndex);
@ -125,8 +122,6 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(in
break;
}
}
progress.incrementProgress();
}
// Now fetch the particular component requested, which should now exist and be read.
@ -249,7 +244,6 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateDerivedResult(in
}else if (resVarAddr.fieldName == "NS"){
srcDataFrames = this->findOrLoadScalarResult(partIndex, RigFemResultAddress(resVarAddr.resultPosType, "S", resVarAddr.componentName));
}
RigFemScalarResultFrames * dstDataFrames = m_femPartResults[partIndex]->createScalarResult(resVarAddr);
int frameCount = srcDataFrames->frameCount();
for (int fIdx = 0; fIdx < frameCount; ++fIdx)
@ -263,7 +257,6 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateDerivedResult(in
dstFrameData[vIdx] = -srcFrameData[vIdx];
}
}
return dstDataFrames;
}