SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured or not).
GNU General Public License v3.0
409 stars 227 forks source link

Storing the receiver-side 3D Greens function (strain and displacement) #1572

Closed Liang-Ding closed 1 year ago

Liang-Ding commented 1 year ago

Two parameters in Par_file are added, the 'SAVE_FORWARD_BY_STEP' and 'STEP_INTERVAL_SAVE_FORWARD'. The following parameters should be set to store the receiver-side 3D Greens function (strain and displacement): SIMULATION_TYPE = 1 SAVE_FORWARD = .true. ATTENUATION = .true. SAVE_FORWARD_BY_STEP = .true. STEP_INTERVAL_SAVE_FORWARD = 50

buildbot-princeton commented 1 year ago

Your changes cannot be merged with a fast-forward merge. This indicates that your repo is out of sync with the central repo. If you are using hub, do: $ git pull If your are not using hub, do: $ git pull upstream devel Then open a new pull-request.

danielpeter commented 1 year ago

hi Liang,

please do a 'git fetch upstream; git rebase --interactive' first to update your local version before submitting a new PR.

also, could you call the parameter s something like

NTSTEP_BETWEEN_OUTPUT_WAVEFIELD_STRAIN

and

OUTPUT_WAVEFIELD_STRAIN_DUMPS

that would be more similar to other parameters like this already in the Parfiles.

Liang-Ding commented 1 year ago

Sure. I will update the name of the parameters. Thanks for the comment.