Commit Graph
45 Commits
Author SHA1 Message Date
Magne Sjaastad 56e98ba1c4 #14476 ApplicationLibCode: Replace CVF_ASSERT with CAF_ASSERT
Migrate all assert macros in ApplicationLibCode to CAF_ASSERT and remove every
use of cvfAssert.h.

CVF_ASSERT is replaced one to one. CVF_TIGHT_ASSERT is also replaced by
CAF_ASSERT, which is semantically exact: CVF_ENABLE_TIGHT_ASSERTS is 1 only
under _DEBUG, and that is what CAF_ASSERT now does. The two CVF_FAIL_MSG sites
become CAF_ASSERT( false && "message" ), preserving the message with the idiom
already used elsewhere in the code base.

Counts before and after: CVF_ASSERT 1044 to 0, CVF_TIGHT_ASSERT 66 to 0,
CVF_FAIL_MSG 2 to 0, cvfAssert.h references 154 to 0.

Include handling: files that included cvfAssert.h directly now include
cafAssert.h instead, includes left dead by the migration are removed, and files
that were relying on cvfAssert.h transitively get an explicit cafAssert.h. Files
that reach cafAssert.h through another caf header are left unchanged; a missing
include here is a compile error, not a silently disabled assert.

ResultStatisticsCache links only LibCore and therefore had no path to
cafAssert.h. Add the cafPdmCore directory as a private include path rather than
linking the library, since cafAssert.h is header only.

Note that this stops these asserts from firing in Release and RelWithDebInfo,
where CVF_ASSERT was previously active.
2026-08-07 15:05:57 +02:00
Magne Sjaastad 544e9eedd9 Improve spell checker using codespell
* Configures automated spell checking with codespell
Adds GitHub workflows and configuration files for automated spell checking using `codespell`.

This includes:
- A workflow for checking pull requests and preventing new typos
- A workflow for automatically fixing typos in the main codebase
- Configuration files for `codespell` to ignore specific terms and file types
- Documentation on how to use and configure the spell checking workflows.

