Andreas Lauser
e65790224e
replace #if HAVE_CONFIG_H by #ifdef HAVE_CONFIG_H
...
it seems like most build systems pass a -DHAVE_CONFIG_H flag to the
compiler which still causes `#if HAVE_CONFIG_H` to be false while it
clearly is supposed to be triggered.
That said, I do not really see a good reason why the inclusion of the
`config.h` file should be guarded in the first place: the file is
guaranteed to always available by proper build systems, and if it was
not included the build either breaks at the linking stage or -- at the
very least -- the runtime behavior of the resulting libraries will be
very awkward.
2017-10-27 17:48:26 +02:00
Atgeirr Flø Rasmussen
bfcbd09488
Create and use FlowMainPolymer class.
2015-12-18 13:58:13 +01:00
Tor Harald Sandve
e3393c5ee9
Handle combination of threshold_pressure and nnc
...
The nncs threshold pressures are calculated and appended to the face
threshold pressures
2015-12-08 11:03:05 +01:00
Atgeirr Flø Rasmussen
ef07b8daef
Update run() calls in polymer fully implicit sims.
2015-12-07 13:45:07 +01:00
Andreas Lauser
e0a1abba09
adapt to the "mutable geology" changes from opm-autodiff
2015-11-26 12:20:15 +01:00
Liu Ming
356a35600f
use more non-strict ParseMode.
2015-11-18 15:23:12 +08:00
Atgeirr Flø Rasmussen
324cd80cb7
Merge pull request #151 from andlaus/thpress_from_initial
...
adapt to the threshold pressure related API changes
2015-11-17 09:03:12 +01:00
Andreas Lauser
70614e2fd6
adapt to the threshold pressure related API changes
...
to be able to determine the threshold pressure from the initial
condition it needs to be able to access the initial condition, i.e.,
the initial simulator state, material properties object and gravity
constant need to be passed to the thresholdPressure() function.
2015-11-13 16:09:20 +01:00
Atgeirr Flø Rasmussen
7d2b6481a0
Use moduleVersion() in startup message.
2015-10-28 16:26:12 +01:00
Andreas Lauser
651bd91482
use the error macros from opm-common
2015-10-12 15:24:59 +02:00
Bård Skaflestad
13df018745
Follow API update of BlackoilOutputWriter
...
The constructor of class BlackoilOutputWriter gained a new parameter
in commit OPM/opm-autodiff@299b0aa (OPM/opm-autodiff#484 ). Honour
new API requirement.
2015-09-30 11:01:01 +02:00
Atgeirr Flø Rasmussen
72509968b8
Update for changes in SaturationPropsFromDeck.
2015-09-14 15:07:45 +02:00
Atgeirr Flø Rasmussen
608ba47823
Update for removed constructor args.
2015-09-14 10:27:58 +02:00
Andreas Lauser
5eef205551
only initialize the satfuncs once
...
this makes the main files more similar to the primary simulator (i.e., flow.cpp)
2015-09-02 14:56:38 +02:00
Bård Skaflestad
994e342d7b
Restore build of flow_polymer
...
Function Opm::thresholdPressures() gained a new ParseMode parameter
in commit OPM/opm-core@09aa2b7 (PR OPM/opm-core#857 ). Chase updated
call interface.
2015-08-25 09:30:44 +02:00
Joakim Hove
71f3cc9c64
Added ParseMode argument
2015-07-27 13:53:11 +02:00
Kai Bao
f92459807c
adding flags for SHRATE to Model and Simulator.
2015-06-05 15:25:23 +02:00
Kai Bao
cf17dbea38
correct the order of PLYSHLOG and polymer flags.
...
In flow_polymer.cpp
2015-06-01 14:36:41 +02:00
Kai Bao
c6e240daae
Adding the flag for PLYSHLOG keyword.
2015-06-01 10:52:49 +02:00
Andreas Lauser
2b085e0062
fully implicit simulators: various cleanups
...
these are mostly stylistic: the function bodies of most new methods
have been moved to the _impl.hpp file and the Simulator classes are
now templated on the grid type, so it should be not too hard to switch
them to Dune::CpGrid.
2015-05-29 12:59:40 +02:00
Andreas Lauser
d27fb2bc45
properly use the SimulatorBase class for SimulatorFullyImplicitBlackoilPolymer and SimulatorFullyImplicitCompressiblePolymer
2015-05-28 13:56:07 +02:00
Andreas Lauser
0f1a7a16d7
unify the run() methods and the constructors of the 2p-compressible and the flow_polymer with the one from flow
2015-05-28 13:56:07 +02:00
Atgeirr Flø Rasmussen
98fd744c29
Merge pull request #100 from edbru/OPM-186
...
Now also flow_polymer.cpp in project opm-polymer takes the NOSIM keyword...
2015-05-18 12:53:10 +02:00
Kai Bao
807c528bef
Removing a white space.
2015-04-15 16:56:05 +02:00
Kai Bao
fc36bc866a
Accept single deck filename as command line argument.
2015-04-15 16:48:36 +02:00
Kai Bao
8c67dddf90
Adding the startup message for flow-polymer.
...
Three letters wider than flow.
2015-04-15 16:38:56 +02:00
Edvin Brudevoll
d300cb6eb6
Now also flow_polymer.cpp in project opm-polymer takes the NOSIM keyword into account.
2015-04-15 14:17:40 +02:00
Andreas Lauser
239547e794
Revert "pass the deck to the output writer"
...
This reverts commit 71987ae3b038c141a673ae1c1037f63ed695e595.
2015-03-31 12:10:16 +02:00
Andreas Lauser
206d7b56e4
pass the deck to the output writer
2015-03-26 17:33:20 +01:00
Liu Ming
f23f5fac8e
rename sim_poly_fibo_ad to flow_polymer.
2015-03-24 17:06:32 +08:00