Commit Graph

21281 Commits

Author SHA1 Message Date
Arne Morten Kvarving
4bfadcd80d add CompositionalContainer, a container for compositional data output
start by moving data members into it
2025-02-13 11:12:49 +01:00
Arne Morten Kvarving
de1e2480f8 replace typedefs with type aliases 2025-02-13 11:12:49 +01:00
Kjetil Olsen Lye
b99b606575
Merge pull request #5852 from multitalentloes/cudagraph_experiment
Improve gpuistl using cudaGraphs
2025-02-12 15:01:20 +01:00
Atgeirr Flø Rasmussen
586e667db0
Merge pull request #5950 from akva2/fluidsystem_int_comp_indices
component indices are now int
2025-02-12 14:57:54 +01:00
Tobias Meyer Andersen
66fa971079 use cudagraphs in gpu DILU and ILU0 apply
expected to give performance gain on current
nvidia cards, no significant change on AMD cards
for cases of reasonable size

uses new GPU convenence objects
2025-02-12 11:10:40 +01:00
Atgeirr Flø Rasmussen
5cdde7230e
Merge pull request #5969 from kjetilly/critical_error
Using the CriticalException in PreconditionerFactory and ISTLSolver
2025-02-12 11:08:14 +01:00
Bård Skaflestad
5f40515cec
Merge pull request #5968 from bska/tidy-up-grid-proc-impl
Tidy Up Parts of Grid Processing Implementation
2025-02-10 17:19:52 +01:00
Halvor M Nilsen
69a5c39738 Tidy Up Parts of Grid Processing Implementation
In particular

  1. Reduce scope of some objects
  2. Remove unneeded objects
  3. Split some long lines.
  4. Realign some code that was indented multiple levels
  5. Tag '#endif' pre-processor statements with their condition

This is in preparation of introducing support for edge-conformal
processing of corner-point descriptions.
2025-02-10 16:43:00 +01:00
Bård Skaflestad
710e3bb7ba
Merge pull request #5973 from bska/fix-main-dispatch-link
Link MainDispatchDynamic to LibFMT
2025-02-10 16:39:34 +01:00
Kjetil Olsen Lye
791e5974f2 Now providing a message for CritcalError when rethrowing in ISTLSolver 2025-02-10 16:08:43 +01:00
Bård Skaflestad
f86383f194 Link MainDispatchDynamic to LibFMT
Some code in implementation depends on the libfmt headers.
2025-02-10 15:07:09 +01:00
Atgeirr Flø Rasmussen
fa67170c85
Merge pull request #5970 from kjetilly/clang-format-newline
clang-format now adds newline at the end of file.
2025-02-10 13:59:48 +01:00
Markus Blatt
78ba88e7a9
Merge pull request #5963 from akva2/fix_shared
Fix shared library linking issues
2025-02-10 13:47:12 +01:00
Kjetil Olsen Lye
e9c7e02bc1 clang-format now adds newline at the end of file. 2025-02-10 10:54:15 +01:00
Kjetil Olsen Lye
264a8d44d3 Removed rethrow from PreconditionerFactory::create 2025-02-08 19:39:15 +01:00
Kjetil Olsen Lye
8b84bc6b4b Using the CriticalException in PreconditionerFactory and ISTLSolver 2025-02-08 12:50:56 +01:00
Bård Skaflestad
5181a06219
Merge pull request #5966 from akva2/add_extbo_container
Add a container for Extbo data output
2025-02-07 15:41:20 +01:00
Arne Morten Kvarving
d0ef350297 ExtboContainer: make data private 2025-02-07 14:47:44 +01:00
Arne Morten Kvarving
72245590f2 move assignment of mass fractions into ExtboContainer 2025-02-07 14:43:00 +01:00
Arne Morten Kvarving
66ad8bc10a move assignment of zFraction into ExtboContainer 2025-02-07 14:43:00 +01:00
Arne Morten Kvarving
6024f10527 move assignment of volumes into ExtboContainer 2025-02-07 14:43:00 +01:00
Arne Morten Kvarving
3aa252e8b2 move output of Extbo restart data into ExtboContainer 2025-02-07 14:43:00 +01:00
Arne Morten Kvarving
14e7289059 move allocation of Extbo data into ExtboContainer 2025-02-07 14:43:00 +01:00
Arne Morten Kvarving
336a99a226 add ExtboContainer, a container for extbo data output
start by moving data members into it
2025-02-07 14:43:00 +01:00
Bård Skaflestad
6b84b8498d
Merge pull request #5964 from akva2/add_micp_container
Add a container for MICP data output
2025-02-07 14:20:52 +01:00
Arne Morten Kvarving
ee9c233084 MICPContainer: make data private 2025-02-07 13:47:35 +01:00
Arne Morten Kvarving
1fefab59d6 move extraction of MICP solution into MICPContainer 2025-02-07 13:47:35 +01:00
Arne Morten Kvarving
d1e2d81d84 move reading of MICP restart data into MICPContainer 2025-02-07 13:47:35 +01:00
Arne Morten Kvarving
66d5bce0d1 move assignment of MICP output into MICPContainer 2025-02-07 13:47:35 +01:00
Arne Morten Kvarving
4c261ba880 move output of MICP restart data into MICPContainer 2025-02-07 13:47:34 +01:00
Arne Morten Kvarving
3f94ace151 move allocation of MICP data into MICPContainer 2025-02-07 13:46:58 +01:00
Arne Morten Kvarving
012141b281 add MICPContainer, a container for MICP data output
start by moving data members into it
2025-02-07 13:46:56 +01:00
Bård Skaflestad
71a70c57eb
Merge pull request #5965 from akva2/fix_output_move
Fixed: Data output should use move semantics
2025-02-07 13:45:43 +01:00
Arne Morten Kvarving
d6ba124e41 MechContainer: data should be moved into solution container 2025-02-07 12:25:19 +01:00
Arne Morten Kvarving
3b95a1ecca FIPContainer: data should be moved into container 2025-02-07 12:25:19 +01:00
Arne Morten Kvarving
57099a433c fixed: output is supposed to use move semantics 2025-02-07 12:25:19 +01:00
Arne Morten Kvarving
c24e28a91d test_is_gpu_pointer: add missing linking against cudart 2025-02-07 09:55:32 +01:00
Arne Morten Kvarving
8e9703b0da fixed: extract MainDispatchDynamic to a object library
fixes building with shared libraries.
linking a shared library with missing symbols is a problem, while linking
a binary against a static library will prune non-referenced symbols and
it is thus fine.
2025-02-07 09:55:32 +01:00
Bård Skaflestad
a88901c97c
Merge pull request #5960 from akva2/add_mech_container
Add MechContainer
2025-02-07 08:59:59 +01:00
Arne Morten Kvarving
cda742b0ff MechContainer: make data private 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
be0fbac68b store fracStress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
7136f97d6e move assignment of fracStress into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
d1b9cab189 store linStress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
6809268d12 move assignment of linStress into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
779a225c9d store delStress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
9e8ab101ed move assignment of delStress into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
dd36273cb6 store strain as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
83f99a5fe4 move assignment of strain into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
b41e92e67f MechContainer::outputData: add support for registering vectors and tensors
avoid repeated code, indexing errors, ..

use this to register for displacement and stress
2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
76e343d54d store stress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00