mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Revert "Showing progress bar when loading geo mech results"
This reverts commit 798a6c2fcb
.
This commit is contained in:
parent
798a6c2fcb
commit
24a84184d8
@ -37,7 +37,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "RigFemNativeStatCalc.h"
|
#include "RigFemNativeStatCalc.h"
|
||||||
#include "cafTensor3.h"
|
#include "cafTensor3.h"
|
||||||
#include "cafProgressInfo.h"
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@ -98,8 +97,6 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(in
|
|||||||
|
|
||||||
int frameCount = this->frameCount();
|
int frameCount = this->frameCount();
|
||||||
|
|
||||||
caf::ProgressInfo progress(frameCount, "Loading Results");
|
|
||||||
|
|
||||||
for (int stepIndex = 0; stepIndex < frameCount; ++stepIndex)
|
for (int stepIndex = 0; stepIndex < frameCount; ++stepIndex)
|
||||||
{
|
{
|
||||||
std::vector<double > frameTimes = m_readerInterface->frameTimes(stepIndex);
|
std::vector<double > frameTimes = m_readerInterface->frameTimes(stepIndex);
|
||||||
@ -125,8 +122,6 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(in
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
progress.incrementProgress();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now fetch the particular component requested, which should now exist and be read.
|
// 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"){
|
}else if (resVarAddr.fieldName == "NS"){
|
||||||
srcDataFrames = this->findOrLoadScalarResult(partIndex, RigFemResultAddress(resVarAddr.resultPosType, "S", resVarAddr.componentName));
|
srcDataFrames = this->findOrLoadScalarResult(partIndex, RigFemResultAddress(resVarAddr.resultPosType, "S", resVarAddr.componentName));
|
||||||
}
|
}
|
||||||
|
|
||||||
RigFemScalarResultFrames * dstDataFrames = m_femPartResults[partIndex]->createScalarResult(resVarAddr);
|
RigFemScalarResultFrames * dstDataFrames = m_femPartResults[partIndex]->createScalarResult(resVarAddr);
|
||||||
int frameCount = srcDataFrames->frameCount();
|
int frameCount = srcDataFrames->frameCount();
|
||||||
for (int fIdx = 0; fIdx < frameCount; ++fIdx)
|
for (int fIdx = 0; fIdx < frameCount; ++fIdx)
|
||||||
@ -263,7 +257,6 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateDerivedResult(in
|
|||||||
dstFrameData[vIdx] = -srcFrameData[vIdx];
|
dstFrameData[vIdx] = -srcFrameData[vIdx];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return dstDataFrames;
|
return dstDataFrames;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user