Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2018.01.01 patch #2520

Merged
merged 78 commits into from
Feb 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
84bc868
#2313 Upped version to 2018.01.00-dev.01
magnesj Jan 5, 2018
f515d3c
System : Add field and object keywords for 2018.01
magnesj Jan 5, 2018
a40a357
#2329 Add relocate of well path formation file
magnesj Jan 8, 2018
561e20a
#2329 Add relocate of RimWellLogFile
magnesj Jan 8, 2018
a26f3b6
#2340 Snapshot : Space in path is replaced with underscore
magnesj Jan 8, 2018
69a18e1
#2329. Relocate summary cases
Jan 8, 2018
cd4b930
#2352 Geomech: Geo mech: Fix crash when choosing invalid Result Variable
Jan 8, 2018
09d776d
#2353 Empty function caseName() shadows base class field with same si…
magnesj Jan 9, 2018
472aa87
System : Postfix with _OBSOLETE
magnesj Jan 9, 2018
67bc555
#2367 Fix crash in completion type calculation for wellpaths without …
JacobStoren Jan 12, 2018
28ea6f0
#2377 summary plot. Add missing curve update
Jan 18, 2018
79539c1
#2378 Fractures: Hide "Fracture Colors" in Project tree when not in use
Jan 18, 2018
6adcbd9
#2375 Fix missing catch of exceptions from opm-flowdiagnostics libraries
JacobStoren Jan 19, 2018
5855e41
#2375 Fix missing catch of exeptions from pvt/relperm curve generation
JacobStoren Jan 19, 2018
7dbd6c1
#2398 Fracture : Hide "New Fracture" in context menu when no Fracture…
magnesj Jan 23, 2018
9617481
#2327 Formation RFT Plot: Read tvdss from well pick files
Jan 24, 2018
650fc21
#2404 Intersection: Update 3d view when creating new Intersection Box
Jan 24, 2018
0ea10a4
#2362 Grdecl SegFault: Guard for empty vectors
Jan 24, 2018
d3f1767
#2362 Grdecl: Read input file only once
Jan 24, 2018
a633312
#2328 Fix crash when calculating "Water Flooded PV"
Jan 24, 2018
09cd140
#2375 Updated opm-flowdiagnostics-applications to 5bcd6d99259a63f5cd8…
JacobStoren Jan 24, 2018
08a46c2
Upped to version 2018.01.00-patch.03
JacobStoren Jan 24, 2018
ab72981
#2328 Give warning when user tries to calculate injection flooding wi…
Jan 25, 2018
64731fb
Change "QMessageBox" to <QMessageBox>
Jan 25, 2018
3a1c640
#2406 delete plot crash. Guard pointer to view
Jan 25, 2018
5273ace
#2301 Rel.perm Plot: Add tooltip for cell value
Jan 25, 2018
83ed95a
#2328 Water flooded PV: Remove warning. Remove injection flooding opt…
Jan 25, 2018
0559084
#2325 Summary plot: Apply axis settings on preview plot
magnesj Jan 25, 2018
889f615
#2276 : Source Stepping : Improve region ordering
magnesj Jan 26, 2018
78068e5
Fix compiler warnings related to converting time_t to double
magnesj Jan 19, 2018
007602d
#2326 Well allocation plot: Remove formation options regarding well path
Jan 26, 2018
906484b
#2411 AppFwk : Increase precision when writing real numbers to XML
magnesj Jan 26, 2018
4b00c6e
#2414 AppFwk : Do not overwrite field double value with UI text repre…
magnesj Jan 26, 2018
fe6f64e
#2414 AppFwk : Cleaned up includes
magnesj Jan 26, 2018
4d5503a
#2385 Main Window: More flexible docking restrictions
magnesj Jan 19, 2018
84725ce
Make branch detection toggle hidden if show formations is toggled off
Jan 26, 2018
ca3bb02
#2356 grid statistics dialog. Display of Mobile Volume Weighted Mean …
Jan 26, 2018
aa12ac7
#2418 : Import of text grid model fails when comments is on same line…
magnesj Jan 28, 2018
c8546eb
#2241 : Improve robustness when reading report numbers from libecl
magnesj Jan 29, 2018
9cc0902
#2241 : Do not skip report numbers with -1
magnesj Jan 29, 2018
b597341
Use range based for
magnesj Jan 29, 2018
ff0599d
Guard for access of dynamic data with no time steps
magnesj Jan 29, 2018
41506af
#2241 : Workaround for report numbers : Convert to upper case befor c…
magnesj Jan 29, 2018
0171589
Add option to avoid updating parent plot
Jan 29, 2018
b7a3165
#2319 PLT/Well log plot: Remove auto scale on scroll. Make auto scale…
Jan 29, 2018
438ee34
Rename variable
Jan 29, 2018
d67e1a7
#2261 Well Paths: Change newestAddedWellPath to mostRecentlyUpdatedWe…
Jan 29, 2018
4a4dab3
#2408 summary plot. Update qwt axis when duplicating curves
Jan 29, 2018
ecfd1ad
#2368 summary plot. Fix right axis properties update issue
Jan 29, 2018
f598e69
#2419 Do not make OpmFlowDiagStat if result is fracture (DUAL)
Jan 29, 2018
9f08f12
#2417 Extraction Curves: Avoid clamping time step to -1
Jan 29, 2018
4094fd1
#2421 RelPerm: Remove invalid points on transparent curve
Jan 30, 2018
e417e3a
#2277 external files. Improve robustness when importing
Jan 30, 2018
bc72c86
#2229 curve creator. Update when adding/deleting observed summary cases
Jan 30, 2018
fa66cf1
#2229 curve creator. Update when adding/deleting calculated curves as…
Jan 31, 2018
60afae1
#2429, #2430. Display perforations correctly
Jan 31, 2018
740baf6
Upped to version 2018.01.01-patch.04
Jan 31, 2018
7131006
#2422 perforations. Update tree view after perforations import
Feb 1, 2018
c8e002d
#2374 Fracture : Incomplete results when computing intersected StimPl…
magnesj Jan 16, 2018
dc0c6d1
#2443 : Remove obsolete includes of QMessageBox
magnesj Feb 2, 2018
ba09906
#2443 Replace QMessageBox with RiaLogging to avoid blocking of batch …
magnesj Feb 2, 2018
b0ca4f3
#2086 Handle extended file name chars on Linux for eclipse cases and …
Feb 2, 2018
d5116d8
#2086 Fix well GUI name for well paths when extended ascii chars in name
Feb 2, 2018
98a94c0
#2086 Moved RifStringTools -> RiaStringEncodingTools
Feb 2, 2018
5a7133f
Fix disabled test
magnesj Feb 3, 2018
082b822
#2444 Batch : Fix support for multiple replaceCase in command file
magnesj Feb 5, 2018
0dff40f
#2434. Ignore NOECHO keyword in grdecl files
Feb 5, 2018
0843c3e
#2451 Export Completion : Exclude main bore cells correctly
magnesj Feb 8, 2018
3994992
#2451 Export Completion : Remove obsolete test
magnesj Feb 8, 2018
2e00694
#2453 Stim plan. Removed double string splitting loop
Feb 8, 2018
f053dfa
#2446 : Snapshot : Improve generated file, always use _ in generated…
magnesj Feb 8, 2018
6e16a47
#2446 : Replace - with _ for all generated file names
magnesj Feb 9, 2018
b8c9989
#2458 Cell Result: Select chosen result type on load
Feb 12, 2018
b49396b
#588 GeoMech Color result: Make active result visible in property edi…
Feb 13, 2018
4d39136
#2403 Extraction curves: Fix curves without vertical connections
Feb 19, 2018
119752b
#2501 Result Plot: Add "Show Plot Data" to context menu
Feb 19, 2018
65f9381
#2468 Multi grid statistics : Initialize filename before creating dat…
magnesj Feb 20, 2018
2b8a19d
Upped to version 2018.01.1
magnesj Feb 22, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,678 changes: 1,678 additions & 0 deletions ApplicationCode/Adm/projectfilekeywords/2018.01/ri-fieldKeywords.txt

