mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 17:26:27 -06:00
remove unused variables
quells warnings
This commit is contained in:
parent
76eab9e160
commit
34bcccef9c
@ -606,10 +606,8 @@ namespace Opm
|
||||
|
||||
// change temperature for injecting fluids
|
||||
if (well_type_ == INJECTOR && cq_s[activeCompIdx] > 0.0){
|
||||
auto injectorType = this->well_ecl_.injectorType();
|
||||
|
||||
// only handles single phase injection now
|
||||
assert(injectorType != WellInjector::MULTI);
|
||||
assert(this->well_ecl_.injectorType() != WellInjector::MULTI);
|
||||
fs.setTemperature(this->well_ecl_.temperature());
|
||||
typedef typename std::decay<decltype(fs)>::type::Scalar FsScalar;
|
||||
typename FluidSystem::template ParameterCache<FsScalar> paramCache;
|
||||
@ -2005,7 +2003,6 @@ namespace Opm
|
||||
}
|
||||
|
||||
const unsigned canonicalCompIdx = FluidSystem::solventComponentIndex(phaseIdx);
|
||||
const std::string& compName = FluidSystem::componentName(canonicalCompIdx);
|
||||
const int compIdx = Indices::canonicalToActiveComponentIndex(canonicalCompIdx);
|
||||
|
||||
if (std::isnan(well_flux_residual[compIdx])) {
|
||||
|
@ -60,7 +60,6 @@ public:
|
||||
cartesianToCompressed[ *cell ] = cell - begin;
|
||||
}
|
||||
|
||||
int last_time_step = schedule.getTimeMap().size() - 1;
|
||||
const auto& schedule_wells = schedule.getWells2atEnd();
|
||||
wells_.reserve(schedule_wells.size());
|
||||
|
||||
|
@ -83,8 +83,6 @@ SET_BOOL_PROP(TestEclOutputTypeTag, EnableAsyncEclOutput, false);
|
||||
|
||||
END_PROPERTIES
|
||||
|
||||
static const int day = 24 * 60 * 60;
|
||||
|
||||
template <class TypeTag>
|
||||
std::unique_ptr<typename GET_PROP_TYPE(TypeTag, Simulator)>
|
||||
initSimulator(const char *filename)
|
||||
|
Loading…
Reference in New Issue
Block a user