Commit ea4c4240 authored by Johannes Spazier's avatar Johannes Spazier
Browse files

Improved estimation of maximal grid extension.

parent 7b472103
......@@ -123,8 +123,8 @@ int ewLoadBathymetry()
int rgL, rgR, rgT, rgB;
/* TODO: How do we know how many steps are necessary? Assume one grid extension each 10 steps for now. */
int numIter = ceil( Par.timeMax / 8.0 );
/* Estimate grid extension. DLon is used since this depends on the resolution. */
int numIter = ceil( 3.0 * Par.timeMax / DLon / 1000.0f );
int off1, off2, len, len1, len2;
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