mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5614 from akva2/janitoring_clang
Quell some clang warnings
This commit is contained in:
@@ -70,9 +70,11 @@ namespace Opm{
|
|||||||
void beginIteration(){};
|
void beginIteration(){};
|
||||||
// add the water rate due to aquifers to the source term.
|
// add the water rate due to aquifers to the source term.
|
||||||
template<class RateVector, class Context>
|
template<class RateVector, class Context>
|
||||||
void addToSource(RateVector& rates, const Context& context, unsigned spaceIdx, unsigned timeIdx) const{};
|
void addToSource(RateVector& /*rates*/, const Context& /*context*/,
|
||||||
|
unsigned /*spaceIdx*/, unsigned /*timeIdx*/) const {}
|
||||||
template<class RateVector>
|
template<class RateVector>
|
||||||
void addToSource(RateVector& rates, unsigned globalSpaceIdx, unsigned timeIdx) const{};
|
void addToSource(RateVector& /*rates*/, unsigned /*globalSpaceIdx*/,
|
||||||
|
unsigned /*timeIdx*/) const {}
|
||||||
void endIteration()const{};
|
void endIteration()const{};
|
||||||
void endTimeStep(){};
|
void endTimeStep(){};
|
||||||
void endEpisode(){};
|
void endEpisode(){};
|
||||||
|
|||||||
@@ -251,6 +251,8 @@ public:
|
|||||||
relpermDiagnostics.diagnosis(vanguard.eclState(), vanguard.cartesianIndexMapper());
|
relpermDiagnostics.diagnosis(vanguard.eclState(), vanguard.cartesianIndexMapper());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~FlowProblem() = default;
|
||||||
|
|
||||||
void prefetch(const Element& elem) const
|
void prefetch(const Element& elem) const
|
||||||
{ pffDofData_.prefetch(elem); }
|
{ pffDofData_.prefetch(elem); }
|
||||||
|
|
||||||
|
|||||||
@@ -1147,7 +1147,7 @@ protected:
|
|||||||
this->eclWriter_->endRestart();
|
this->eclWriter_->endRestart();
|
||||||
}
|
}
|
||||||
|
|
||||||
void readEquilInitialCondition_()
|
void readEquilInitialCondition_() override
|
||||||
{
|
{
|
||||||
const auto& simulator = this->simulator();
|
const auto& simulator = this->simulator();
|
||||||
|
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ public:
|
|||||||
values.assignNaive(fs);
|
values.assignNaive(fs);
|
||||||
}
|
}
|
||||||
|
|
||||||
void addToSourceDense(RateVector&, unsigned, unsigned) const
|
void addToSourceDense(RateVector&, unsigned, unsigned) const override
|
||||||
{
|
{
|
||||||
// we do nothing for now
|
// we do nothing for now
|
||||||
}
|
}
|
||||||
@@ -326,7 +326,7 @@ protected:
|
|||||||
// we do nothing here for now
|
// we do nothing here for now
|
||||||
}
|
}
|
||||||
|
|
||||||
void readEquilInitialCondition_()
|
void readEquilInitialCondition_() override
|
||||||
{
|
{
|
||||||
throw std::logic_error("Equilibration is not supported by compositional modeling yet");
|
throw std::logic_error("Equilibration is not supported by compositional modeling yet");
|
||||||
}
|
}
|
||||||
@@ -336,7 +336,7 @@ protected:
|
|||||||
throw std::logic_error("Restarting is not supported by compositional modeling yet");
|
throw std::logic_error("Restarting is not supported by compositional modeling yet");
|
||||||
}
|
}
|
||||||
|
|
||||||
void readExplicitInitialCondition_()
|
void readExplicitInitialCondition_() override
|
||||||
{
|
{
|
||||||
readExplicitInitialConditionCompositional_();
|
readExplicitInitialConditionCompositional_();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user