Skip to content

Commit

Permalink
Merge pull request #743 from baagaard-usgs/docs-fix-typo-code-block
Browse files Browse the repository at this point in the history
Fix typo in code box for how to run pylith after installation + a couple other typo fixes
  • Loading branch information
baagaard-usgs authored Jun 7, 2024
2 parents cdc1f42 + a39f403 commit f28b209
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/_templates/sidebar-cig.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div style="position:absolute; bottom:0;">
<div>
<img src="{{ pathto('_static' + '/images/cig_logo_dots.png', 1) }}" alt="CIG Logo" height="80px" style="padding: 5px;" />
</div>
</div>
2 changes: 1 addition & 1 deletion docs/user/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ To run the example discussed in Section {ref}`sec-examples-box-2d`:

```{code-block} bash
$ cd examples/box-2d
$ pylilth step01_axialdisp.cfg
$ pylith step01_axialdisp.cfg
# A bunch of stuff will be written to stdout. The last few lines should be:
>> .../lib/python3.9/site-packages/pylith/problems/Problem.py:201:finalize
-- timedependent(info)
Expand Down
4 changes: 2 additions & 2 deletions docs/user/run-pylith/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ The `nodelist` property is a comma-separated list of values in square brackets.
Now, invoke the following:

```{code-block} bash
$ pylith example.cfg mynodes.cfg
pylith example.cfg mynodes.cfg
```

This strategy gives you the flexibility to create an assortment of `cfg` files (with one `cfg` file for each list of compute nodes) which can be easily paired with different parameter files.
Expand All @@ -152,7 +152,7 @@ If your list of compute nodes does not change often, you may find it more conven
Then, you can run any simulation with no additional arguments:

```{code-block} console
$ pylilth example.cfg
pylith example.cfg
```

:::{warning}
Expand Down
2 changes: 1 addition & 1 deletion examples/reverse-2d/step06_twofaults_elastic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ refiner = pylith.topology.RefineUniform
# problem
# ----------------------------------------------------------------------
[pylithapp.problem]
# Simulation time of 80 years with 40 year timesteps.
# Simulation time of 40 years with 20 year timesteps.
# The first time step will advance the solution to t=0.
initial_dt = 20.0*year
start_time = -20.0*year
Expand Down
1 change: 1 addition & 0 deletions release-notes/checklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SOURCE CODE
* Reserve DOI on Zenodo and update version and DOI in code.
* Update citation information (year) in preface.tex.
* Add changes to CHANGES.
* List contributors https://github.com/geodynamics/pylith/graphs/contributors?from=2024-01-01&to=2024-06-05&type=c
* Add release notes in release-notes.

DISTRIBUTIONS
Expand Down

0 comments on commit f28b209

Please sign in to comment.