Merge pull request #5169 from akva2/drop_ebos_template_params

Rename EbosSimulator template parameter to Simulator
This commit is contained in:
Bård Skaflestad 2024-02-08 15:35:52 +01:00 committed by GitHub
commit 6729190af1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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();