Skip to content

Commit 9957404

Browse files
Merge pull request #768 from baagaard-usgs/prepare-release-4.1.3
Prepare release 4.1.3
2 parents 318e93e + 4a03aa0 commit 9957404

File tree

12 files changed

+103
-25
lines changed

12 files changed

+103
-25
lines changed

CHANGES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Starting with v3.0.0, we strictly follow the [semantic versioning guidelines](ht
55
The version numbers are in the form `MAJOR.MINOR.PATCH`, where major releases indicate changes to the public API (parameters), minor releases indicate new functionality that is backward compatible, and patch releases indicate backward compatible bug fixes.
66
:::
77

8-
## Version 4.1.3 (2024/07/XX)
8+
## Version 4.1.3 (2024/07/31)
99

1010
* **Added**
1111
* Expanded the section of the manual discussing mesh generation with Cubit and Gmsh. Added a list of useful functions in the Cubit and Gmsh Python interfaces.
@@ -23,6 +23,14 @@ The version numbers are in the form `MAJOR.MINOR.PATCH`, where major releases in
2323
* **Fixed**
2424
* Fix inconsistency in normal direction on fault surfaces. Orientation was correct but direction was flipped at some locations. This affected local slip direction and the resulting deformation close to the fault.
2525

26+
### Contributors
27+
28+
* Brad Aagaard ![ORCID iD](/_static/images/ORCIDiD_icon32x32.png){w=16px}[0000-0002-8795-9833](https://orcid.org/0000-0002-8795-9833)
29+
* Matthew Knepley ![ORCID iD](/_static/images/ORCIDiD_icon32x32.png){w=16px}[0000-0002-2292-0735](https://orcid.org/0000-0002-2292-0735)
30+
* Charles Williams ![ORCID iD](/_static/images/ORCIDiD_icon32x32.png){w=16px}[0000-0001-7435-9196](https://orcid.org/0000-0001-7435-9196)
31+
* Grant Block ![ORCID iD](/_static/images/ORCIDiD_icon32x32.png){w=16px}[0009-0003-3402-0923](https://orcid.org/0009-0003-3402-0923)
32+
33+
2634
## Version 4.1.1 (2024/06/09)
2735

2836
* **Fixed**

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ authors:
2222
orcid: "https://orcid.org/0000-0001-7435-9196"
2323
identifiers:
2424
- type: doi
25-
value: 10.5281/zenodo.11624232
25+
value: 10.5281/zenodo.13134616
2626
repository-code: "https://github.com/geodynamics/pylith"
2727
url: "https://geodynamics.org/resources/pylith"
2828
keywords:
@@ -31,7 +31,7 @@ keywords:
3131
- earthquake
3232
- finite element
3333
license: MIT
34-
version: 4.1.2
34+
version: 4.1.3
3535
date-released: "2024-06-05"
3636
preferred-citation:
3737
type: article

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PyLith
22

3-
[![DOI](https://www.zenodo.org/badge/DOI/10.5281/zenodo.11624232.svg)](https://doi.org/10.5281/zenodo.11624232)
3+
[![DOI](https://www.zenodo.org/badge/DOI/10.5281/zenodo.13134616.svg)](https://doi.org/10.5281/zenodo.13134616)
44
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/geodynamics/pylith/blob/main/LICENSE.md)
55
[![Build Status](https://dev.azure.com/baagaard-usgs/pylith/_apis/build/status/geodynamics.pylith?branchName=main)](https://dev.azure.com/baagaard-usgs/pylith/_build/latest?definitionId=2&branchName=main)
66
[![codecov](https://codecov.io/gh/geodynamics/pylith/branch/master/graph/badge.svg?token=JiwLVB64EF)](https://codecov.io/gh/geodynamics/pylith)

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dnl ============================================================================
1010
dnl Process this file with autoconf to produce a configure script.
1111

1212
AC_PREREQ(2.59)
13-
AC_INIT([PyLith], [4.1.2], [https://geodynamics.org/resources/pylith])
13+
AC_INIT([PyLith], [4.1.3], [https://geodynamics.org/resources/pylith])
1414
AC_CONFIG_AUX_DIR([./aux-config])
1515
AC_CONFIG_HEADER([portinfo])
1616
AC_CONFIG_MACRO_DIR([m4])
@@ -102,7 +102,7 @@ AC_CHECK_HEADER([mpi.h], [], [AC_MSG_ERROR([header 'mpi.h' not found])])
102102

103103
dnl PETSC
104104
AC_LANG(C)
105-
CIT_PATH_PETSC([3.21.2])
105+
CIT_PATH_PETSC([3.21.3])
106106
CIT_HEADER_PETSC
107107
CIT_CHECK_LIB_PETSC
108108

@@ -173,7 +173,7 @@ CIT_FUNCTIONSTRING
173173
dnl VERSION
174174
CIG_PKG_GIT(PYLITH)
175175
AC_DEFINE_UNQUOTED([PYLITH_VERSION], ["$PACKAGE_VERSION"], [Define PyLith version])
176-
AC_DEFINE_UNQUOTED([PYLITH_DOI], ["10.5281/zenodo.11624232"], [Define PyLith doi])
176+
AC_DEFINE_UNQUOTED([PYLITH_DOI], ["10.5281/zenodo.13134616"], [Define PyLith doi])
177177

178178
dnl ENDIANNESS
179179
AC_C_BIGENDIAN

docs/Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ dist_noinst_DATA = \
100100
user/components/materials/AuxSubfieldsIsotropicPowerLaw.md \
101101
user/components/materials/AuxSubfieldsPoroelasticity.md \
102102
user/components/materials/DerivedSubfieldsElasticity.md \
103+
user/components/materials/DerivedSubfieldsPoroelasticity.md \
103104
user/components/materials/Elasticity.md \
104105
user/components/materials/Homogeneous.md \
105106
user/components/materials/IncompressibleElasticity.md \
@@ -150,6 +151,8 @@ dist_noinst_DATA = \
150151
user/components/problems/SolnDispPresLagrange.md \
151152
user/components/problems/SolnDispPresTracStrain.md \
152153
user/components/problems/SolnDispPresTracStrainVelPdotTdot.md \
154+
user/components/problems/SolnDispPresTracStrainLagrange.md \
155+
user/components/problems/SolnDispPresTracStrainVelPdotTdotLagrange.md \
153156
user/components/problems/SolnDispPresVel.md \
154157
user/components/problems/SolnDispVel.md \
155158
user/components/problems/SolnDispVelLagrange.md \
@@ -323,6 +326,7 @@ dist_noinst_DATA = \
323326
user/examples/magma-2d/figs/geometry-cubit.pdf \
324327
user/examples/magma-2d/figs/geometry-gmsh.svg \
325328
user/examples/magma-2d/figs/geometry-gmsh.pdf \
329+
user/examples/magma-2d/figs/gmsh-tri.png \
326330
user/examples/magma-2d/figs/cubit-quad.png \
327331
user/examples/magma-2d/figs/cubit-tri.png \
328332
user/examples/magma-2d/figs/step01-diagram.pdf \

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Brad T. Aagaard, Matthew G. Knepley, Charles A. Williams'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '4.1.2'
25+
release = '4.1.3'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/intro/preface.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ The following peer-reviewed paper discusses the development of PyLith:
1717

1818
To cite the software and manual, use:
1919

20-
- Aagaard, B., M. Knepley, C. Williams (2024a), *PyLith v4.1.2.* Davis, CA: Computational Infrastructure of Geodynamics. DOI: 10.5281/zenodo.11624232.
20+
- Aagaard, B., M. Knepley, C. Williams (2024a), *PyLith v4.1.3.* Davis, CA: Computational Infrastructure of Geodynamics. DOI: 10.5281/zenodo.13134616.
2121

22-
- Aagaard, B., M. Knepley, C. Williams (2024b), *PyLith Manual, Version 4.1.2.* Davis, CA: Computational Infrastructure of Geodynamics. https://pylith.readthedocs.io/en/v4.1.2
22+
- Aagaard, B., M. Knepley, C. Williams (2024b), *PyLith Manual, Version 4.1.3.* Davis, CA: Computational Infrastructure of Geodynamics. https://pylith.readthedocs.io/en/v4.1.3
2323

2424
## Publishing Models
2525

@@ -43,7 +43,7 @@ Common output files include the solution fields and state variables as `.h5`, `.
4343

4444
The configuration files, parameters of the simulation, and solution field for the models in this study are available at DOI (Authors X, Y, Z) under CC BY-NC-SA 4.0.
4545

46-
PyLith version 4.1.2 (Aagaard et al., 2013; Aagaard et al., 2023a; Aagaard et al., 2023b) used in these models is freely available under the MIT license for download through its software landing page https://geodynamics.org/resources/pylith or Zenodo (10.5281/zenodo.11479383).
46+
PyLith version 4.1.3 (Aagaard et al., 2013; Aagaard et al., 2023a; Aagaard et al., 2023b) used in these models is freely available under the MIT license for download through its software landing page https://geodynamics.org/resources/pylith or Zenodo (10.5281/zenodo.11479383).
4747
The project is being actively developed on GitHub and can be accessed via https://github.com/geodynamics/pylith.
4848

4949
## Support

docs/user/install/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ On macOS systems you can check the operating system version by clicking on the A
4848
3. Unpack the tarball.
4949
```{code-block} bash
5050
# Linux 64-bit
51-
tar -xzf pylith-4.1.2-linux-x86_64.tar.gz
51+
tar -xzf pylith-4.1.3-linux-x86_64.tar.gz
5252
5353
# macOS
54-
tar -xzf pylith-4.1.2-macOS-10.15-x86_64.tar.gz
54+
tar -xzf pylith-4.1.3-macOS-10.15-x86_64.tar.gz
5555
```
5656
4. Set environment variables.
5757
The provided `setup.sh` script only works if you are using bash shell.
@@ -65,20 +65,20 @@ Ready to run PyLith.
6565
To bypass macOS quarantine restrictions, simply use command line program `curl` to download the tarball from within a terminal rather than using a web browser.
6666

6767
```{code-block} console
68-
curl -L -O https://github.com/geodynamics/pylith/releases/download/v4.1.2/pylith-4.1.2-macOS-10.15-x86_64.tar.gz
68+
curl -L -O https://github.com/geodynamics/pylith/releases/download/v4.1.3/pylith-4.1.3-macOS-10.15-x86_64.tar.gz
6969
```
7070

7171
Alternatively, if you do download the tarball using a web browser, after you unpack the tarball you can remove the macOS quarantine flags using the following commands (requires Administrator access):
7272

7373
```{code-block} bash
7474
# Show extended attributes
75-
xattr ./pylith-4.1.2-macOS-10.15-x86_64
75+
xattr ./pylith-4.1.3-macOS-10.15-x86_64
7676
7777
# Output should be
7878
com.apple.quarantine
7979
8080
# Remove quarantine attributes
81-
sudo xattr -r -d com.apple.quarantine ./pylith-4.1.2-macOS-10.15-x86_64
81+
sudo xattr -r -d com.apple.quarantine ./pylith-4.1.3-macOS-10.15-x86_64
8282
```
8383
:::
8484

@@ -176,7 +176,7 @@ For each package this utility downloads the source code, configures it, builds i
176176
## Verifying PyLith Installation
177177

178178
The easiest way to verify that PyLith has been installed correctly is to run one or more of the examples supplied with the binary and source code.
179-
In the binary distribution, the examples are located in `src/pylith-4.1.2/examples` while in the source distribution, they are located in `pylith-4.1.2/examples`.
179+
In the binary distribution, the examples are located in `src/pylith-4.1.3/examples` while in the source distribution, they are located in `pylith-4.1.3/examples`.
180180
{ref}`sec-examples` discusses how to run and visualize the results for the examples.
181181
To run the example discussed in Section {ref}`sec-examples-box-2d`:
182182

pylith/__init__.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env nemesis
21
# =================================================================================================
32
# This code is part of PyLith, developed through the Computational Infrastructure
43
# for Geodynamics (https://github.com/geodynamics/pylith).
@@ -8,11 +7,8 @@
87
#
98
# See https://mit-license.org/ and LICENSE.md and for license information.
109
# =================================================================================================
11-
# @file pylith/__init__.py
1210

13-
# @brief Python top-level PyLith module initialization
14-
15-
__version__ = "2.2.1"
11+
__version__ = "4.1.3"
1612

1713
__all__ = ['apps',
1814
'bc',
@@ -22,9 +18,10 @@
2218
'meshio',
2319
'mpi',
2420
'problems',
21+
'testing',
2522
'topology',
2623
'utils',
27-
'tests',
24+
'viz',
2825
]
2926

3027

release-notes/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ EXTRA_DIST = \
4545
announce_v4.0.0.md \
4646
announce_v4.1.0.md \
4747
announce_v4.1.1.md \
48-
announce_v4.1.2.md
48+
announce_v4.1.2.md \
49+
announce_v4.1.3.md
4950

5051

5152
# End of file

0 commit comments

Comments
 (0)