mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Schedule::getGroup returns reference, not pointer
This commit is contained in:
@@ -36,11 +36,11 @@ namespace Opm
|
||||
{
|
||||
public:
|
||||
|
||||
void addField(const Group* fieldGroup, size_t timeStep, const PhaseUsage& phaseUsage);
|
||||
void addField(const Group& fieldGroup, size_t timeStep, const PhaseUsage& phaseUsage);
|
||||
|
||||
void addWell(const Well* wellChild, size_t timeStep, const PhaseUsage& phaseUsage);
|
||||
|
||||
void addGroup(const Group* groupChild, std::string parent_name,
|
||||
void addGroup(const Group& groupChild, std::string parent_name,
|
||||
size_t timeStep, const PhaseUsage& phaseUsage);
|
||||
|
||||
/// Adds the child to the collection
|
||||
|
||||
Reference in New Issue
Block a user