Skip to content

Commit

Permalink
Updated code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-Kakodkar committed Oct 30, 2024
1 parent 65327a8 commit e1225eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/cookbooks/example_01.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Defining sources

Next we define the sources using a YAML file. For full description on parameters used to define sources refer :ref:`source_description`.

.. code:: yaml
.. code-block:: yaml
:linenos:
:caption: single_source.yaml
Expand Down Expand Up @@ -324,7 +324,7 @@ At this point lets focus on a few sections in this file:

- Configure the solver using ``simulation-setup`` section.

.. code:: yaml
.. code-block:: yaml
simulation-setup:
## quadrature setup
Expand All @@ -350,7 +350,7 @@ At this point lets focus on a few sections in this file:

- Define the path to the meshfem generated database file using the ``mesh-database`` parameter and the path to source description file using ``source-file`` parameter. Relevant parameter values:

.. code:: yaml
.. code-block:: yaml
## databases
databases:
Expand All @@ -359,7 +359,7 @@ At this point lets focus on a few sections in this file:
- It is good practice to have distinct header section for you simulation. These sections will be printed to standard output during runtime helping the you to distinguish between runs using standard strings. Relevant paramter values

.. code:: yaml
.. code-block:: yaml
header:
## Header information is used for logging. It is good practice to give your simulations explicit names
Expand Down
4 changes: 2 additions & 2 deletions docs/cookbooks/example_02.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Defining the topography of the domain

We define the topography of the domain using the following topography file

.. code:: bash
.. code-block:: bash
#
# number of interfaces
Expand Down Expand Up @@ -220,7 +220,7 @@ Defining the source

We define the source location and the source time function in the source file.

.. code:: yaml
.. code-block:: yaml
:linenos:
number-of-sources: 1
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/example_03.rst
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Generating adjoint sources

The next step is to generate the adjoint sources. We can generate the adjoint sources using ``./xadj_seismogram`` utility which models Eq. 45 of `Tromp et al. 2005 <https://doi.org/10.1111/j.1365-246X.2004.02453.x>`_. The utility requires synthetic seismograms and does not depend on the observed data.

.. code-block:: bash
.. code:: bash
./xadj_seismogram <window start time> <window end time> <station_name> <synthetics folder> <adjoint sources folder> <adjoint component>
Expand Down

0 comments on commit e1225eb

Please sign in to comment.