mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Removed non-used members in class ResidualEquation.
This commit is contained in:
parent
6ad3e6c050
commit
51e0512989
@ -83,7 +83,6 @@
|
||||
#include <list>
|
||||
|
||||
|
||||
|
||||
static void outputState(const UnstructuredGrid& grid,
|
||||
const Opm::PolymerState& state,
|
||||
const int step,
|
||||
@ -120,7 +119,7 @@ static void outputState(const UnstructuredGrid& grid,
|
||||
std::copy(d.begin(), d.end(), std::ostream_iterator<double>(file, "\n"));
|
||||
}
|
||||
|
||||
#if PROFILING
|
||||
#ifdef PROFILING
|
||||
std::ostringstream fname;
|
||||
fname << output_dir << "/" << "residualcounts" << "-" << std::setw(3) << std::setfill('0') << step << ".dat";
|
||||
std::ofstream file(fname.str().c_str());
|
||||
|
@ -229,7 +229,7 @@ main(int argc, char** argv)
|
||||
state.concentration(),
|
||||
state.maxconcentration());
|
||||
|
||||
#if PROFILING
|
||||
#ifdef PROFILING
|
||||
// Extract residual counts.
|
||||
typedef std::list<Opm::TransportModelPolymer::Newton_Iter> ListRes;
|
||||
const ListRes& res_counts = reorder_model.res_counts;
|
||||
|
@ -45,8 +45,6 @@ public:
|
||||
double porosity;
|
||||
double dtpv; // dt/pv(i)
|
||||
double dps;
|
||||
double res_factor;
|
||||
double c_max_ads;
|
||||
double rhor;
|
||||
double ads0;
|
||||
GradientMethod gradient_method;
|
||||
@ -204,7 +202,7 @@ namespace Opm
|
||||
}
|
||||
visc_ = props.viscosity();
|
||||
|
||||
#if PROFILING
|
||||
#ifdef PROFILING
|
||||
res_counts.clear();
|
||||
#endif
|
||||
|
||||
@ -445,8 +443,6 @@ namespace Opm
|
||||
dps = tm.polyprops_.deadPoreVol();
|
||||
rhor = tm.polyprops_.rockDensity();
|
||||
tm.polyprops_.adsorption(c0, cmax0, ads0);
|
||||
res_factor = tm.polyprops_.resFactor();
|
||||
c_max_ads = tm.polyprops_.cMaxAds();
|
||||
double dflux = -tm.source_[cell];
|
||||
bool src_is_inflow = dflux < 0.0;
|
||||
influx = src_is_inflow ? dflux : 0.0;
|
||||
|
@ -116,7 +116,7 @@ namespace Opm
|
||||
int solveGravityColumn(const std::vector<int>& cells);
|
||||
void scToc(const double* x, double* x_c) const;
|
||||
|
||||
#if PROFILING
|
||||
#ifdef PROFILING
|
||||
class Newton_Iter {
|
||||
public:
|
||||
bool res_s;
|
||||
|
Loading…
Reference in New Issue
Block a user