specfem::source_time_functions

namespace source_time_functions

Namespace for source time functions.

This namespace contains various source time functions (STFs). Each STF class inherits from the base class specfem::source_time_functions::stf and implements specific time-dependent behavior for seismic sources. The STFs defined here can be used to model different types of seismic source time. The available source time functions include:

  • Dirac: Represents an instantaneous impulse.

  • Gaussian: Models a Gaussian-shaped pulse.

  • Ricker: Implements the Ricker wavelet, commonly used in seismology.

  • dGaussian: Represents the derivative of a Gaussian pulse.

  • Heaviside: Models a step function.

  • external : Allows for user-defined source time functions.

See also

specfem::sources::source::set_source_time_function for how to the forcing function is set up from the source class and YAML configuration.