This commit is contained in:
Xavier Raynaud
2012-06-13 15:56:09 +02:00
7 changed files with 641 additions and 37 deletions

View File

@@ -346,33 +346,6 @@ typedef Opm::ImplicitTransport<FluxModel,
class PolymerInflow
{
public:
PolymerInflow(const double starttime,
const double endtime,
const double amount)
: stime_(starttime), etime_(endtime), amount_(amount)
{
}
double operator()(double time)
{
if (time >= stime_ && time < etime_) {
return amount_;
} else {
return 0.0;
}
}
private:
double stime_;
double etime_;
double amount_;
};
// ----------------- Main program -----------------
int
main(int argc, char** argv)
@@ -788,7 +761,6 @@ main(int argc, char** argv)
}
const double inflow_c = inflowc0;
// Solve transport.
transport_timer.start();
if (num_transport_substeps != 1) {