Skip to content

Commit 67f76da

Browse files
committed
Merge branch 'baagaard/add-release-2.0.1' into maint
* baagaard/add-release-2.0.1: Improve error message for fault quadrature check. Increment version number to 2.0.1. Added release notes.
2 parents fb01d2b + 346e2da commit 67f76da

File tree

5 files changed

+108
-14
lines changed

5 files changed

+108
-14
lines changed

README

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
We are pleased to announce release of PyLith version 2.0.0
1+
We are pleased to announce release of PyLith version 2.0.1
22

33
Please submit bug reports via the World Wide Web at:
44
https://github.com/geodynamics/pylith/issues
@@ -9,10 +9,10 @@ Please send all questions by electronic mail to:
99
PyLith is free software. See the file COPYING for copying conditions.
1010

1111
This release allows the solution of both quasi-static and dynamic
12-
problems in one, two, or three dimensions. The code runs in either
13-
serial or parallel mode, and the design allows for relatively easy
14-
scripting using the Python programming language. Material properties
15-
and parameters for boundary and fault conditions are specified using a
12+
problems in two or three dimensions. The code runs in either serial or
13+
parallel mode, and the design allows for relatively easy scripting
14+
using the Python programming language. Material properties and
15+
parameters for boundary and fault conditions are specified using a
1616
spatial database, which permits easy prescription of complex spatial
1717
variations of properties and parameters. Simulation parameters are
1818
generally specified through the use of simple ASCII files or the
@@ -82,6 +82,27 @@ nodeset/pset should be created and contain the vertices on the buried
8282
edges of the fault. See the Section 6.4.2 of the PyLith manual for
8383
more information.
8484

85+
----------------------------------------------------------------------
86+
Version 2.0.1
87+
----------------------------------------------------------------------
88+
89+
* Added example (examples/2d/gravity) for viscoelastic deformation in
90+
2-D with gravitational body forces and small strain formulation.
91+
92+
* Bug fixes
93+
94+
- Improved example journal files for CUBIT/Trelis to improve
95+
compability. All journal files should work with CUBIT 14.1 and
96+
Trelis 15.0.
97+
98+
- Created examples of IDless journal files in examples/2d/greensfns.
99+
These files should work with all recent versions of CUBIT and
100+
Trelis.
101+
102+
- Switched journal APREPRO lines to have leading '$' instead of '#'
103+
to differentiate from comments.
104+
105+
85106
----------------------------------------------------------------------
86107
Version 2.0.0
87108
----------------------------------------------------------------------

configure.ac

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Process this file with autoconf to produce a configure script.
1818

