Fix missing integration point and element nodal result

This commit is contained in:
jonjenssen 2023-01-19 14:17:39 +01:00 committed by jonjenssen
parent 1eac9f8a1f
commit ce9baa0883

View File

@ -81,10 +81,10 @@ RigFemScalarResultFrames* RigFemPartResultCalculatorNormalST::calculate( int
constexpr float inf = std::numeric_limits<float>::infinity();
const int timeSteps = srcPORDataFrames->timeStepCount();
const int timeSteps = srcSDataFrames->timeStepCount();
for ( int stepIdx = 0; stepIdx < timeSteps; stepIdx++ )
{
const int frameCount = srcPORDataFrames->frameCount( stepIdx );
const int frameCount = srcSDataFrames->frameCount( stepIdx );
for ( int fIdx = 0; fIdx < frameCount; fIdx++ )
{
const std::vector<float>& srcSFrameData = srcSDataFrames->frameData( stepIdx, fIdx );