Commit Graph

1077 Commits

Author SHA1 Message Date
Joakim Hove
a668794a3b Merge pull request #375 from joakim-hove/only-active-cells
Use temporary global properties when accesing FieldPropsManager
2019-12-14 15:13:36 +01:00
Joakim Hove
751f3b5091 Use temporary global properties when accessing FieldPropsManager 2019-12-14 12:53:03 +01:00
Joakim Hove
ce0f902777 Merge pull request #374 from akva2/janitoring
remove unused variable
2019-12-07 13:36:36 +01:00
Joakim Hove
4b3b64c88c Merge pull request #373 from joakim-hove/ecleps-config-fp
Ecleps config fp
2019-12-07 12:08:02 +01:00
Joakim Hove
7feb96014c FieldPropsManager in EclThermal 2019-12-07 09:57:48 +01:00
Joakim Hove
6b21e51fa2 Enable FieldPropsManager in EclEpsGridProperties 2019-12-07 09:57:48 +01:00
Arne Morten Kvarving
0445dc3ddb remove unused variable 2019-12-06 23:35:12 +01:00
Joakim Hove
9c3763d02f Remove unused function 2019-12-05 19:49:58 +01:00
Joakim Hove
7fc692ec62 Move variable into correct #ifdef block 2019-12-05 19:36:35 +01:00
Joakim Hove
4792cc63ec Enable FieldPropsManager in EclEpsConfig 2019-12-05 19:35:06 +01:00
Joakim Hove
6f047e4360 Moved code-lines around to prepare for FieldPropsManager 2019-12-05 19:33:02 +01:00
Joakim Hove
2282e439e2 Merge pull request #370 from joakim-hove/fp-double
Fp double
2019-11-29 16:53:33 +01:00
Joakim Hove
95b514f660 Merge pull request #371 from joakim-hove/add-PORO
Add PORO to testdata
2019-11-29 12:46:51 +01:00
Joakim Hove
ba798c5c22 Add PORO to testdata 2019-11-29 11:19:04 +01:00
Joakim Hove
8c2c7d2fdc Enable 3DProps testing for thermal properties 2019-11-28 16:58:13 +01:00
Joakim Hove
c6a2017e8d Grouping lines of code 2019-11-28 16:52:47 +01:00
Tor Harald Sandve
f6beba2caa Merge pull request #369 from joakim-hove/use-fp
Use FieldPropsManager to get SATNUM vector
2019-11-28 09:07:55 +01:00
Joakim Hove
2ac41b75ca Use FieldPropsManager to get SATNUM vector 2019-11-27 17:55:29 +01:00
Joakim Hove
589e55d30d Merge pull request #368 from joakim-hove/pull-out-of-loop
Extract creation of EclEpsGridProperties out of loop
2019-11-27 17:02:15 +01:00
Joakim Hove
da16a4ef42 Extract creation of EclEpsGridProperties out of loop 2019-11-27 15:07:40 +01:00
Joakim Hove
1427042583 Merge pull request #365 from joakim-hove/use-active-vectors
Use active vectors
2019-11-26 20:46:24 +01:00
Joakim Hove
c991993d7f Store and use only active cells in EclEpsGridProperties 2019-11-26 19:38:31 +01:00
Joakim Hove
0f04b8ef69 Wrap all EclEpsGridProperties members behind public get 2019-11-21 11:32:49 +01:00
Joakim Hove
c97d39cb35 Use constructor for EclEpsGridProperties 2019-11-21 11:32:49 +01:00
Joakim Hove
d8db34f3f7 Extract EclEpsGridProperties class to separate file 2019-11-21 11:32:49 +01:00
Joakim Hove
343f2faa52 Merge pull request #360 from joakim-hove/deckitem-size-rename
Rename DeckItem::size -> DeckItem::data_size
2019-11-19 20:39:54 +01:00
Joakim Hove
7d0d4c4712 Rename DeckItem::size -> DeckItem::data_size 2019-11-16 16:45:17 +01:00
Atgeirr Flø Rasmussen
d0af89eca1 Merge pull request #348 from atgeirr/silence-warning
Silence unused argument warning for DynamicEvaluation.
2019-07-05 11:15:47 +02:00
Atgeirr Flø Rasmussen
a9e1551e79 Silence unused argument warning for DynamicEvaluation. 2019-07-05 10:09:23 +02:00
Andreas Lauser
45207e1e7a Merge pull request #347 from akva2/add_unused_mpi
added: OPM_UNUSED_NOMPI
2019-06-28 14:38:13 +02:00
Arne Morten Kvarving
8c2cb50569 added: OPM_UNUSED_NOMPI
for suppressing unused variable warnings when a variable
is unused if compiled without MPI
2019-06-28 13:49:13 +02:00
Atgeirr Flø Rasmussen
56491a2e90 Merge pull request #346 from akva2/janitoring
mark unused parameter OPM_UNUSED
2019-06-26 15:11:56 +02:00
Arne Morten Kvarving
615538bac2 mark unused parameter OPM_UNUSED 2019-06-26 13:59:59 +02:00
Atgeirr Flø Rasmussen
f496d62cbf Merge pull request #345 from akva2/janitoring
anonymize unused parameters
2019-06-26 12:53:40 +02:00
Arne Morten Kvarving
51bf76a061 mark unused parameters as OPM_UNUSED 2019-06-26 10:55:33 +02:00
Atgeirr Flø Rasmussen
02f7359570 Merge pull request #343 from akva2/janitoring
quell unhandled value in switch warning
2019-06-19 10:06:48 +02:00
Arne Morten Kvarving
cd6eb3cc38 quell unhandled value in switch warning 2019-06-19 08:48:46 +02:00
Andreas Lauser
961ddcbd37 Merge pull request #342 from atgeirr/enable-onefase
Enable onephase
2019-06-18 17:34:03 +02:00
hnil
f2711be107 Small changes to try to make onephase work 2019-06-18 14:47:59 +02:00
Atgeirr Flø Rasmussen
6cfd9b5740 Merge pull request #340 from andlaus/unify_eval_creation
unify the creation of evalutions
2019-06-14 09:16:29 +02:00
Atgeirr Flø Rasmussen
609c88e4d4 Merge pull request #339 from GitPaean/creating_zero_one_constant
adding createConstantOne and createConstantZero to Evaluations
2019-06-13 14:41:15 +02:00
Andreas Lauser
819ee5bbf2 Evaluation code generator: add a missing OPM_UNUSED
thanks to [at]GitPaean for the catch!
2019-06-12 15:10:17 +02:00
Andreas Lauser
663a5bcc2b Merge pull request #2 from GitPaean/andlaus-unify_eval_creation
fixing the compilation problem related to DenseAD
2019-06-12 15:01:51 +02:00
Kai Bao
292e84ec08 fixing the compilation problem related to DenseAD 2019-06-12 14:53:54 +02:00
Andreas Lauser
3b933ae42a unify the creation of evalutions
to create a constant, there are now always the three functions

