mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-29 10:40:59 -06:00
Merge pull request #5169 from akva2/drop_ebos_template_params
Rename EbosSimulator template parameter to Simulator
This commit is contained in:
commit
6729190af1
@ -90,8 +90,8 @@ namespace Opm {
|
||||
* reservoir voidage rate.
|
||||
*
|
||||
*/
|
||||
template <typename ElementContext, class EbosSimulator>
|
||||
void defineState(const EbosSimulator& simulator)
|
||||
template <typename ElementContext, class Simulator>
|
||||
void defineState(const Simulator& simulator)
|
||||
{
|
||||
// create map from cell to region and set all attributes to
|
||||
// zero
|
||||
|
@ -81,13 +81,11 @@ namespace Opm {
|
||||
|
||||
|
||||
/**
|
||||
* Compute pore volume averaged hydrocarbon state pressure, *
|
||||
* Compute pore volume averaged hydrocarbon state pressure
|
||||
*/
|
||||
template <typename ElementContext, class EbosSimulator>
|
||||
void defineState(const EbosSimulator& simulator)
|
||||
template <typename ElementContext, class Simulator>
|
||||
void defineState(const Simulator& simulator)
|
||||
{
|
||||
|
||||
|
||||
int numRegions = 0;
|
||||
const auto& gridView = simulator.gridView();
|
||||
const auto& comm = gridView.comm();
|
||||
|
Loading…
Reference in New Issue
Block a user