Commit Graph

1041 Commits

Author SHA1 Message Date
Arne Morten Kvarving
059140f2ee split out typetag independent code from BlackoilWellModel 2021-06-07 12:04:06 +02:00
Joakim Hove
fcc4970337
Merge pull request #3318 from akva2/eclwellmodel_no_default
changed: do not set the ebos well model as default type
2021-06-04 09:58:46 +02:00
Atgeirr Flø Rasmussen
be0515dcba Avoid warning by defining static variable inline. 2021-06-03 13:27:49 +02:00
Atgeirr Flø Rasmussen
52877883d8 Add virtual destructor for base class. 2021-06-03 13:01:56 +02:00
Bård Skaflestad
d974f6bd03
Merge pull request #3333 from totto82/fixTEMPrestart
Pass the temperature to the restart machinary if enableTemperature is true
2021-06-02 13:09:41 +02:00
Tor Harald Sandve
3422e18583 Optional passing of the temperature vector to the restart machinary
If enableTemperature and --enable-opm-restart-file=true the temperature is passed to or read from the restart file
2021-06-02 11:53:57 +02:00
Arne Morten Kvarving
c2211b532f eclwriter: fix regression in parallel
order of constructing and obtaining global transmissibilities
was off. replace constructor argument with a setter so it can be
set at the appropriate time.
2021-06-01 09:08:38 +02:00
Bård Skaflestad
bd9b9a7118 Prepare to Save/Restore Richer Set of Aquifer Values
This commit adds logic to communicate more dynamic aquifer values
between the simulation and I/O layers.  In particular, we ensure
that we allocate the 'aquFet' and 'aquCT' substructures of the
dynamic aquifer data as appropriate and that we collect this
information on the I/O rank as part of the restart output process.
We furthermore make the 'ParallelRestart' facility aware of dynamic
aquifer data in preparation of loading these values from the restart
file.
2021-05-28 14:47:17 +02:00
Arne Morten Kvarving
d65a9a5f70 changed: do not set the ebos well model as default type
rather, only set it where we want to use it. this avoids including
eclwellmanager.hh and eclpeacemanwell.hh unnecessarily in
simulator objects (where BlackoilWellModel is used).
2021-05-28 11:28:43 +02:00
Arne Morten Kvarving
a128c64a03 use if constexpr 2021-05-28 09:03:17 +02:00
Arne Morten Kvarving
cbd7cfe8b6 split eclproblem in typetag dependent and typetag independent classes 2021-05-28 08:54:10 +02:00
Arne Morten Kvarving
b82d83dd60 eclpeacemanwell: anonymize unused parameters 2021-05-27 15:51:26 +02:00
Arne Morten Kvarving
f1965a58f3 eclpeacemanwell: use override 2021-05-27 15:51:26 +02:00
Arne Morten Kvarving
6045391bbd eclpeacemanwell: use std::array 2021-05-27 15:51:26 +02:00
Bård Skaflestad
f32a08124d
Merge pull request #3307 from akva2/eclproblem_cleanups
Various small cleanups in eclproblem
2021-05-26 22:02:23 +02:00
Arne Morten Kvarving
89443dd6a3 fixed: do not take reference to a temporary
getWellsatEnd returns a temporary vector. it goes out of
scope on the line, thus the reference taken is dangling.
2021-05-26 15:50:27 +02:00
Arne Morten Kvarving
f7dd0e34c3 eclproblem: fix typo in alugrid code 2021-05-26 15:12:08 +02:00
Arne Morten Kvarving
d5e9d32d7c eclproblem: use .empty() instead of size() == 0 2021-05-26 15:11:14 +02:00
Arne Morten Kvarving
3294917710 eclproblem: remove unused accessor 2021-05-26 15:03:22 +02:00
Arne Morten Kvarving
2a2b128820 eclproblem: remove unused type alias 2021-05-26 14:59:39 +02:00
Arne Morten Kvarving
fe57de72b2 eclproblem: only call function if an extension is enabled 2021-05-26 14:59:12 +02:00
Arne Morten Kvarving
aa7ec98c0f eclproblem: use if constexpr for enableApiTracking 2021-05-26 14:51:24 +02:00
Arne Morten Kvarving
be9c03bfac eclproblem: use if constexpr for enableDiffusion 2021-05-26 14:50:27 +02:00
Arne Morten Kvarving
99273fee85 eclproblem: use if constexpr for enableEnergy 2021-05-26 14:50:04 +02:00
Arne Morten Kvarving
94fe38fc93 eclproblem: use if constexpr for enableExtbo 2021-05-26 14:48:06 +02:00
Arne Morten Kvarving
baad3a7722 eclproblem: use if constexpr for enableBrine 2021-05-26 14:47:10 +02:00
Arne Morten Kvarving
68f9aeb78f eclproblem: use if constexpr for enablePolymerMolarWeight 2021-05-26 14:45:42 +02:00
Arne Morten Kvarving
3578c13236 eclproblem: use if constexpr for enablePolymer 2021-05-26 14:43:09 +02:00
Arne Morten Kvarving
cf2ab1cb41 eclproblem: use if constexpr for enableSolvent 2021-05-26 14:38:35 +02:00
Arne Morten Kvarving
836251aca1 eclproblem: use if constexpr for enableExperiments 2021-05-26 14:31:57 +02:00
Arne Morten Kvarving
b51f57a5c3 eclproblem: replace typedef with using 2021-05-26 14:30:50 +02:00
Arne Morten Kvarving
df4fdc9794 eclproblem: use maybe_unused attribute instead of macro 2021-05-26 14:19:23 +02:00
Arne Morten Kvarving
8ed738b188 eclproblem: anonymize unused parameters 2021-05-26 14:18:44 +02:00
Arne Morten Kvarving
d55df4330e fixed: do not use Opm:: prefix when inside namespace Opm 2021-05-25 12:06:06 +02:00
Arne Morten Kvarving
70ece6d25a eclwriter: split in typetag dependent and typetag-independent parts 2021-05-22 13:21:09 +02:00
Joakim Hove
23180e06d2 Rename WellStateFullyImplicitBlackoil -> WellState 2021-05-21 15:07:21 +02:00
Bård Skaflestad
3299baf5e8
Merge pull request #3262 from akva2/ecltransmissibility_bool_params
remove template parameters for enableEnergy/Diffusion in transmissibility
2021-05-21 13:01:27 +02:00
Atgeirr Flø Rasmussen
dee7030784
Merge pull request #3273 from akva2/clang_cleanups
Quell various clang warnings
2021-05-21 09:22:31 +02:00
Arne Morten Kvarving
ffc3d8fbd6 eclgenericoutputblackoilmodule: split in typetag dependent/independent parts 2021-05-20 09:16:44 +02:00
Arne Morten Kvarving
86fc165af6 remove template parameters for enableEnergy/Diffusion in transmissibility
- the diffusion one is basically done on runtime anyways
- the energy one gives some small code elimination gains
  however, it complicates the writing of downstream templates.
