mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Removed class PolymerInflow (moved to PolymerUtilities.hpp).
This commit is contained in:
parent
42e862e7ec
commit
bc963a2333
@ -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 -----------------
|
// ----------------- Main program -----------------
|
||||||
int
|
int
|
||||||
main(int argc, char** argv)
|
main(int argc, char** argv)
|
||||||
@ -719,7 +692,6 @@ main(int argc, char** argv)
|
|||||||
}
|
}
|
||||||
const double inflow_c = inflowc0;
|
const double inflow_c = inflowc0;
|
||||||
|
|
||||||
|
|
||||||
// Solve transport.
|
// Solve transport.
|
||||||
transport_timer.start();
|
transport_timer.start();
|
||||||
if (num_transport_substeps != 1) {
|
if (num_transport_substeps != 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user