mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
INP import updates (#10952)
Support reading element type results Automatically load properties from INP include files generated by Fault Reactivation Model exporter Some refactoring of element and result types.
This commit is contained in:
@@ -241,7 +241,7 @@ cvf::Vec3d RicCreateWellTargetsPickEventHandler::findHexElementIntersection( gsl
|
||||
RigFemPart* femPart = geoMechView->femParts()->part( femPartIndex );
|
||||
RigElementType elType = femPart->elementType( elementIndex );
|
||||
|
||||
if ( elType == HEX8 || elType == HEX8P )
|
||||
if ( RigFemTypes::is8NodeElement( elType ) )
|
||||
{
|
||||
cellIndex = elementIndex;
|
||||
const RigFemPartGrid* femGrid = femPart->getOrCreateStructGrid();
|
||||
|
||||
Reference in New Issue
Block a user