Commit Graph

353 Commits

Author SHA1 Message Date
Magne Sjaastad
a620ddb665 Update vcpkg to latest release (2021.05.12)
Use https://github.com/microsoft/vcpkg
2021-11-11 16:02:36 +01:00
Magne Sjaastad
9894c1da35 #8143 System : Add external libs fast_float and mio
https://github.com/fastfloat/fast_float
https://github.com/mandreyel/mio
2021-10-13 12:52:02 +02:00
Magne Sjaastad
da43084fcb opm-common : Cherry-pick region bugfix 2021-09-29 18:46:26 +02:00
Bård Skaflestad
b220c2762f Include <cctype> for std::isdigit
Fixes build on VS 2017.
2021-09-13 12:51:22 +02:00
Magne Sjaastad
d1463645d0 #7912 Summary Data Import : Include LGR in construction of SummaryNode 2021-09-13 10:00:45 +02:00
magnesj
2dbe0a0c9c #7912 Summary Data Import : Update selected opm-common files 2021-09-13 10:00:45 +02:00
Magne Sjaastad
c7917915cd #7912 Summary Data Import : Add fmt to ThirdParty 2021-09-13 10:00:45 +02:00
Magne Sjaastad
640c59d682 #7942 Summary Plot: Make reading of summary data file more robust
- remove the gsl::not_null for pointer to curve data
- For summary cases linked to a grid model case, do not try to read the original location of file if grid file location is not valid (will happen when a project file is moved)
2021-09-02 15:55:43 +02:00
Magne Sjaastad
e961dce97d #7944 Cell selection: Avoid crash for Pflotran simulation case 2021-09-02 15:55:43 +02:00
Magne Sjaastad
3a94078867
Support optimized surface export from grid model layers
* #7885 Update opm-common with optimized coordinate import
* #7885 Allow null as default result from a script method
* #7885 Propagate default parameter values to generated Python code
* #7885 Add CommandRouter as hub for worker methods
* #7885 Add support for use of CommadRouter from Python
2021-08-23 11:58:32 +02:00
Magne Sjaastad
fc947558d5 #7852 Crash on dual porosity grid model load and clicking on cell in 3D view 2021-08-03 14:34:51 +02:00
Magne Sjaastad
6b4d80d116
HDF Summary : Add support for LGR summary vectors 2021-04-22 15:55:52 +02:00
Magne Sjaastad
8e569bc944 opm-common : Always use Opm::filesystem 2021-04-20 11:05:33 +02:00
Magne Sjaastad
a6277c0ddc
Make opm summary reader work with mixed casing (#7593)
* #7592 opm-common : Add case insensitive file search
* #7592 opm-common : Find file based on case insensitive search
* #7592 opm-common : Improve error messages
2021-04-19 16:40:29 +02:00
Bård Skaflestad
9c4ba8144d Add Missing Includes
Needed to build application in VS 2017.
2021-04-19 14:33:51 +02:00
Magne Sjaastad
0181e640ec Opm-common : Add helper functions to extract two region numbers 2021-04-18 08:56:59 +02:00
Magne Sjaastad
4c7c895b87 Updated opm-common to latest 2021-04-18 08:56:59 +02:00
Magne Sjaastad
3bc569e2a6 #7563 HDF5 Export : Add flag to generated HDF5, default off
Fixes by cmake-format

Try to fix copy constructor issues


Fix missing initialization


Unused variable
2021-04-11 13:04:49 -07:00
Magne Sjaastad
8128b26c27 #7527 opm-common: Add smspecKeywordIndex to SummaryNode 2021-04-08 07:13:34 -07:00
Magne Sjaastad
6e45d51e4e
Update vcpkg
Update vcpkg to be compatible with OSX
2021-04-05 17:23:40 +02:00
Magne Sjaastad
f5547dd551
#7512 Support optimized summary reader 2021-03-25 12:56:09 +01:00
Magne Sjaastad
0377da8097
System : Optionally bundle OpenSSL on Linux (#7458) 2021-03-05 09:56:05 +01:00
Magne Sjaastad
4666c45f66 #7065 WBHP for historic period reported as -99 in some cases
Use 0.0 instead of nan, as this behaves in a better way when computing statistics and visual display of curves.
2021-02-16 14:15:20 +01:00
Magne Sjaastad
1e0e429156 #7065 WBHP for historic period reported as -99 in some cases
Use NaN instead of -99 to indicate no data present
2021-02-16 11:10:17 +01:00
Magne Sjaastad
6ebf3aaaca #7350 PVT curves : Use PVTNUM value to get PVT curve data 2021-02-10 15:19:38 +01:00
Magne Sjaastad
7aa3a47b36 #7335 Dual poro models : Throw exception if invalid data is detected 2021-02-07 21:45:08 +01:00
Magne Sjaastad
b2fc74e73e #7335 Dual poro models : Support using matrix part of PORV
For dual porosity models, use PORV from the matrix part.

Also guard all conversion of 1-based to 0-based indexing to avoid potential undefined behaviour.
2021-02-05 15:35:33 +01:00
Magne Sjaastad
4bd76a78ad Update flow diagnostics from upstream master 2021-02-05 15:35:33 +01:00
Magne Sjaastad
a060ba349e #7316 Curve Calculator: Add support for single line if-statement 2021-02-02 14:30:26 +01:00
Arash Partow
3affa41830 Update the ExprTk library 2021-01-31 16:58:51 +01:00
Gaute Lindkvist
04d5daca67 Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00
Gaute Lindkvist
6a2baf9c45 Upgrade to Clipper 6.4.2 2020-12-07 15:00:59 +01:00
Bård Skaflestad
f52cff17ec Patch OPM-Common To Support VS 15 (2017)
Include <cctype> to bring declarations of std::toupper() &c into
scope.  With this patch the application builds on VS 15 (2017)
using MSVC 19.16.27044 on Windows 10 1909.
2020-11-17 04:49:48 -08:00
Magne Sjaastad
54480d8406 Remove python sub-folder 2020-11-16 16:09:02 +01:00
Magne Sjaastad
b0ec2895be Enable unity build on opm-common 2020-11-16 14:55:45 +01:00
Magne Sjaastad
be23df1398 Split Sutbstitutes into cpp and header to make it possible to use unity build 2020-11-16 14:55:29 +01:00
Ruben Thoms
f563748e1b Included stdexcept. 2020-11-16 11:34:09 +01:00
Ruben Thoms
a180fc431b Include boost spirit in order to compile opm-common. 2020-11-16 11:34:09 +01:00
Magne Sjaastad
df2a6fb9d9 Update opm-common based on 2020.04 branch
Use branch https://github.com/CeetronSolutions/opm-common/commits/windows-fixes-2020.04
Update from 34ff4827569bb04190743e7aae3404794ccd188a
2020-11-16 11:34:09 +01:00
Magne Sjaastad
011174153e Minor compiler fixes 2020-11-16 11:34:09 +01:00
rubenthoms
0747547aaf Added CMake files for generating and including OPM-common as a ThirdParty library. 2020-11-16 11:34:09 +01:00
rubenthoms
9742317e98 Added tests for OPM-common. 2020-11-16 11:34:09 +01:00
rubenthoms
dd3a3efa19 Added directory for generated content from OPM-common, filled with the parser keywords. 2020-11-16 11:34:09 +01:00
rubenthoms
ca01feeb2f Added OPM-common as a ThirdParty library. 2020-11-16 11:34:09 +01:00
Magne Sjaastad
70dfdd9a41 #6869 Coarse Grid: Make sure empty coarsening cells are handled correctly
Based on fix by Jean-Paul Balabanian <jpb@equinor.com>
2020-11-03 04:34:40 -05:00
rubenthoms
1941a1f3d3
Boost and Eigen to vcpkg (#6817)
* Moved boost subset installation to vcpkg.

* Moved Eigen to vcpkg.

Added packages to vcpkg-response files.
Removed unnecessary include_directories() calls.


Removed comments.

* Use target_link_library instead of boost_libraries

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2020-10-25 09:22:19 +01:00
Gaute Lindkvist
18d250ebf1 Moved VCPKG into ThirdParty 2020-10-20 11:05:27 +02:00
Gaute Lindkvist
78ba28e916 Update Boost-subSet to 1.74.0 to fix C++17 incompatibility issues 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
e797c5ccdf Add GSL headers as third party library (header only) 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
0354664b8f Get rid of warning of CMake policy CMP0042 by copying in new libecl code 2020-10-20 11:05:10 +02:00