mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: this is better kept a compile time error
This commit is contained in:
@@ -27,8 +27,6 @@
|
|||||||
#ifndef EWOMS_ECL_BASE_VANGUARD_HH
|
#ifndef EWOMS_ECL_BASE_VANGUARD_HH
|
||||||
#define EWOMS_ECL_BASE_VANGUARD_HH
|
#define EWOMS_ECL_BASE_VANGUARD_HH
|
||||||
|
|
||||||
#include <opm/common/ErrorMacros.hpp>
|
|
||||||
|
|
||||||
#include <opm/models/io/basevanguard.hh>
|
#include <opm/models/io/basevanguard.hh>
|
||||||
#include <opm/models/utils/propertysystem.hh>
|
#include <opm/models/utils/propertysystem.hh>
|
||||||
#include <opm/models/utils/parametersystem.hh>
|
#include <opm/models/utils/parametersystem.hh>
|
||||||
@@ -41,7 +39,6 @@
|
|||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <stdexcept>
|
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
@@ -451,10 +448,6 @@ protected:
|
|||||||
cellThickness_[elemIdx] = asImp_().computeCellThickness(element);
|
cellThickness_[elemIdx] = asImp_().computeCellThickness(element);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scalar computeCellThickness(const Element&) const {
|
|
||||||
OPM_THROW(std::runtime_error, "cellThickness not implemented for this grid!");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// computed from averaging cell corner depths
|
// computed from averaging cell corner depths
|
||||||
|
|||||||
@@ -48,6 +48,8 @@
|
|||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
#endif // HAVE_MPI
|
#endif // HAVE_MPI
|
||||||
|
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|
||||||
double EclGenericVanguard::externalSetupTime_ = 0.0;
|
double EclGenericVanguard::externalSetupTime_ = 0.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user