Skip to content

Commit

Permalink
Half velocity medium for diffractions #17
Browse files Browse the repository at this point in the history
To simulate a stacked section with diffraction hyperbolas someone
should use half of the medium velocity in the hyperbola equation
following the model of a exploding reflector.
  • Loading branch information
Dirack committed Aug 23, 2020
1 parent ac62ab4 commit 6fee49f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Mdiffsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ int main(int argc, char* argv[])

if(!sf_getfloat("v",&v)) sf_error("No v= hyperbolas velocity!");
/* Hyperbolas velocity (Km/s)*/

/* half medium velocity for diffraction */
v=v/2;

if(verb){
sf_warning("Active mode on!!!");
Expand Down

0 comments on commit 6fee49f

Please # to comment.