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
c8570c07
Commit
c8570c07
authored
5 years ago
by
JanThorbecke
Browse files
Options
Downloads
Patches
Plain Diff
bug fixes
parent
7792ae79
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fdelmodc/FiguresPaper/FigureCCsources.scr
+3
-1
3 additions, 1 deletion
fdelmodc/FiguresPaper/FigureCCsources.scr
marchenko/marchenko.c
+5
-3
5 additions, 3 deletions
marchenko/marchenko.c
with
8 additions
and
4 deletions
fdelmodc/FiguresPaper/FigureCCsources.scr
+
3
−
1
View file @
c8570c07
...
...
@@ -36,6 +36,8 @@ echo $file_shot
zsrc1
=
500
zsrc2
=
4090
set
-x
pwd
../fdelmodc
\
file_cp
=
simple_cp.su
ischeme
=
1
\
file_den
=
simple_ro.su
\
...
...
@@ -64,6 +66,6 @@ zsrc2=4090
ntaper
=
45
\
left
=
4
right
=
4
top
=
1
bottom
=
4
mv
src_nwa
w
.su source_volume_S
${
nsrc
}
_Dt
${
tsrc2
}
_F
${
fmax
}
.su
cp
src_nwa
v
.su source_volume_S
${
nsrc
}
_Dt
${
tsrc2
}
_F
${
fmax
}
.su
This diff is collapsed.
Click to expand it.
marchenko/marchenko.c
+
5
−
3
View file @
c8570c07
...
...
@@ -125,7 +125,7 @@ int main (int argc, char **argv)
int
hw
,
smooth
,
above
,
shift
,
*
ixpos
,
npos
,
ix
,
plane_wave
;
int
nshots_r
,
*
isxcount
,
*
reci_xsrc
,
*
reci_xrcv
;
float
fmin
,
fmax
,
*
tapersh
,
*
tapersy
,
fxf
,
dxf
,
*
xsrc
,
*
xrcv
,
*
zsyn
,
*
zsrc
,
*
xrcvsyn
;
double
t0
,
t1
,
t2
,
t3
,
tsyn
,
tread
,
tfft
,
tcopy
,
energyNi
,
energyN0
;
double
t0
,
t1
,
t2
,
t3
,
tsyn
,
tread
,
tfft
,
tcopy
,
energyNi
,
*
energyN0
;
float
d1
,
d2
,
f1
,
f2
,
fxsb
,
fxse
,
ft
,
fx
,
*
xsyn
,
dxsrc
;
float
*
green
,
*
f2p
,
*
pmin
,
*
G_d
,
dt
,
dx
,
dxs
,
scl
,
mem
;
float
*
f1plus
,
*
f1min
,
*
iRN
,
*
Ni
,
*
Nig
,
*
trace
,
*
Gmin
,
*
Gplus
;
...
...
@@ -224,6 +224,7 @@ int main (int argc, char **argv)
G_d
=
(
float
*
)
calloc
(
Nfoc
*
nxs
*
ntfft
,
sizeof
(
float
));
muteW
=
(
int
*
)
calloc
(
Nfoc
*
nxs
,
sizeof
(
int
));
tsynW
=
(
int
*
)
malloc
(
Nfoc
*
nxs
*
sizeof
(
int
));
// time-shift for Giovanni's plane-wave on non-zero times
energyN0
=
(
float
*
)
malloc
(
Nfoc
*
sizeof
(
float
));
trace
=
(
float
*
)
malloc
(
ntfft
*
sizeof
(
float
));
xrcvsyn
=
(
float
*
)
calloc
(
Nfoc
*
nxs
,
sizeof
(
float
));
// x-rcv postions of focal points
xsyn
=
(
float
*
)
malloc
(
Nfoc
*
sizeof
(
float
));
// x-src position of focal points
...
...
@@ -488,9 +489,9 @@ int main (int argc, char **argv)
}
}
}
if
(
iter
==
0
)
energyN0
=
energyNi
;
if
(
iter
==
0
)
energyN0
[
Nfoc
]
=
energyNi
;
if
(
verbose
>=
2
)
vmess
(
" - iSyn %d: Ni at iteration %d has energy %e; relative to N0 %e"
,
l
,
iter
,
sqrt
(
energyNi
),
sqrt
(
energyNi
/
energyN0
));
sqrt
(
energyNi
/
energyN0
[
Nfoc
]
));
}
/* apply mute window based on times of direct arrival (in muteW) */
...
...
@@ -626,6 +627,7 @@ sqrt(energyNi/energyN0));
free
(
muteW
);
free
(
tsynW
);
free
(
energyN0
);
t2
=
wallclock_time
();
if
(
verbose
)
{
...
...
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