|
opm-simulators
|
Computes the initial condition based on the EQUIL keyword from ECL. More...
#include <EquilInitializer.hpp>
Public Types | |
| using | ScalarFluidState |
Public Member Functions | |
| template<class EclMaterialLawManager> | |
| EquilInitializer (const Simulator &simulator, EclMaterialLawManager &materialLawManager) | |
| const ScalarFluidState & | initialFluidState (unsigned elemIdx) const |
| Return the initial thermodynamic state which should be used as the initial condition. | |
Protected Attributes | |
| const Simulator & | simulator_ |
| std::vector< ScalarFluidState > | initialFluidStates_ |
Computes the initial condition based on the EQUIL keyword from ECL.
So far, it uses the "initStateEquil()" function from opm-core. Since this method is very much glued into the opm-core data structures, it should be reimplemented in the medium to long term for some significant memory savings and less significant performance improvements.
| using Opm::EquilInitializer< TypeTag >::ScalarFluidState |
|
inline |
Return the initial thermodynamic state which should be used as the initial condition.
This is supposed to correspond to hydrostatic conditions.