Commit Graph

1255 Commits

Author SHA1 Message Date
Jacob Støren
750fc5182c Refactor : Use allCases method instead of traversing
Preparations to allign Geomech and Eclipse cases
2015-05-15 08:18:11 +02:00
Jacob Støren
2aae86073b GeoMechView Toggle On/Off now works 2015-05-13 22:55:07 +02:00
Jacob Støren
af2699d362 Z-Scale working for geomech views
Alligned GeoMech and Reservoir views through RimView
2015-05-13 22:42:11 +02:00
Jacob Støren
8c12c8bcf7 Performance: Temp estimate of vx count
to fit generation of all faces for all elments
2015-05-13 20:22:37 +02:00
Jacob Støren
8813d8da6d Performance: Avoid increasing memory. Parallell quad gen. 2015-05-13 14:27:39 +02:00
Jacob Støren
04c9639b0b Performance: Avoid regeneration of geometry on result change 2015-05-13 13:03:41 +02:00
Stein Dale
860151074b RedHat build fix: Fixed case in include filename
"RigGeomechCaseData.h" -> "RigGeoMechCaseData.h"
2015-05-13 11:54:58 +02:00
Stein Dale
aaa4ff3b41 RedHat build fix: Fixed case in include filename
"RigGeomechCaseData.h" -> "RigGeoMechCaseData.h"
2015-05-13 11:45:09 +02:00
Jacob Støren
091fe2551e Fixed missing step information on first click 2015-05-12 14:59:51 +02:00
Jacob Støren
2e3fbaf7ce Fixed missing update of ComponentName
When selecting a field only variable
2015-05-12 14:47:45 +02:00
Jacob Støren
a74a8114f4 FemGeomGen: Removed obsolete code 2015-05-12 14:35:35 +02:00
Jacob Støren
d3baa09774 OdbReader: Cleaned up elmtype functions a bit 2015-05-12 14:35:11 +02:00
Jacob Støren
0d0b2f9609 Introduced correct integration point result order 2015-05-12 14:22:26 +02:00
Jacob Støren
92a9bf9994 Fixed error in integration point res mapping
Wrong vertex to result index used
2015-05-11 23:22:55 +02:00
Stein Dale
6b79c92f68 Fixed building of geo mech lib and odb reader unit tests
Changed cmake files and unit tests after recent changes that had broken
the builds. Geo mech lib now links with new library
ResultStatisticsCache.
2015-05-11 14:42:41 +02:00
Stein Dale
85f62ec1d4 Moved code to new library: ResultStatisticsCache
Moved  RigStatisticsCalculator.h/.cpp, RigStatisticsDataCache.h/.cpp,
RigStatisticsMath.h/.cpp to new library ResultStatisticsCache.
ResInsight and some unit tests now link with this new library.
2015-05-11 13:25:05 +02:00
Stein Dale
ca17645499 Split classes in RigStatisticsCalculator.h/.cpp into separate files
New files:RigNativeStatCalc.h./cpp, RigMultipleDatasetStatCalc.h/.cpp.,
in addition to RigStatisticsCalculator.h/.cpp.
2015-05-11 10:56:33 +02:00
Stein Dale
da7035517f Added include - RedHat compilation fix
Added #include <limits.h>.
2015-05-11 09:48:55 +02:00
Stein Dale
a958184daf RedHat compilation fixes
Added includes.
2015-05-08 15:51:18 +02:00
Stein Dale
54dac07c36 RedHat compilation fixes
Removed a couple of auto types and started writing the types explicitly,
to be able to compile on RedHat.
2015-05-08 15:51:17 +02:00
Stein Dale
23f4f05b99 RedHat compilation fixes
Added stdlib includes, to be able to compile on RedHat.
2015-05-08 15:51:16 +02:00
Stein Dale
29e40e242d ODB reader lib now compiles on RedHat
Added compilator flags and definitions, and added list of dynamic libs,
for RedHat.
2015-05-08 15:51:15 +02:00
Stein Dale
a91962b1a2 Linux compilation fixes
Did some changes to be able to build on RedHat. Stopped using auto for
iterator types.
2015-05-08 15:51:14 +02:00
Stein Dale
1b8944516f Linux compilation fix
Added include
2015-05-08 15:51:13 +02:00
Stein Dale
5fe54c6c8d Instance count, initialize/finalize ODB API
Using a static instance count member to determine when to initialize or
finalize ABAQUS ODB API.
2015-05-08 15:51:12 +02:00
Jacob Støren
a05c186d34 Now result colors are correct at first selection 2015-05-08 15:16:29 +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
Jacob Støren
86b058cdbe RimView etc: Refactored and alligned
To implement geomechView features alligned with ReservoirView
Now geomech results are shown with correct legend, and updated fairly
well.
2015-05-08 10:38:10 +02:00
Jacob Støren
93d92e5cb5 Added statistics etc. access in GeomechCaseData 2015-05-08 10:35:49 +02:00
Jacob Støren
55512db6a0 Introduced RigFemResultAddress
Breaks build, possibly. Intermediate chek-in
2015-05-08 10:34:57 +02:00
Jacob Støren
d405643d60 Fem-results caching now up and running
Still work in progress. Statistics not complete
2015-05-07 10:12:54 +02:00
Jacob Støren
41b0847041 GeoMechData lib needs USE_ODB_API define 2015-05-07 10:12:46 +02:00
Jacob Støren
27dcd80bfd Creating a fem-results caching system
Needed specifically for statistics
Work in progress brakes build
2015-05-07 10:12:37 +02:00
Stein Dale
746e9d402d Added unit tests 2015-05-07 09:31:33 +02:00
Stein Dale
d03cd6ef4c Added unit tests
Added some unit tests for verification of result values.
2015-05-07 09:25:57 +02:00
Stein Dale
4d9753ecce Interface for element node and integration point results
Added interface for element node and integration point results.
2015-05-07 09:23:48 +02:00
Stein Dale
bd3758d026 Added part index parameter to RifOdbReader::resultItemCount()
Made sure that RifOdbReader::resultItemCount() takes part index into
account.
2015-05-06 13:32:14 +02:00
Stein Dale
5a3603bf43 Error message on file open
Added optional error string parameter to openFile(). Made sure that
exceptions are handled. Returning false on file open error.
2015-05-06 13:22:09 +02:00
Stein Dale
3bbe7ec2dd Removed enum
Removed enum for result position which now is replaced by a private enum
in the reader class.
2015-05-06 13:00:13 +02:00
Stein Dale
520823c267 Made result position enum private
Made enum RifOdbResultPosition private. Renamed it to PesPos.
2015-05-06 11:09:37 +02:00
Stein Dale
4f9f322f2e Refactored results metadata
Using two levels of maps for results metadata, with result positions on
the top level.
2015-05-06 10:22:45 +02:00
Stein Dale
06a6630cc8 Got rid of warnings
Added a couple of #pragma directives to get rid of warnings from
compilation of ODB API.
2015-05-06 09:59:24 +02:00
Stein Dale
2ddc6677ff Unit tests
Fixed wrong parameters in a couple of unit tests.
2015-05-06 09:49:07 +02:00
Stein Dale
5ad9cf80e3 Results per part instance
Improved reading of results. Made sure that field subsets for the
correct part instance are used. Keeping id to index maps for elements
and nodes, which are used when reading results. Note: Geometry must have
been read before reading results.
2015-05-06 09:47:19 +02:00
Stein Dale
64bbcc04f8 Reading element node and integration point fields
Implemented RifOdbReader::readScalarElementNodeField() and
RifOdbReader::readScalarIntegrationPointField(). Needs verification.
Test files with element nodal fields needed.
2015-05-05 09:41:59 +02:00
Stein Dale
d5eb383abd Results metadata
Building results metadata data member on metadata request.
2015-05-05 09:41:59 +02:00
Stein Dale
8a3763f4b3 Added openFile() and made some methods non-const. 2015-05-05 09:41:58 +02:00
Stein Dale
eb30a51e54 Cleaned up odb interface.
Cleaned up interface. openFile() must be called before getting metadata,
results, or geometry. Running unit tests for only one reader instance
for the test file.
2015-05-05 09:41:57 +02:00
Jacob Støren
20a8527607 Noderesults are now read and displayed
The legend is not updated etc, but this is a start
2015-05-04 18:16:57 +02:00
Jacob Støren
6ff5f406d5 GeoMech result selection Gui working 2015-05-04 13:33:25 +02:00