added: virtual method globalFieldProps to EclipseState
this will always return the global field props, even in parallel. necessary since certain operations related to IO need to full global view on the root process, even when running in parallel also virtualize the EclipseGrid accessor to add assert in parallel to ensure only root-process access
This commit is contained in:
@@ -76,7 +76,7 @@ namespace Opm {
|
||||
|
||||
const InitConfig& getInitConfig() const;
|
||||
const SimulationConfig& getSimulationConfig() const;
|
||||
const EclipseGrid& getInputGrid() const;
|
||||
virtual const EclipseGrid& getInputGrid() const;
|
||||
|
||||
const FaultCollection& getFaults() const;
|
||||
const TransMult& getTransMult() const;
|
||||
@@ -91,7 +91,10 @@ namespace Opm {
|
||||
const EDITNNC& getInputEDITNNC() const;
|
||||
bool hasInputEDITNNC() const;
|
||||
|
||||
// The potentially parallelized field properties
|
||||
virtual const FieldPropsManager& fieldProps() const;
|
||||
// Always the non-parallel field properties
|
||||
virtual const FieldPropsManager& globalFieldProps() const;
|
||||
const TableManager& getTableManager() const;
|
||||
const EclipseConfig& getEclipseConfig() const;
|
||||
const EclipseConfig& cfg() const;
|
||||
|
||||
Reference in New Issue
Block a user