mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-28 16:14:25 -06:00
Merge pull request #4506 from atgeirr/silence-warnings
Silence warnings: struct/class, missing override.
This commit is contained in:
commit
f0e2014026
@ -66,16 +66,16 @@ public:
|
||||
aquifer_data_ = aquifer;
|
||||
}
|
||||
|
||||
void initFromRestart(const data::Aquifers& /* aquiferSoln */) {
|
||||
void initFromRestart(const data::Aquifers& /* aquiferSoln */) override {
|
||||
}
|
||||
|
||||
void initialSolutionApplied() {
|
||||
void initialSolutionApplied() override {
|
||||
}
|
||||
|
||||
void beginTimeStep() {
|
||||
void beginTimeStep() override {
|
||||
}
|
||||
|
||||
void endTimeStep() {
|
||||
void endTimeStep() override {
|
||||
this->flux_rate_ = 0.;
|
||||
for (const auto& q : this->connection_flux_) {
|
||||
this->flux_rate_ += Opm::getValue(q);
|
||||
@ -84,7 +84,7 @@ public:
|
||||
this->cumulative_flux_ += this->flux_rate_ * this->ebos_simulator_.timeStepSize();
|
||||
}
|
||||
|
||||
data::AquiferData aquiferData() const
|
||||
data::AquiferData aquiferData() const override
|
||||
{
|
||||
data::AquiferData data;
|
||||
data.aquiferID = this->aquifer_data_.id;
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class SimulatorReport;
|
||||
struct SimulatorReport;
|
||||
|
||||
// Print an ASCII-art header to the PRT and DEBUG files.
|
||||
void printPRTHeader(const std::string& parameters,
|
||||
|
@ -254,7 +254,7 @@ struct MinTimeStepBasedOnNewtonIterations<TypeTag, TTag::FlowTimeSteppingParamet
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class StepReport;
|
||||
struct StepReport;
|
||||
|
||||
namespace detail {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user