|
|
|
| Guide to programming using RSF | |
|
Next: C program
Up: Sava: RSF DEMO
Previous: Sava: RSF DEMO
This section presents time-domain
finite-difference modeling written with the RSF library.
The program is demonstrated with the C, C++ and Fortran 90 interfaces.
The acoustic wave-equation
|
(1) |
can be written as
|
(2) |
is the Laplacian symbol,
is the source wavelet,
is the velocity, and
is a scalar wavefield.
A discrete time-step involves the following computations:
|
(3) |
where , and
represent the propagating wavefield at various time steps.
2012-07-19