Opm::constant<Eval>(value);
Opm::constant<Eval>(numDeriv, value);
Opm::constant<Eval>(x, value); // with 'x' being the 'template' of the returned value

If a given call does not make sense, an exception is thrown:

- Plain floating point objects like `float`, `double` or `quad`
  complain if the specified number of derivatives is not zero.
- Statically sized evaluations throw if the specified number of
  derivatives of passed to the function is not equal to their static
  size.
- Dynamically sized evaluations complain if the number of derivatives
  cannot be determined.

The third variant of `Opm::constant()` works unconditionally. The
`Opm::variable()` helpers are modified analogously.
2019-06-12 11:50:37 +02:00
Kai Bao
0c005595c4 adding createConstantOne and createConstantZero to Evaluations 2019-06-11 09:48:44 +02:00
Andreas Lauser
d5df7ab935 Merge pull request #337 from totto82/log10
Add log10 AD function
2019-06-03 13:45:33 +02:00
Tor Harald Sandve
a62ea4b0f1 Add log10 AD function 2019-06-03 11:22:42 +02:00
Tor Harald Sandve
c1d66b3699 Merge pull request #332 from andlaus/fix_max_oil_sat
black oil PVT: make the maximum oil saturation a evaluation
2019-05-07 10:19:38 +02:00
Andreas Lauser
14351c5794 black oil PVT: make the maximum oil saturation a evaluation
the maximum oil saturation *can* depend on the most current solution,
so it needs to include derivatives. Note that this fix should not
change the converged solution, only the convergence behaviour, i.e.,
if changes in the results are encountered, these are likely only
numerical noise.
2019-05-03 14:30:30 +02:00