Large diffs are not rendered by default.

188 changes: 188 additions & 0 deletions ApplicationCode/Adm/projectfilekeywords/2018.01/ri-objectKeywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
// ResInsight version string : 2018.01.00-dev.01
// Report generated : Fri 5. Jan 15:39:23 2018
//
//

AsciiDataCurve
CalcScript
CalculatedSummaryCase
CellEdgeResultSlot
CellFilter
CellPropertyFilter
CellPropertyFilters
CellRangeFilter
CellRangeFilterCollection
ChangeDataSourceFeatureUi
CmdAddItemExecData
CmdDeleteItemExecData
CmdFieldChangeExecData
CrossSection
CrossSectionCollection
EclipseCase
EclipseGeometrySelectionItem
Fault
Faults
FileSummaryCase
FishbonesCollection
FishbonesMultipleSubs
FishbonesPipeProperties
FlowCharacteristicsPlot
FlowDiagSolution
FlowPlotCollection
FormationNames
FormationNamesCollectionObject
FractureContainment
FractureDefinitionCollection
GeoMechGeometrySelectionItem
GeoMechPropertyFilter
GeoMechPropertyFilters
GeoMechResultDefinition
GeoMechResultSlot
GeoMechView
GridCollection
GridSummaryCase
GridTimeHistoryCurve
IntersectionBox
Legend
MainPlotCollection
MdiWindowController
MockModelSettings
MultiSnapshotDefinition
NoCommonAreaNNC
ObservedDataCollection
PdmDocument
PdmObjectCollection
PdmObjectGroup
Perforation
PerforationCollection
PropertyFilter
ResInsightAnalysisModels
ResInsightGeoMechCase
ResInsightGeoMechModels
ResInsightOilField
ResInsightProject
ReservoirCellResultStorage
ReservoirView
ResultDefinition
ResultSlot
ResultStorageEntryInfo
RftAddress
RiaPreferences
RiaRegressionTest
RicCaseAndFileExportSettingsUi
RicCellRangeUi
RicDeleteItemExecData
RicExportCarfinUi
RicExportCompletionDataSettingsUi
RicExportToLasFileObj
RicExportToLasFileResampleUi
RicLinkVisibleViewsFeatureUi
RicPasteAsciiDataToSummaryPlotFeatureUi
RicSaveEclipseInputVisibleCellsUi
RicSelectSummaryPlotUI
RicSelectViewUI
RicSummaryAddressSelection
RicSummaryCurveCalculator
RicSummaryCurveCreator
RicWellPathsUnitSystemSettingsUi
RifReaderSettings
RimBinaryExportSettings
RimCaseCollection
RimCommandExecuteScript
RimCommandIssueFieldChanged
RimCommandObject
RimCsvUserData
RimDialogData
RimEllipseFractureTemplate
RimExportInputSettings
RimFaultResultSlot
RimFractureExportSettings
RimIdenticalGridCaseGroup
RimInputProperty
RimInputPropertyCollection
RimInputReservoir
RimNoCommonAreaNncCollection
RimObservedEclipseUserData
RimOilFieldEntry
RimOilRegionEntry
RimStatisticalCalculation
RimStatisticalCollection
RimStimPlanColors
RimStimPlanFractureTemplate
RimStimPlanLegendConfig
RimSummaryCalculation
RimSummaryCalculationCollection
RimSummaryCalculationVariable
RimSummaryCurveCollection
RimSummaryCurveCollectionModifier
RimTernaryLegendConfig
RimTimeStepFilter
RimViewLinkerCollection
RimWellLogExtractionCurve
RimWellPathEntry
RimWellPathImport
ScriptLocation
SimWellFracture
SimWellFractureCollection
SummaryAddress
SummaryCaseCollection
SummaryCaseSubCollection
SummaryCrossPlot
SummaryCrossPlotCollection
SummaryCurve
SummaryCurveAutoName
SummaryCurveFilter
SummaryFilterSettings
SummaryObservedDataFile
SummaryPageDownloadEntity
SummaryPlot
SummaryPlotCollection
SummaryTimeAxisProperties
SummaryYAxisProperties
TC2
TestCommand1
TofAccumulatedPhaseFractionsPlot
TotalWellAllocationPlot
View3dOverlayInfoConfig
ViewController
ViewLinker
Well
WellAllocationPlot
WellAllocationPlotLegend
WellFlowRateCurve
WellLogFile
WellLogFileChannel
WellLogFileCurve
WellLogPlot
WellLogPlotCollection
WellLogPlotTrack
WellLogRftCurve
WellPath
WellPathCompletion
WellPathCompletionCollection
WellPathCompletions
WellPathFracture
WellPathFractureCollection
WellPaths
WellPltPlot
WellPltPlotCollection
WellRftPlot
WellRftPlotCollection
Wells
closeProject
computeCaseGroupStatistics
exportMsw
exportMultiCaseSnapshots
exportProperty
exportSimWellCompletions
exportSnapshots
exportWellPathCompletions
loadCase
openProject
replaceCase
replaceSourceCases
runOctaveScript
setExportFolder
setMainWindowSize
setStartDir
setTimeStep
2 changes: 2 additions & 0 deletions ApplicationCode/Application/Tools/CMakeLists_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ${CEE_CURRENT_LIST_DIR}RiaStdStringTools.h
${CEE_CURRENT_LIST_DIR}RiaSummaryCurveAnalyzer.h
${CEE_CURRENT_LIST_DIR}RiaSimWellBranchTools.h
${CEE_CURRENT_LIST_DIR}RiaProjectFileVersionTools.h
${CEE_CURRENT_LIST_DIR}RiaStringEncodingTools.h
)