2021-05-20 08:53:40 +02:00
Bård Skaflestad
91dae1aa6f
Merge pull request #3269 from akva2/small_cleanups
Some small cleanups
2021-05-19 23:50:01 +02:00
Tor Harald Sandve
89e5b6758b fix building with dunefem 2021-05-18 15:31:57 +02:00
Arne Morten Kvarving
59d02d42c9 changed: make externalLoadBalancer a namespace scoped symbol
clang get confused and claims there's no explicit instantation
when it's a template member.
2021-05-18 12:12:05 +02:00
Arne Morten Kvarving
a7507cf544 fixed: forward structs as structs
clang warns
2021-05-18 12:07:04 +02:00
Arne Morten Kvarving
c78630cff0 fixed: add virtual dtor to class with virtual functions 2021-05-18 12:06:09 +02:00
Arne Morten Kvarving
8c34172ef0 remove some Opm:: qualifiers inside Opm namespace 2021-05-18 10:09:45 +02:00
Arne Morten Kvarving
5fa02055d4 split eclalternativeblackoilindices to separate file 2021-05-18 10:09:45 +02:00
Arne Morten Kvarving
6df23090bc ecloutputblackoilmodule: remove unused methods
furthermore, they do not compile as there are duplicate
entries in switch statements.
2021-05-18 10:09:45 +02:00
Joakim Hove
842e0a53a4
Merge pull request #3263 from akva2/move_ecldeck_param
changed: move Deck parameter to BlackoilModelParametersEbos
2021-05-18 08:19:19 +02:00
Joakim Hove
b7700d1077
Merge pull request #3259 from akva2/ecltracer_vanguard_separate
ecltracermodel: split in typetag dependent and typetag-independent parts
2021-05-18 08:15:40 +02:00