Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
id2
geoperil
easyWave
Commits
ea4c4240
Commit
ea4c4240
authored
Aug 24, 2015
by
Johannes Spazier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved estimation of maximal grid extension.
parent
7b472103
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
code/branches/web/ewGrid.cpp
code/branches/web/ewGrid.cpp
+2
-2
No files found.
code/branches/web/ewGrid.cpp
View file @
ea4c4240
...
...
@@ -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
.0
f
);
int
off1
,
off2
,
len
,
len1
,
len2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment