mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed error in integration point res mapping
Wrong vertex to result index used
This commit is contained in:
parent
6b79c92f68
commit
92a9bf9994
@ -244,7 +244,7 @@ void RivFemPartPartMgr::updateCellResultColor(size_t timeStepIndex, RimGeoMechRe
|
||||
else if ( cellResultSlot->resultPositionType() == RIG_ELEMENT_NODAL
|
||||
|| cellResultSlot->resultPositionType() == RIG_INTEGRATION_POINT)
|
||||
{
|
||||
vxToResultMapping = &(m_surfaceGenerator.quadVerticesToNodeIdxMapping());
|
||||
vxToResultMapping = &(m_surfaceGenerator.quadVerticesToGlobalElmNodeIdx());
|
||||
}
|
||||
|
||||
m_surfaceFacesTextureCoords->resize(vxToResultMapping->size());
|
||||
|
Loading…
Reference in New Issue
Block a user