1919
AC_PREREQ(2.59)
20-
AC_INIT([PyLith], [2.0.0], [[email protected]])
20+
AC_INIT([PyLith], [2.0.1], [[email protected]])
2121
AC_CONFIG_AUX_DIR([./aux-config])
2222
AC_CONFIG_HEADER([portinfo])
2323
AC_CONFIG_MACRO_DIR([m4])
@@ -395,8 +395,6 @@ AC_CONFIG_FILES([Makefile
395395
examples/twocells/twotri3/Makefile
396396
examples/meshing/Makefile
397397
examples/meshing/surface_nurbs/Makefile
398-
examples/meshing/surface_nurbs/contours/Makefile
399-
examples/meshing/surface_nurbs/contours/journal/Makefile
400398
examples/meshing/surface_nurbs/dem/Makefile
401399
examples/meshing/surface_nurbs/dem/ulines/Makefile
402400
examples/meshing/surface_nurbs/dem/vlines/Makefile
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
Greetings,
2+
3+
I am pleased to announce the release of PyLith 2.0.1, a finite-element
4+
code designed to solve dynamic elastic problems and quasi-static
5+
viscoelastic problems in tectonic deformation.
6+
7+
This release improves fixes some issues with CUBIT/Trelis
8+
compatibility in example journal files.
9+
10+
You can download the source code and binaries from
11+
12+
http://geodynamics.org/cig/software/packages/short/pylith
13+
14+
Detailed installation instructions for the binary packages are in the
15+
User Manual with detailed building instructions for a few platforms in
16+
the INSTALL file bundled with the PyLith Installer utility.
17+
18+
19+
======================================================================
20+
MIGRATING FROM VERSION 1.9 TO 2.0
21+
======================================================================
22+
23+
Changes to various C++ objects permitted simplifying the specification
24+
of a number of components. The map below indicates the name changes.
25+
26+
CellFilterAvgMesh -> CellFilterAvg
27+
DataWriterVTKMesh -> DataWriterVTK
28+
DataWriterVTKSubMesh -> DataWriterVTK
29+
DataWriterVTKSubSubMesh -> DataWriterVTK
30+
DataWriterHDF5Mesh -> DataWriterHDF5
31+
DataWriterHDF5SubMesh -> DataWriterHDF5
32+
DataWriterHDF5SubSubMesh -> DataWriterHDF5
33+
DataWriterHDF5ExtMesh -> DataWriterHDF5Ext
34+
DataWriterHDF5ExtSubMesh -> DataWriterHDF5Ext
35+
DataWriterHDF5ExtSubSubMesh -> DataWriterHDF5Ext
36+
37+
Running the script:
38+
39+
bash $PYLITH_DIR/doc/developer/update_1.9to2.0.sh
40+
41+
will update all .cfg files in the current directory and all
42+
subdirectories with the new names (you will need to replace
43+
$PYLITH_DIR with the directory containing the PyLith source code).
44+
45+
46+
PyLith allows use of the Chaco and ParMetis/Metis partitioners. The
47+
name of the ParMetis/Metis partitioner was changed from "parmetis" to
48+
"metis".
49+
50+
[pylithapp.mesh_generator]
51+
distributor.partitioner = metis
52+
53+
Buried edges of faults are handled differently in v2.0. A separate
54+
nodeset/pset should be created and contain the vertices on the buried
55+
edges of the fault. See the Section 6.4.2 of the PyLith manual for
56+
more information.
57+
58+
======================================================================
59+
RELEASE NOTES - PyLith v2.0.1
60+
======================================================================
61+
62+
* Added example (examples/2d/gravity) for viscoelastic deformation in
63+
2-D with gravitational body forces and small strain formulation.
64+
65+
* Bug fixes
66+
67+
- Improved example journal files for CUBIT/Trelis to improve
68+
compability. All journal files should work with CUBIT 14.1 and
69+
Trelis 15.0.
70+
71+
- Created examples of IDless journal files in examples/2d/greensfns.
72+
These files should work with all recent versions of CUBIT and
73+
Trelis.
74+
75+
- Switched journal APREPRO lines to have leading '$' instead of '#'
76+
to differentiate from comments.
77+

doc/releasenotes/checklist.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ SOURCE CODE
2828

2929
* Increment version number in configure.ac.
3030

31-
* Increment version number in setup.py.
32-
3331
* Add changes to README.
3432

3533
* Add release notes in doc/releasenotes.

libsrc/pylith/faults/FaultCohesiveLagrange.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,10 +1069,10 @@ pylith::faults::FaultCohesiveLagrange::verifyConfiguration(const topology::Mesh&
10691069
}
10701070
if (numBasis != cellNumEdges) {
10711071
std::ostringstream msg;
1072-
msg << "Number of dofs in reference cell (" << numBasis
1073-
<< ") is not compatible with number of edges (" << cellNumEdges
1074-
<< ") in cohesive cell " << cells[i] << " for fault '" << label()
1075-
<< "'.";
1072+
msg << "Quadrature is incompatible with cell for fault '" << label() << "'.\n"
1073+
<< "Cell " << cells[i] << " has " << cellNumEdges
1074+
<< " edges but quadrature reference cell has "
1075+
<< numBasis << " edges.";
10761076
throw std::runtime_error(msg.str());
10771077
} // if
10781078
err = DMPlexRestoreTransitiveClosure(dmMesh, cells[i], PETSC_TRUE, &closureSize, &closure);PYLITH_CHECK_ERROR(err);

0 commit comments

Comments
 (0)