Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSource
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Willem Thorbecke
OpenSource
Commits
f0d9d017
Commit
f0d9d017
authored
7 years ago
by
Jan Thorbecke
Browse files
Options
Downloads
Patches
Plain Diff
cleaning up
parent
3235b990
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
fdelmodc/decomposition.c
+0
-1
0 additions, 1 deletion
fdelmodc/decomposition.c
fdelmodc/getParameters.c
+2
-2
2 additions, 2 deletions
fdelmodc/getParameters.c
utils/freqwave.c
+398
-400
398 additions, 400 deletions
utils/freqwave.c
with
400 additions
and
403 deletions
fdelmodc/decomposition.c
+
0
−
1
View file @
f0d9d017
...
...
@@ -5,7 +5,6 @@
* GEOPHYSICS, VOL. 63, NO. 4 (JULY-AUGUST 1998); P. 1795–1798
*
* Created by Jan Thorbecke on 17/03/2014.
* Copyright 2014 TU Delft. All rights reserved.
*
*/
...
...
This diff is collapsed.
Click to expand it.
fdelmodc/getParameters.c
+
2
−
2
View file @
f0d9d017
...
...
@@ -1064,7 +1064,7 @@ int getParameters(modPar *mod, recPar *rec, snaPar *sna, wavPar *wav, srcPar *sr
rec
->
skipdt
=
NINT
(
dtrcv
/
dt
);
dtrcv
=
mod
->
dt
*
rec
->
skipdt
;
if
(
!
getparfloat
(
"rec_delay"
,
&
rdelay
))
rdelay
=
0
.
0
;
if
(
!
getparint
(
"rec_ntsam"
,
&
rec
->
nt
))
rec
->
nt
=
NINT
((
mod
->
tmod
)
/
dtrcv
)
+
1
;
if
(
!
getparint
(
"rec_ntsam"
,
&
rec
->
nt
))
rec
->
nt
=
NINT
((
mod
->
tmod
-
rdelay
)
/
dtrcv
)
+
1
;
if
(
!
getparint
(
"rec_int_p"
,
&
rec
->
int_p
))
rec
->
int_p
=
0
;
if
(
!
getparint
(
"rec_int_vx"
,
&
rec
->
int_vx
))
rec
->
int_vx
=
0
;
if
(
!
getparint
(
"rec_int_vz"
,
&
rec
->
int_vz
))
rec
->
int_vz
=
0
;
...
...
@@ -1072,7 +1072,7 @@ int getParameters(modPar *mod, recPar *rec, snaPar *sna, wavPar *wav, srcPar *sr
if
(
!
getparint
(
"scale"
,
&
rec
->
scale
))
rec
->
scale
=
0
;
if
(
!
getparfloat
(
"dxspread"
,
&
dxspread
))
dxspread
=
0
;
if
(
!
getparfloat
(
"dzspread"
,
&
dzspread
))
dzspread
=
0
;
rec
->
nt
=
MIN
(
rec
->
nt
,
NINT
((
mod
->
tmod
)
/
dtrcv
)
+
1
);
rec
->
nt
=
MIN
(
rec
->
nt
,
NINT
((
mod
->
tmod
-
rdelay
)
/
dtrcv
)
+
1
);
/* allocation of receiver arrays is done in recvPar */
/*
...
...
This diff is collapsed.
Click to expand it.
utils/freqwave.c
+
398
−
400
View file @
f0d9d017
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment