Skip to content

Commit

Permalink
add missing overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 committed Sep 17, 2024
1 parent ea8ee36 commit 048ae50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion opm/simulators/flow/FlowProblemBlackoil.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ class FlowProblemBlackoil : public FlowProblem<TypeTag>
this->eclWriter_->endRestart();
}

void readEquilInitialCondition_()
void readEquilInitialCondition_() override
{
const auto& simulator = this->simulator();

Expand Down
6 changes: 3 additions & 3 deletions opm/simulators/flow/FlowProblemComp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class FlowProblemComp : public FlowProblem<TypeTag>
values.assignNaive(fs);
}

void addToSourceDense(RateVector&, unsigned, unsigned) const
void addToSourceDense(RateVector&, unsigned, unsigned) const override
{
// we do nothing for now
}
Expand All @@ -326,7 +326,7 @@ class FlowProblemComp : public FlowProblem<TypeTag>
// we do nothing here for now
}

void readEquilInitialCondition_()
void readEquilInitialCondition_() override
{
throw std::logic_error("Equilibration is not supported by compositional modeling yet");
}
Expand All @@ -336,7 +336,7 @@ class FlowProblemComp : public FlowProblem<TypeTag>
throw std::logic_error("Restarting is not supported by compositional modeling yet");
}

void readExplicitInitialCondition_()
void readExplicitInitialCondition_() override
{
readExplicitInitialConditionCompositional_();
}
Expand Down

0 comments on commit 048ae50

Please sign in to comment.