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

- added USE_OTHER_TIME_FUNCTION in Par_file to implement the Brune and Smooth Brune functions for CMTSOLUTION #1657

Closed homnath closed 9 months ago

homnath commented 9 months ago

In my view, the best way to reconcile source time functions for CMTSOLUTION and FORCESOLUTION is to create a new common parameter for both CMTSOLUTION and FORCESOLUTION similar to: SOURCE_TIME_FUNCTION = gaussian and get rid of USE_RICKER_TIME_FUNCTION from the Par_file and "source time function" from the FORCESOLUTION.

However, to minimise the code changes, I have added a new parameter, USE_OTHER_TIME_FUNCTION, for now. Currently, it is implemented only for the viscoelastic simulations, and the available other functions are Brune and Smooth Brune.

homnath commented 9 months ago

I am fixing a bug :)