* Corrects minor spelling and grammar errors.
2025-11-19 10:25:32 +01:00
Magne Sjaastad 37041ad0a6 clang-19-tidy and clang-19-format fixes 2025-05-19 14:31:30 +02:00
Kristian Bendiksen 3dcca744e1 #11405 Fault Reactivation: add temperature initial conditions. 2024-05-02 11:54:21 +02:00
jonjenssen cb1e062e99 Exported coordinate fix (#11283)
Make sure exported well path coordinates use local coord system when needed.
2024-03-12 16:57:16 +01:00
jonjenssen 86c33c1b46 Fault activation: node adjustments along fault (#11235)
Make sure same thickness vectors and fault lines are used for both parts.
2024-02-27 17:05:48 +01:00
jonjenssen 09151ec6af Use S5 for top, fault and base surfaces.
Add expansion material parameter (requires updated XML)
2024-02-24 02:53:14 +01:00
jonjenssen cd0a56c924 Fault Reactivation: grid improvements (#11105)
Grid generator cleanup
2024-01-24 18:28:32 +01:00
jonjenssen 8831a8dcc7 Update stress source selection
Clean up UI a bit
2024-01-22 20:39:07 +01:00
jonjenssen 251952e6ef Fault reactivation updates (#11079)
* Allow extending cell intersection lines outside cell
* Update default values, and clean up some things
* Populate fault zone element set
* Update to latest openzgy to fix typo
2024-01-19 08:39:10 +01:00
Kristian Bendiksen adf52ed301 #10827 Fault reactivation: extract temperatures using well log. 2024-01-08 18:05:48 +01:00
Jon Jenssen af3cfc9bac Add missing include 2024-01-08 17:22:09 +01:00
Jon Jenssen b38e9de2cb Minor changes to exported INP file based on feedback and testing 2024-01-08 17:22:09 +01:00
jonjenssen daae1e6e05 Improve fault reactivation file names (#11005)
Use model name in exported file name.
Add model name to include file names.
2024-01-05 08:43:40 +01:00
jonjenssen 858c1227bc Use correct result name for Void ratio (#10969)
Use correct result name for Void ratio
Enable porosity calculator for imported inp data
Add model validation check for export/show model
Fix last res. layer not being splitted into subelements
Add model validation check in file exporter
Bump version to dev.04
2023-12-18 15:03:08 +01:00
Kristian Bendiksen 9e1a09bcf9 Refactor: move fault reactivation data access to fix ownership problems. 2023-12-18 14:28:00 +01:00
Kristian Bendiksen 0a2f2da8b9 Fault Reactivation: add sea water load to initial step. 2023-12-07 11:11:25 +01:00
jonjenssen 52259a69f3 Update grid part naming (#10879)
* Rename parts
* Make sure well extraction goes along model, not fault
* Match part naming with parts
2023-11-28 02:26:09 +01:00
Kristian Bendiksen ef90a698b4 Fault reactivation: compute and export stress. 2023-11-27 15:42:47 +01:00
Kristian Bendiksen 18cb0dbe6f Fault Reactivation: Fix more references to ALL sets. 2023-11-24 13:21:21 +01:00
jonjenssen 2b795bf499 Fault reactivation gridding update (#10855)
Rewrite grid generator - grid based on eclipse model layers in reservoir.
2023-11-20 15:39:17 +01:00
Kristian Bendiksen 0a2f34a63d Fault Reactivation: Rename sets from "partname.partname" to "partname.ALL" 2023-11-15 13:17:55 +01:00
Kristian Bendiksen 9c410ee439 Fault Reactivation: export density and elastic properties to INP. 2023-11-13 08:45:09 +01:00
Kristian Bendiksen 370665e520 Fault Reactivation: extract density, youngs modulus and poissons number geo mech model. 2023-11-03 09:44:57 +01:00
Kristian Bendiksen fcf565e541 #10753 Fault Reactivation: improve step names
Fixes #10753.
2023-10-30 16:09:10 +01:00
Kristian Bendiksen ea4e46b400 #10743 Fault Reactivation: export temperature and void ratio per node.
Fixes #10743.
2023-10-30 16:09:10 +01:00
Kristian Bendiksen d20af80b85 #10678 Fault Reactivation Model: export more materials. 2023-10-18 18:44:03 +02:00
jonjenssen 7494302275 Fault Reactivation updates (#10727)
* Generate reservoir element sets
* Add support for materials
* Add local coordinate system support for exported model
2023-10-18 09:10:08 +02:00
Kristian Bendiksen 1b70eaabb4 Fault Reactivation Export: Remove front and back sets. 2023-09-29 14:43:48 +02:00
Kristian Bendiksen 78becc81ac Fault Reactivation Export: print pore pressure per step to file. 2023-09-29 14:43:48 +02:00
Kristian Bendiksen ca89bc429f Fault Reactivation Export: Use transform instead of orientation. 2023-09-29 14:43:48 +02:00
Kristian Bendiksen 8022b4e5bb Fault Reactivation Export: handle steps selection in export. 2023-09-27 12:41:35 +02:00
Kristian Bendiksen 74a656f47c Fault reactivation export: improve error handling. 2023-09-27 12:41:35 +02:00
Kristian Bendiksen b44eee2d18 Fault Reactivation: Fix part boundary conditions.
Disallows movement out of the plane (fixates the nodes in Y direction).
2023-09-22 10:15:31 +02:00
Kristian Bendiksen 816bb2df8f Revert "Fault Reactivation Model: Remove incorrect boundary conditions."
This reverts commit 06eb0fb724.
2023-09-22 10:15:31 +02:00
Kristian Bendiksen 06eb0fb724 Fault Reactivation Model: Remove incorrect boundary conditions. 2023-09-20 19:55:39 +02:00
Kristian Bendiksen 636535e720 Fault Reactivation Model: include local coord rotation in INP export. 2023-09-20 19:55:39 +02:00
Kristian Bendiksen 5fc5828d66 Fault Reactivation: Include application in INP export file. 2023-09-20 19:55:39 +02:00
Kristian Bendiksen 4f9e2dd2a3 Fault Reactivation Model: fix face definition in INP export. 2023-09-20 19:55:39 +02:00
Kristian Bendiksen 36f501ee92 Fault Reactivation Model: simplify export contents. 2023-09-20 19:55:39 +02:00
Kristian Bendiksen e8cbbf5d55 Fault Reactivation Model Export: fix problems after run. 2023-09-13 14:09:34 +02:00
Kristian Bendiksen 406c208b33 Refactor: Split INP exporter into parts. 2023-09-06 13:51:59 +02:00
jonjenssen a2632982b5 Code updates 2023-09-06 13:51:59 +02:00
Kristian Bendiksen ddd7410730 Write more data to inp file. 2023-09-06 13:51:59 +02:00
Kristian Bendiksen d7bff0472e Add fault reactivation file export. 2023-09-06 13:51:59 +02:00