set (SOURCE_GROUP_SOURCE_FILES
Expand All @@ -45,6 +46,7 @@ ${CEE_CURRENT_LIST_DIR}RiaStdStringTools.cpp
${CEE_CURRENT_LIST_DIR}RiaSummaryCurveAnalyzer.cpp
${CEE_CURRENT_LIST_DIR}RiaSimWellBranchTools.cpp
${CEE_CURRENT_LIST_DIR}RiaProjectFileVersionTools.cpp
${CEE_CURRENT_LIST_DIR}RiaStringEncodingTools.cpp
)

list(APPEND CODE_HEADER_FILES
Expand Down
43 changes: 43 additions & 0 deletions ApplicationCode/Application/Tools/RiaStringEncodingTools.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2011- Statoil ASA
// Copyright (C) 2013- Ceetron Solutions AS
// Copyright (C) 2011-2012 Ceetron AS
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////

#include "RiaStringEncodingTools.h"


const std::string RiaStringEncodingTools::toNativeEncoded(const QString& qstring)
{
#ifdef WIN32
return std::string(qstring.toLatin1().data());
#else
return std::string(qstring.toUtf8().data());
#endif
}

//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const QString RiaStringEncodingTools::fromNativeEncoded(const char* native)
{
#ifdef WIN32
return QString::fromLatin1(native);
#else
return QString::fromUtf8(native);
#endif
}
38 changes: 38 additions & 0 deletions ApplicationCode/Application/Tools/RiaStringEncodingTools.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2011- Statoil ASA
// Copyright (C) 2013- Ceetron Solutions AS
// Copyright (C) 2011-2012 Ceetron AS
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////

#pragma once

#include <QString>
#include <QByteArray>
#include <string>

//==================================================================================================
//
//
//
//==================================================================================================
class RiaStringEncodingTools
{
public:
static const std::string toNativeEncoded(const QString& qstring);

static const QString fromNativeEncoded(const char* native);
};
10 changes: 5 additions & 5 deletions ApplicationCode/Application/Tools/RiaSummaryCurveAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,29 +97,29 @@ std::set<RifEclipseSummaryAddress::SummaryVarCategory> RiaSummaryCurveAnalyzer::
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::set<QString> RiaSummaryCurveAnalyzer::identifierTexts(RifEclipseSummaryAddress::SummaryVarCategory category) const
std::vector<QString> RiaSummaryCurveAnalyzer::identifierTexts(RifEclipseSummaryAddress::SummaryVarCategory category) const
{
std::set<QString> stringSet;
std::vector<QString> stringSet;

if (category == RifEclipseSummaryAddress::SUMMARY_REGION)
{
for (const auto& regionNumber : m_regionNumbers)
{
stringSet.insert(QString::number(regionNumber));
stringSet.push_back(QString::number(regionNumber));
}
}
else if (category == RifEclipseSummaryAddress::SUMMARY_WELL)
{
for (const auto& wellName : m_wellNames)
{
stringSet.insert(QString::fromStdString(wellName));
stringSet.push_back(QString::fromStdString(wellName));
}
}
else if (category == RifEclipseSummaryAddress::SUMMARY_WELL_GROUP)
{
for (const auto& wellGroupName : m_wellGroupNames)
{
stringSet.insert(QString::fromStdString(wellGroupName));
stringSet.push_back(QString::fromStdString(wellGroupName));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class RiaSummaryCurveAnalyzer

std::set<RifEclipseSummaryAddress::SummaryVarCategory> categories() const;

std::set<QString> identifierTexts(RifEclipseSummaryAddress::SummaryVarCategory category) const;
std::vector<QString> identifierTexts(RifEclipseSummaryAddress::SummaryVarCategory category) const;

static std::vector<RifEclipseSummaryAddress> addressesForCategory(const std::vector<RifEclipseSummaryAddress>& addresses,
RifEclipseSummaryAddress::SummaryVarCategory category);
Expand Down
Loading