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.
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.
specfem::source_time_functions::stfspecfem::source_time_functions::Rickerspecfem::source_time_functions::Gaussianspecfem::source_time_functions::GaussianHdurspecfem::source_time_functions::dGaussianspecfem::source_time_functions::Diracspecfem::source_time_functions::Heavisidespecfem::source_time_functions::external