Magne Sjaastad
fdead02071
#7014 Python: Resize the result container before assigning data
2020-11-24 14:15:01 +01:00
Magne Sjaastad
5e63a1b716
#7003 Python: Guard nullpointer access for summary methods
2020-11-24 09:20:57 +01:00
Magne Sjaastad
1a3a155d36
Merge remote-tracking branch 'origin/2020.10-patch-01' into dev
2020-11-12 09:06:28 +01:00
Kristian Bendiksen
4e2273b357
#6935 Extend python example with more than one model.
2020-11-11 15:46:22 +01:00
Magne Sjaastad
1f2b1f208c
#6962 Python: case.replace use simulationName
...
In Python, the folder name is added to simulation name to a combined name like 'folderName--simulationName' for the imported Grid Model. Only the simulationName should be used.
2020-11-11 09:05:31 -05:00
magnesj
0258874e17
Fixes by clang-format
2020-11-09 08:31:57 -05:00
magnesj
d11e109c7e
Fixes by clang-format
2020-11-06 06:18:34 -05:00
Kristian Bendiksen
b778a3c973
#6596 Rename python example file.
2020-11-06 10:43:49 +01:00
Kristian Bendiksen
abe818c4cd
#6596 Update python example to change from FractureModel to StimPlanModel.
2020-11-06 10:43:49 +01:00
Magne Sjaastad
51359a0cda
Allow Python scripts to use currently selected cases ( #6906 )
...
* #6891 Python : Make sure python scripts can be launched from context menu
* #6891 Python : Make currentScriptCaseId a general scripting feature
2020-11-04 10:27:05 +01:00
github-actions[bot]
03bae9df8b
Fixes by cmake-format
2020-11-03 10:53:54 +01:00
Gaute Lindkvist
9760dd1926
Add missing PRIVATE keyword in GrpcInterface\CMakeLists.txt
2020-11-03 10:31:12 +01:00
Gaute Lindkvist
71a0d88e26
Cross platform way of looking for CMake-versions of gRPC/Protobuf first
...
* Then use PKG_CONFIG to try to find them,
2020-11-03 10:31:12 +01:00
Gaute Lindkvist
71b191f8c5
Support non-cmake builds of gRPC
2020-11-03 10:31:12 +01:00
github-actions[bot]
223fe756fe
Fixes by cmake-format ( #6874 )
2020-10-30 12:31:16 +01:00
Gaute Lindkvist
787dae4044
Automatic installation of vcpkg dependencies ( #6848 )
...
* Added AutoVcpkg files to cmake directory.
* Add auto install of vcpkg packages
* Add grpc install to GrpcInterface module
* Set VCPKG_ROOT in GitHub actions
Co-authored-by: Ruben Thoms <ruben.thoms@ceetronsolutions.com >
2020-10-30 12:29:57 +01:00
Gaute Lindkvist
514cca5f95
Simplify the CMake GRPC setup ( #6852 )
...
* Simplify GRPC CMake setup.
* Move pip install code to CMake rather than github action to ensure the same Python version
* Remove redunant NO_MODULE in GRPC cmakefiles
* Use old CMP0077 policy (changed in Cmake 3.13) because our base line is 3.12.
* Make GrpcInterface a separate Object Library
* Update pip command to include --user and setuptools
* Update grpc python generation
* Remove unity build from GrpcInterface library
* Update github action to explictly set up Python
2020-10-30 10:11:58 +01:00
Kristian Bendiksen
88d30b74af
Make python fracture model export command independent of fracture model plot.
2020-10-28 08:59:40 +01:00
Kristian Bendiksen
a9930e5fe0
#6833 : Set eclipse case and time step in fracture model.
2020-10-28 08:59:40 +01:00
Kristian Bendiksen
899fa64e75
#6754 Update example python script with non-net-layers.
2020-10-22 09:07:27 +02:00
Kristian Bendiksen
752f0f5100
#6233 : Fracture Model: Add command to change MD location from python.
2020-10-21 10:53:53 +02:00
Kristian Bendiksen
f4eefc3e08
#6597 : Add python api for adding elastic properties scaling.
2020-10-21 10:05:49 +02:00
Gaute Lindkvist
069b427d10
Require CMake 3.12
2020-10-20 11:05:10 +02:00
Gaute Lindkvist
f7aed637f8
Require CMake 3.6
2020-10-20 11:05:10 +02:00
Kristian Bendiksen
9f92f15279
#6495 Update python api to changes in fracture model + template.
2020-09-28 12:02:45 +02:00
Ruben Manuel Thoms
d1b3e0781e
Changed hard coded temp directory pathes to built-in tempfile gettempdir().
2020-09-25 17:13:48 +02:00
Gaute Lindkvist
2741b24e27
Add the rips.Project.summary_cases() method and an example
2020-09-23 18:02:30 +02:00
Gaute Lindkvist
df51c9becb
Added Python example for replace case
...
(and replaced tabs with spaces in CMake file for GRPCinterface)
2020-09-23 18:02:30 +02:00
Kristian Bendiksen
724131d310
#1061 Add missing override keyword in ApplicationCode.
2020-09-15 11:04:39 +02:00
Gaute Lindkvist
63803eeebd
Make modeled well paths scriptable
2020-09-08 13:44:55 +02:00
Gaute Lindkvist
2e1bf89bff
#6417 Fix update of cvf::Vec3d from Python
2020-09-08 13:44:55 +02:00
Gaute Lindkvist
66c57cfae8
Add test_summary_cases.py to project tree
2020-09-08 13:44:55 +02:00
Kristian Bendiksen
a2f6a28248
#6423 Use directory instead of file path for FRK export.
2020-09-07 13:47:18 +02:00
Kristian Bendiksen
30b06eb3e0
#6363 Export fracture model plot as png in example.
2020-09-02 16:33:47 +02:00
jonjenssen
cfe64f5706
Surface python interface ( #6370 )
...
* Add python interface for importing surfaces with example.
2020-08-26 12:31:23 +02:00
github-actions[bot]
c4d2488d31
Fixes by clang-format ( #6362 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-25 08:44:08 +02:00
Gaute Lindkvist
f82b2f73ec
#6320 Refactor of PdmScripting
...
* Make base class abstract
* Implement support for IOHandling for PdmChild and PdmChildArray fields
2020-08-25 08:33:47 +02:00
Kristian Bendiksen
a659d065ad
#6322 Fix stringification of pointers to objects on python side.
2020-08-24 09:41:06 +02:00
Gaute Lindkvist
4a8c4fd68f
Revert docs/rips/project.py and fix uncommented code
2020-08-24 09:40:36 +02:00
Gaute Lindkvist
30fa232c25
#6320 Rename generated/pdm_objects.py to generated/resinsight_classes.py
...
* This is to avoid confusion with pdmobject.py
2020-08-24 09:40:36 +02:00
Gaute Lindkvist
454e7f17a0
#6322 Fix Python 3.8 problems
...
* Change base PdmObject class name to PdmObjectBase to avoid name conflicts
* Make all import paths relative
2020-08-24 09:40:36 +02:00
Kristian Bendiksen
307639a7d1
#6232 Add python api for exporting fracture model plot to frk file.
2020-08-18 10:12:10 +02:00
Kristian Bendiksen
22759b201d
#6232 Simplify importing elastic properties for fracture model.
2020-08-18 10:12:10 +02:00
Kristian Bendiksen
8dfe9bd4b5
#6232 Add python api for creating fracture model plot.
2020-08-18 10:12:10 +02:00
Kristian Bendiksen
ef36bbd04a
#6232 Add example for creating a fracture model from python
2020-08-18 10:12:10 +02:00
github-actions[bot]
6b5f4dddc9
Fixes by clang-format
2020-06-08 11:09:51 +02:00
Magne Sjaastad
91dd3e6d3e
NNC : Fix pytest
2020-05-18 15:22:08 +02:00
Gaute Lindkvist
ab0b05b31c
Improve NNC memory use
2020-05-15 12:55:25 +02:00
Magne Sjaastad
928acfdf9b
Allan : Do not test for cached data in pytest
2020-05-13 17:56:32 +02:00
Gaute Lindkvist
f199297f12
#5915 improve performance of NNC computation and limit to active cells
2020-05-13 12:19:03 +02:00