Commit Graph

14 Commits

Author SHA1 Message Date
Magne Sjaastad
012929cd1d Add surface import from VTU files
Parse VTU files. If element results are detected, duplicate nodes and assign result values to nodes for display.
2025-02-12 08:40:35 +01:00
Magne Sjaastad
62bb40c4f4 Add optional parameter 2025-01-19 16:19:55 +01:00
Magne Sjaastad
ca4a201c4e #11989 Check indices before accessing two-dimensional vector 2024-12-12 16:24:14 +01:00
magnesj
b9c5ff816a Fixes by clang-tidy 2024-03-13 08:51:01 +01:00
Jon Jenssen
f411b5fabe Do not crash if no valid points are found when importing a surface .dat file due to i.e. incorrect file format (comma separated, not space separated) 2024-03-12 13:01:35 +01:00
Magne Sjaastad
ff6472c6b7 Update to clang-16
Use runner Ubuntu 22.04 for clang-16
Remove unused code detected by clang-16
2024-01-05 15:13:50 +01:00
Magne Sjaastad
21843820e6 Update clang-tidy.yml
* Make sure clang-tidy action use .clang-tidy config file
Use add-paths to instruct create-pull-request to a sub folder to avoid diff from Qt and vcpkg

* Use empty() in macro to avoid clang-tidy warning
* Add NOLINT to CAF_ASSERT
* Add NOLINT to cvfAssert
2023-10-03 09:04:08 +02:00
Magne Sjaastad
b7f8d0e0f1 Increase warning level
* Set warning level to /W3 for MSVC to catch more warnings
* remove several excluded checks for clang
* removed several unused variables
* Hide warnings qwt
* add missing parentheses in logical expressions
* Remove double check on same logical expression
2023-04-17 15:57:39 +02:00
Magne Sjaastad
952e766c2f Update clang-format.yml (#10068)
* Update to clang-format-15
Removed two custom .clang-format files in subfolders of AppFwk

* Fixes by clang-format
2023-04-13 07:05:53 +02:00
Magne Sjaastad
f8c5cf389f clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-02-26 10:48:40 +01:00
Kristian Bendiksen
86ea679871 #8652 Import Surface: Fix ts-file import with properties on Linux (#8730)
The file had DOS line endings (\t\n) which where not properly trimmed on linux.

Fixes #8652.
2022-03-25 14:16:25 +01:00
Magne Sjaastad
afadaf27d5 Merge pull request #8159 from OPM/performance-surface
Performance Surface import and resampling
2021-10-15 16:55:58 +02:00
Magne Sjaastad
2480a782d1 Ensemble Surface improvements
* Performance : Improve surface import
* Performance: Use opm when importing files
* Surface : Use the triangle size as basis for the maximum search distance
* Performance : Resample surfaces in parallell
* Performance: Import file surfaces in parallell
* Ensemble Surface : Create one ensemble per surface
2021-09-16 14:28:19 +02:00
Gaute Lindkvist
81699db187 Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00