Commit Graph

219 Commits

Author SHA1 Message Date
Bjørnar Grip Fjær
9bea767cdf #1663 Octave interface to get NNC-pair information 2017-06-29 09:07:21 +02:00
Magne Sjaastad
cf859e7c16 #1596 Rename from RimDefines to RiaDefines 2017-06-13 15:41:52 +02:00
Bjørnar Grip Fjær
2c8358e9e9 #165 Return original days since simulation start from riGetTimeStepDays 2017-04-26 09:41:04 +02:00
Bjørnar Grip Fjær
f22bcd1c8d #117 Convert to cell positions to positive depth when sending to Octave 2017-04-07 13:15:50 +02:00
Magne Sjaastad
647b4348eb Renamed to eclipseCaseData 2017-03-15 09:10:16 +01:00
Jacob Støren
29d30f34d8 #1292 Fixed CppCheck Issues in SocketInterface 2017-03-06 11:20:28 +01:00
Magne Sjaastad
5c20bff5d1 #1255 Remove includes from header files 2017-02-24 11:07:26 +01:00
Magne Sjaastad
e0ba009e34 Cleaned up includes
Removed includes to cvfLibCore and friends. Removed several includes from header files.
2017-01-17 15:11:02 +01:00
Magne Sjaastad
8970d93a4d #1068 Renamed to RigEclipseCaseData 2017-01-10 09:51:39 +01:00
Magne Sjaastad
50b9fe0ece #1068 Removed obsolete include of RigCaseData 2017-01-10 09:20:03 +01:00
Magne Sjaastad
f70806e056 #1068 Avoid include of RigCell.h and RigSingleWellResultsData in RigCaseData.h 2017-01-10 09:20:03 +01:00
Magne Sjaastad
93032a23eb #1068 Avoid include of RigActiveCellInfo.h in RigCaseData.h 2017-01-10 09:20:03 +01:00
Magne Sjaastad
ccd4cb24c9 #1068 Avoid include of RigMainGrid.h in RigCaseData.h 2017-01-10 09:20:03 +01:00
Jacob Støren
ec5ad417f3 #1035 Renamed overloaded methods in result accessor to make it easier to see where the flow interception must come. 2016-12-14 14:51:53 +01:00
Magne Sjaastad
e603773417 Added missing pragma once 2016-06-06 07:13:53 +02:00
Magne Sjaastad
1c4c1d254e (#711) Use most recent activated Eclipse view if a well log plot is active
Octave scripts must have an Eclipse view to communicate with. If a WLP
is active, evaluate recently used views to find the most recently
Eclipse view used.
2016-01-06 23:01:27 +01:00
Magne Sjaastad
9429458d32 Rename from cells to globalCellArray 2015-11-24 14:21:02 +01:00
Magne Sjaastad
f004752aea Remove obsolete includes 2015-10-29 13:13:38 +01:00
Magne Sjaastad
01224dd5e6 System : Removed unused variables 2015-10-26 10:18:57 +01:00
Magne Sjaastad
0405584bb6 System : Replaced tab with four spaces in ApplicationCode and subfolders 2015-10-23 15:46:25 +02:00
Magne Sjaastad
061288f1c3 (#495) Removed use of StdInclude 2015-09-25 15:57:50 +02:00
Pål Hagen
0c8600c6dd (#355) Got rid of all RimUiTreeModelPdm includes 2015-08-24 17:42:42 +02:00
Pål Hagen
42656c45ad (#355) Removed old project tree view
RimUiTreeView and RimUiTreeModelPdm are no longer part of the solution.
TODO: Get rid of the source code files when all testing is done
successfully.
2015-08-24 14:56:09 +02:00
Jacob Støren
6ca74621ef (#378) Refactored Expansion in MainWindow,
Removed some use of the obsolete tree view model
2015-08-14 18:06:22 +02:00
Jacob Støren
d371da246f Renamed uiPdmModel() to uiPdmModel_OBSOLETE()
To make it easier to see what code is using the obsolete stuff.
2015-08-14 13:27:17 +02:00
Jacob Støren
235e024533 (#354) Called updateConnectedEditors everywhere updateUiSubTree is called 2015-08-13 21:28:09 +02:00
Jacob Støren
b2fb9ae2c8 Fixed wrong CaseTypeId in octave GetCases. Introduced by the GeoMech Case.
(#325)
2015-07-01 07:44:50 +02:00
Jacob Støren
2b1e2bb157 Fix of #321 and #284 Crash when setting data from octave into an input case 2015-06-29 17:06:55 +02:00
Pål Hagen
7917a89c65 Renamed source files according to new class names 2015-06-26 10:00:45 +02:00
Pål Hagen
fd03a02645 Renamed source files according to new class names 2015-06-26 10:00:44 +02:00
Pål Hagen
cd662dc7d1 Renamed source files according to new class names 2015-06-26 10:00:43 +02:00
Pål Hagen
c2561eb287 Renamed source files according to new class names 2015-06-26 10:00:42 +02:00
Pål Hagen
2f34b03135 Renamed source files according to new class names 2015-06-26 10:00:41 +02:00
Pål Hagen
ca7428ca4a Renamed class RimAnalysisModels to RimEclipseCaseCollection 2015-06-26 10:00:40 +02:00
Pål Hagen
33684d32c3 Renamed class RimInputProperty to RimEclipseInputProperty 2015-06-26 10:00:34 +02:00
Pål Hagen
dec6791027 Renamed class RimInputCase to RimEclipseInputCase 2015-06-26 10:00:33 +02:00
Jacob Støren
2c7a741805 Renamed the files of RimReservoirView to RimEclipseView 2015-05-21 10:34:38 +02:00
Jacob Støren
ed74116376 Rename of RimReservoirView to RimEclipseView
To make the separation to geomech clearer, and alligning it to the
RigCaseNaming
2015-05-21 10:05:33 +02:00
Jacob Støren
969a181897 RimCase reintroduced as baseclass for all cases
Refactored to handle cases generically in  a lot of places.
Mostly complete regarding all these issues, but not tested yet:
Assigning caseId
Update relative path to the case data
RimProject::createDisplayModelAndRedrawAllViews
RimProject::computeUtmAreaOfInterest
Load case data on project open
save snapshots for all views
RegressionTest viewer size
Finding case based on caseId
Giving case information to octave
2015-05-15 18:51:49 +02:00
Jacob Støren
b111a26f21 Renamed Files: RimCase to RimEclipseCase 2015-05-15 09:16:33 +02:00
Jacob Støren
223f8385d2 Renamed base class RimCase to RimEclipseCase
To make room for a RimCase base class that can be used as base class for
RimGeoMechCase as well.
This commit is only the class rename not the file rename.
2015-05-15 08:40:27 +02:00
Jacob Støren
d6643d9d35 RimView etc: More aligning GeoMech/Eclipse
Now Animation drawstyle works fairly well.
2015-05-08 14:13:26 +02:00
Magne Sjaastad
5b5d0ffa5a Show generated static result for all time steps 2014-10-27 08:00:23 +01:00
Magne Sjaastad
2d36af4f06 Updated file header for new files 2014-09-24 07:14:52 +02:00
Magne Sjaastad
b4df5419b1 Updated file header for modified files 2014-09-23 15:04:57 +02:00
Magne Sjaastad
e605ceafa2 Socket server : Improved server logic 2014-09-08 15:39:23 +02:00
Magne Sjaastad
103a9f4018 Bugfix : Allocate max timestep count when receiving data from Octave 2014-08-28 09:54:34 +02:00
Jacob Støren
1b2b0d8560 Fixed compile error introduced by rename
The dependency was not detected by CMAKE/msvbuild. ... Strange
Needed a complete make clean to find it.
2014-08-25 08:04:31 +02:00
Magne Sjaastad
d5e911d01b Added RigStatisticsDataCache and RigStatisticsCalculator
Moved cache from RigCaseCellResultsData to RigStatisticsDataCache
Moved statistics computations from RigCaseCellResultsData to RigStatisticsCalculator
2014-08-19 08:14:03 +02:00
Magne Sjaastad
8451ffc2fb Added include to RigResultAccessor in factory 2014-08-14 10:56:32 +02:00
Magne Sjaastad
a500c68efe Use RigResultAccessFactory 2014-08-14 10:56:29 +02:00
Jacob Støren
09313c6caa More Rename of globalCell to reservoirCell 2014-08-14 10:56:25 +02:00
Jacob Støren
3022a40204 Renamed globalCell to reservoirCell etc. 2014-08-14 10:56:25 +02:00
Jacob Støren
37ef1cf71c Renamed globalCellIndex to reservoirCellIndex 2014-08-14 10:56:23 +02:00
Jacob Støren
0ea794a1a8 Renamed localCellIndex to gridLocalCellIndex 2014-08-14 10:56:23 +02:00
Magne Sjaastad
d9e9a173e4 Added RigResultModifier and use this object for result modifications 2014-08-14 10:56:22 +02:00
Jacob Støren
322823754b Replaced dataAccessObject with resultAccessor 2014-08-14 10:56:20 +02:00
Magne Sjaastad
f259f21b32 Renamed file to match class name for RimReservoirCellResultStorage 2014-08-14 10:55:51 +02:00
Magne Sjaastad
d21e532c61 Cleaned up includes for ProjectDataModel 2014-08-14 10:55:49 +02:00
Magne Sjaastad
7faf950dc7 riGetActiveCellProperty: Fix for input properties
Only read values for active cells if we have result values for all cells
2014-06-11 12:06:15 +02:00
Magne Sjaastad
0f8b844873 Use max block size when reading from socket 2014-04-24 07:40:29 +02:00
Magne Sjaastad
d529e58c56 Fixed block transfer 2014-04-22 13:17:54 +02:00
Magne Sjaastad
e799a25c2e Block transfer for active cell info 2014-04-22 13:17:53 +02:00
Magne Sjaastad
19b655542a Use block transfer for data transfer of cell properties 2014-04-22 13:17:53 +02:00
Magne Sjaastad
eec2ffbecd Fixed invalid assert 2014-04-22 13:17:52 +02:00
Magne Sjaastad
32bfb65a9d Added socket data transfer
Added one common class used to transfer data using socket. This class is
used both from the Octave plugins and from the socket server code in
ResInsight
2014-04-22 13:17:52 +02:00
Magne Sjaastad
1693ae25dd Updated riGetGridProperty 2014-04-22 13:17:47 +02:00
Magne Sjaastad
b16536c9b0 Use socket block read/write for geometry data 2014-04-22 13:17:45 +02:00
Magne Sjaastad
492d86c39f Added block read from socket 2014-04-22 13:17:44 +02:00
Magne Sjaastad
c2f80f402d Fixed used on unsigned 2014-04-22 13:17:43 +02:00
Magne Sjaastad
e5248683f0 Added block write to socket tools 2014-04-22 13:17:43 +02:00
Magne Sjaastad
7a07b2926e Added flag to control how to do IO with sockets 2014-04-22 13:17:42 +02:00
Magne Sjaastad
c74851bfff Performance: Reduce memory use for riGetPropertyData 2014-04-22 13:16:32 +02:00
Jacob Støren
606a14f9f7 Octave Interface: Tentative Fix of lockup of Resinsight
Added a timer to call back if a signal from the socket has to be
ignored.
This way we should not loose signals and state.
Needs to be experienced over some time to be verified.
2013-10-08 14:21:18 +02:00
Jacob Støren
d5fe84bfbb Octave Interface: Moved debug output macro to socket tools
To make it available to all the SocketServer related classes.
2013-10-08 14:18:23 +02:00
Jacob Støren
230561573e Merge branch 'internal' of https://github.com/OPM/ResInsight into internal 2013-10-08 13:51:48 +02:00
Jacob Støren
7701cef865 Octave interfance: GetActiveCellCenters GetActiveCellCorners Fixed wrong CaseId addressing
Fixed Wrong CaseId addressing
2013-10-08 13:41:30 +02:00
Magne Sjaastad
ab31222efa Octave: Use 1-based IJK for riGetWellCells 2013-10-08 13:07:14 +02:00
Jacob Støren
12f3986d5f Octave interface: SocketServer Major review
Simplified and made more readable. Hopefully more stable and robust.
2013-10-07 11:47:09 +02:00
Jacob Støren
ca55d44884 Octave Interface: Fixed bugs riSetGridProperties riSetActiveCellProperty
SetGridProp did not read all data (if -> while)
Both returned not finished while they could have been finished
2013-10-04 14:36:34 +02:00
Jacob Støren
4efeba4a51 Socket Interface: Comments and debug message possibilities 2013-10-04 14:36:26 +02:00
Ceetron
7e4c793da5 Octave Interface: Yet more fix on multicase octave script exec. 2013-09-27 17:06:20 +02:00
Ceetron
6a7181e1d9 Octave Interface: Current Case is now interpreted correctly by Resinsight
The method returning the current case had not been updated to do so.
Some debug output is also removed.
2013-09-27 16:25:40 +02:00
Magne Sjaastad
1543f05794 Use a mutex to make sure all command objects have completed before issuing snapshots in the regression tests.
p4#: 22400
2013-09-13 09:23:13 +02:00
Magne Sjaastad
c3adfb7cb0 Prototyped command object infrastructure to be used in regression tests of Octave scripts
p4#: 22387
2013-09-12 08:11:56 +02:00
Magne Sjaastad
f928ef87e8 Fixed bug in riGetPropertyData only returning values for the first time step
https://github.com/OPM/ResInsight/issues/56
p4#: 22379
2013-09-11 10:26:53 +02:00
Magne Sjaastad
1a8f3d2555 Fixed segmentation fault for SetGridProperty with selected timestep
See TP#4179
p4#: 22364
2013-09-09 14:33:37 +02:00
Jacob Støren
e72318f348 Octave Interface: Added riGetWellCells
p4#: 22310
2013-09-04 12:57:36 +02:00
Jacob Støren
cac9d9d3f9 Octave Interface: Added riGetWellStatus
p4#: 22301
2013-09-04 08:03:11 +02:00
Jacob Støren
336eb56e3f Octave interface: Added riGetPropertyNames
Not yet included in build system
p4#: 22253
2013-08-30 15:26:35 +02:00
Magne Sjaastad
89c67df963 Fixed issue with missing well pipe geometry
p4#: 22151
2013-08-12 17:04:31 +02:00
Magne Sjaastad
ee4e6aeed4 Use data access object for access to data structures in ResInsight
p4#: 22144
2013-08-12 10:04:30 +02:00
Jacob Støren
080fc4c094 Fixed some compiler warnings.
p4#: 21853
2013-06-07 14:15:13 +02:00
Vidar Lundberg
6340c4a4a8 Established new PDM structure with RimProject owning RimOilFields owning RimAnalysisModels.
Moved wellPathCollection into new class RimOilFields.
Moved cases (previously called reservoirs) and caseGroups from RimProject into new class RimAnalysisGroups.
Added support for old project files, move cases and caseGroups from RimProject to RimAnalysisModels. (Do not handle WellPaths for old project files in a similar way, since almost no users have used this functionality yet.)
p4#: 21846
2013-06-06 15:07:31 +02:00
Vidar Lundberg
691f24e7a7 Added include files because of known include problems related to PDM.
p4#: 21845
2013-06-06 15:02:35 +02:00
Magne Sjaastad
1519ad0ad1 Fix for correct handling of pending socket connection requests
p4#: 21759
2013-05-29 10:07:35 +02:00
Magne Sjaastad
389247c17e Read command header in interpretCommand()
p4#: 21756
2013-05-28 16:02:00 +02:00
Magne Sjaastad
408795c0fc Test for ijk dimention match before reading data
Whitespace fixup
p4#: 21749
2013-05-28 11:11:32 +02:00
Magne Sjaastad
5bca9b28c1 Added riSetGridProperty
Some known issues related to parsing of the Octave arguments
p4#: 21747
2013-05-28 10:43:32 +02:00
Magne Sjaastad
1cfdb0ddb1 Write all double values in one go. Fixed argument parsing.
p4#: 21746
2013-05-28 09:20:09 +02:00