Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
IFOS2D
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
GPIAG-Software
IFOS2D
Commits
b3092561
Commit
b3092561
authored
Apr 14, 2016
by
niklas.thiel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
further cleanup
parent
44acf6f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/IFOS2D.c
src/IFOS2D.c
+5
-2
src/pup.c
src/pup.c
+1
-0
No files found.
src/IFOS2D.c
View file @
b3092561
...
...
@@ -1990,6 +1990,11 @@ int main(int argc, char **argv){
}
h
++
;
}
// /* for testing */
// sprintf(pf,"%s_pup.su.shot%i",SEIS_FILE,ishot);
// if(myid_ntr==0){
// outseis_glob(FP,fopen(pf,"w"), 0, fulldata_p,recpos,recpos_loc,ntr_glob,srcpos,1,ns,SEIS_FORMAT,ishot,0);
// }
}
}
}
...
...
@@ -2073,8 +2078,6 @@ int main(int argc, char **argv){
if
((
TIME_FILT
==
1
)
||
(
TIME_FILT
==
2
)){
timedomain_filt
(
sectionread
,
F_LOW_PASS
,
ORDER
,
ntr_glob
,
ns
,
1
);
}
sprintf
(
pf
,
"%s_pup_data.su.shot%i"
,
SEIS_FILE
,
ishot
);
outseis_glob
(
FP
,
fopen
(
pf
,
"w"
),
0
,
sectionread
,
recpos
,
recpos_loc
,
ntr_glob
,
srcpos
,
1
,
ns
,
SEIS_FORMAT
,
ishot
,
1
);
h
=
1
;
for
(
i
=
1
;
i
<=
ntr
;
i
++
){
for
(
j
=
1
;
j
<=
ns
;
j
++
){
...
...
src/pup.c
View file @
b3092561
...
...
@@ -194,6 +194,7 @@ void pup(float **data_p, float **data_vy, FILE *fp, int ntr_glob, int **recpos,
for
(
i
=
1
;
i
<=
ns
;
i
++
)
{
data_p
[
k
][
i
]
=
data_pup
[
i
][
k
];
}
data_p
[
k
][
1
]
=
0
;
/*first sample need to be set to 0 to avoid artefacts after integrating from velocity to displacement*/
}
// /* save pup*/
...
...
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