mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-14 01:13:52 -06:00
Whitespace
This commit is contained in:
parent
c5f2b2bca9
commit
b08271b982
@ -1476,7 +1476,7 @@ RimEclipseResultDefinition::calcOptionsForVariableUiFieldStandard(RiaDefines::Re
|
||||
QStringList cellCenterResultNames;
|
||||
QStringList cellFaceResultNames;
|
||||
|
||||
for (QString s : getResultNamesForResultType(resultCatType, results))
|
||||
for (const QString& s : getResultNamesForResultType(resultCatType, results))
|
||||
{
|
||||
if (s == RiaDefines::completionTypeResultName())
|
||||
{
|
||||
@ -1497,7 +1497,7 @@ RimEclipseResultDefinition::calcOptionsForVariableUiFieldStandard(RiaDefines::Re
|
||||
cellFaceResultNames.sort();
|
||||
|
||||
// Cell Center result names
|
||||
for (QString s : cellCenterResultNames)
|
||||
for (const QString& s : cellCenterResultNames)
|
||||
{
|
||||
optionList.push_back(caf::PdmOptionItemInfo(s, s));
|
||||
}
|
||||
@ -1516,13 +1516,12 @@ RimEclipseResultDefinition::calcOptionsForVariableUiFieldStandard(RiaDefines::Re
|
||||
if (resultCatType == RiaDefines::DYNAMIC_NATIVE && hasAtLeastOneTernaryComponent)
|
||||
{
|
||||
optionList.push_front(
|
||||
caf::PdmOptionItemInfo(RiaDefines::ternarySaturationResultName(),
|
||||
RiaDefines::ternarySaturationResultName()));
|
||||
caf::PdmOptionItemInfo(RiaDefines::ternarySaturationResultName(), RiaDefines::ternarySaturationResultName()));
|
||||
}
|
||||
}
|
||||
if (addPerCellFaceOptionItems)
|
||||
{
|
||||
for (QString s : cellFaceResultNames)
|
||||
for (const QString& s : cellFaceResultNames)
|
||||
{
|
||||
if (showDerivedResultsFirst)
|
||||
{
|
||||
@ -1707,7 +1706,8 @@ QString RimEclipseResultDefinition::selectedTracersString() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QStringList RimEclipseResultDefinition::getResultNamesForResultType(RiaDefines::ResultCatType resultCatType, const RigCaseCellResultsData* results)
|
||||
QStringList RimEclipseResultDefinition::getResultNamesForResultType(RiaDefines::ResultCatType resultCatType,
|
||||
const RigCaseCellResultsData* results)
|
||||
{
|
||||
if (resultCatType != RiaDefines::FLOW_DIAGNOSTICS)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user