Removed class PolymerInflow (moved to PolymerUtilities.hpp).

This commit is contained in:
Atgeirr Flø Rasmussen 2012-06-13 15:45:27 +02:00
parent 42e862e7ec
commit bc963a2333

View File

@ -286,33 +286,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)
@ -719,7 +692,6 @@ main(int argc, char** argv)
}
const double inflow_c = inflowc0;
// Solve transport.
transport_timer.start();
if (num_transport_substeps != 1) {