mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Build error fix
This commit is contained in:
parent
69e9b9701b
commit
dc9c1a0b42
@ -327,7 +327,7 @@ std::vector<RigCompletionData> RicWellPathExportCompletionDataFeature::generateF
|
||||
RigCompletionData completion(wellPath->name(), IJKCellIndex(i, j, k));
|
||||
completion.addMetadata(location.fishbonesSubs->name(), QString("Sub: %1 Lateral: %2").arg(location.subIndex).arg(lateral.lateralIndex));
|
||||
double diameter = location.fishbonesSubs->holeRadius() / 1000 * 2;
|
||||
CellDirection direction = wellPathCellDirectionToCellDirection(completion.direction);
|
||||
CellDirection direction = wellPathCellDirectionToCellDirection(intersection.direction);
|
||||
completion.setFromFishbone(diameter, direction);
|
||||
completionData.push_back(completion);
|
||||
}
|
||||
@ -611,18 +611,14 @@ CellDirection RicWellPathExportCompletionDataFeature::wellPathCellDirectionToCel
|
||||
{
|
||||
case POS_I:
|
||||
case NEG_I:
|
||||
CellDirection::DIR_I;
|
||||
break;
|
||||
return CellDirection::DIR_I;
|
||||
case POS_J:
|
||||
case NEG_J:
|
||||
CellDirection::DIR_J;
|
||||
break;
|
||||
return CellDirection::DIR_J;
|
||||
case POS_K:
|
||||
case NEG_K:
|
||||
CellDirection::DIR_K;
|
||||
break;
|
||||
return CellDirection::DIR_K;
|
||||
default:
|
||||
CellDirection::DIR_UNDEF;
|
||||
break;
|
||||
return CellDirection::DIR_UNDEF;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user