Skip to content

Commit

Permalink
Merge pull request #1652 from homnath/devel
Browse files Browse the repository at this point in the history
- fixed typos on comments related to Brune & smooth Brune functions
  • Loading branch information
danielpeter authored Nov 18, 2023
2 parents 3a041e2 + 50340a3 commit af9762d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/USER_MANUAL/05_running_the_solver.tex
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ \chapter{Running the Solver \texttt{xspecfem3D}}\label{cha:Running-the-Solver}
\item \texttt{latorUTM:} Set the latitude or UTM $x$ coordinate.
\item \texttt{longorUTM:} Set the longitude or UTM $y$ coordinate.
\item \texttt{depth:} Set the depth of the source (in km).
\item \texttt{source time function:} Set the type of source-time function: 0 = Gaussian function, 1 = Ricker function, 2 = Heaviside (step) function, 3 = monochromatic function, 4 = Gaussian function as defined in \citet{Meschede2011}, 5 = Brune function, and 6 = Smoothed Brune function. Please note that we have implemented time derivatives of the Brune and smoothed Brune functions as the moment rate functions. For these source time functions, \texttt{hdurorf0} is the source duration or the rise time. The Brune and Smoothed Brune functions are currently implemented only for the viscoelastic simulations.
\item \texttt{source time function:} Set the type of source-time function: 0 = Gaussian function, 1 = Ricker function, 2 = Heaviside (step) function, 3 = monochromatic function, 4 = Gaussian function as defined in \citet{Meschede2011}, 5 = Brune function, and 6 = Smoothed Brune function. Please note that we have implemented time derivatives of the Brune and smoothed Brune functions as the moment rate functions. For these source time functions, \texttt{hdurorf0} is the source duration or the rise time. The Brune and smoothed Brune functions are currently implemented only for the viscoelastic simulations.
When {\texttt{USE\_RICKER\_TIME\_FUNCTION}} is turned on in the main parameter file \texttt{DATA/Par\_file},
it will override this source time function type selection and always use a Ricker wavelet.
Note that we use the standard definition of a Ricker, for a dominant frequency $f_0$:
Expand Down
2 changes: 1 addition & 1 deletion src/specfem3D/setup_sources_receivers.f90
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ subroutine setup_stf_constants()
! This needs to be CHECKED!!!
t0 = min(t0,1.5d0 * (tshift_src(isource) - hdur(isource)))
case (6)
! Smotthed Brune
! Smoothed Brune
! This needs to be CHECKED!!!
t0 = min(t0,1.5d0 * (tshift_src(isource) - hdur(isource)))
case default
Expand Down

0 comments on commit af9762d

Please sign in to comment.