Commit d62fc736 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added scaling to conf

parent d3ac294d
......@@ -82,12 +82,10 @@ NewtonVerbose = -1
DebugLevel = -1
#Transport
scaling = 1
TimeSeries = uniform
startTime = 0.0
endTime = 2.0
TimeSeries = uniform
T = 2
dt = 0.005
Kmax = 250
Keps = 1e-5
......
......@@ -93,7 +93,8 @@ void MonteCarloTransport::solveTransport(int l,
}
TimeSeries MonteCarloTransport::getTimeSeries(bool fineLevel) {
int scaling = 8;
int scaling = 1;
config.get("scaling", scaling);
if (fineLevel)
return TimeSeries(startTime, endTime,
scaling * (int) (pow(2, l) * (endTime - startTime)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment