Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.

Commit 7a1c169

Browse files
authored
Merge pull request #195 from underworldcode/2.10-pre_release
2.10 pre release
2 parents 012a393 + 467991e commit 7a1c169

File tree

170 files changed

+4682
-12104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+4682
-12104
lines changed

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
examples/* linguist-vendored
2-
benchmarks/* linguist-vendored
3-
tutorials/* linguist-vendored
41
docs/* linguist-vendored

.github/workflows/test.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@ name: tests
33
on: [push]
44

55
jobs:
6-
test:
6+
test_in_UW_Container:
77
runs-on: ubuntu-latest
8+
container:
9+
image: underworldcode/underworld2:2.10.0b
10+
options: --user root
811
steps:
9-
- uses: actions/checkout@v2
10-
- name: Build the stack
11-
run: docker-compose up -d
12-
- name: Test
13-
run: docker exec -i UWGeodynamics-dev /bin/bash
14-
- name: Install UWGeodynamics
15-
run: cd workspace & pip install -e .
16-
- name: Run tests
17-
run: pip install pytest & pytest -v
12+
- name: Test in UW Container
13+
run: |
14+
cd /home/jovyan/workspace
15+
git clone -b ${GITHUB_REF##*/} https://github.com/underworldcode/UWGeodynamics.git UWGeodynamics
16+
cd UWGeodynamics
17+
# git checkout development
18+
pip install -e .
19+
pip install pytest
20+
python -m pytest -vvv

.readthedocs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: docs/readthedocs/source/conf.py
11+
12+
# Optionally build your docs in additional formats such as PDF
13+
formats:
14+
- pdf
15+
16+
# Optionally set the version of Python and requirements required to build your docs
17+
python:
18+
version: 3.7
19+
install:
20+
- requirements: docs/readthedocs/requirements.txt

.zenodo.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"creators": [
3+
{
4+
"name": "Romain Beucher",
5+
"affiliation": "School of Earth Science, The University of Melbourne",
6+
"orcid": "0000-0003-3891-5444"
7+
},
8+
{
9+
"name": "Louis Moresi",
10+
"affiliation": "Research School of Earth Sciences, The Australian National University; School of Earth Science, The University of Melbourne",
11+
"orcid": "0000-0003-3685-174X"
12+
},
13+
{
14+
"name": "Julian Giordani",
15+
"affiliation": "School of Earth Science, The University of Melbourne",
16+
"orcid": "0000-0003-4515-9296"
17+
},
18+
{
19+
"name": "John Mansour",
20+
"affiliation": "Monash eResearch Centre, Monash University",
21+
"orcid": "0000-0001-5865-1664"
22+
},
23+
{
24+
"name": "Dan Sandiford",
25+
"affiliation": "University of Tasmania",
26+
"orcid": "0000-0002-2207-6837"
27+
},
28+
{
29+
"name": "Rebecca Farrington",
30+
"affiliation": "School of Earth Science, The University of Melbourne",
31+
"orcid": "0000-0002-2594-6965"
32+
},
33+
{
34+
"name": "Luke Mondy",
35+
"affiliation": "School of Geosciences, Earthbyte Research Group, The University of Sydney",
36+
"orcid": "0000-0001-7779-509X"
37+
},
38+
{
39+
"name": "Claire Mallard",
40+
"affiliation": "School of Geosciences, Earthbyte Research Group, The University of Sydney",
41+
"orcid": "0000-0003-2595-2414"
42+
},
43+
{
44+
"name": "Patrice Rey",
45+
"affiliation": "School of Geosciences, Earthbyte Research Group, The University of Sydney",
46+
"orcid": "0000-0002-1767-8593"
47+
},
48+
{
49+
"name": "Guillaume Duclaux",
50+
"affiliation": "Laboratoire Géoazur, Université Nice Sophia Antipolis, Nice",
51+
"orcid": "0000-0002-9512-7252"
52+
},
53+
{
54+
"name": "owen kaluza",
55+
"affiliation": "Monash eResearch Centre, Monash University",
56+
"orcid": "0000-0001-6303-5671"
57+
},
58+
{
59+
"name": "Arijit Laik",
60+
"affiliation": "Department of Earth Science, Faculty of Science, Vrije Universiteit",
61+
"orcid": "0000-0002-3484-7985"
62+
},
63+
{
64+
"name": "Sara Morón",
65+
"affiliation": "School of Geosciences, Earthbyte Research Group, The University of Sydney",
66+
"orcid": "0000-0002-1270-4377"
67+
}
68+
],
69+
"license": "lgpl-3.0",
70+
"title": "UWGeodynamics: A teaching an research tool for numerical geodynamic modelling",
71+
"upload_type": "software",
72+
"access_right": "open"
73+
}

CHANGELOG.txt renamed to CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Version 2.10
2+
3+
4+
- Layer2D which has now been deprecated for a while has been removed
5+
6+
17
# Version 2.9
28

39
### User related changes:

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Stage 1: Inherit from underworldcode/underworld2:2.9.1b and install dependency packages for Badlands
1+
# Stage 1: Inherit from underworldcode/underworld2:2.10.0b and install dependency packages for Badlands
22
##########
3-
FROM underworldcode/underworld2:2.9.4b as base_runtime
3+
FROM underworldcode/underworld2:2.10.0b as base_runtime
44
MAINTAINER https://github.com/underworldcode/
55
# install runtime requirements
66
USER root
@@ -27,7 +27,10 @@ RUN PYTHONPATH= /usr/bin/pip3 install --no-cache-dir setuptools scons
2727
# setup further virtualenv to avoid double copying back previous packages (h5py,mpi4py,etc)
2828
RUN /usr/bin/python3 -m virtualenv --python=/usr/bin/python3 ${VIRTUAL_ENV}
2929
# Compile and install the latest UWGeodynamics & Badlands
30-
RUN pip3 install -U UWGeodynamics badlands
30+
WORKDIR /tmp
31+
COPY --chown=jovyan:users . /tmp/UWGeodynamics
32+
RUN pip3 install -vvv UWGeodynamics/
33+
RUN pip3 install -U badlands
3134

3235

3336
# Stage 3: Resultant images

LICENSE.md

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
GNU Lesser General Public License
2+
=================================
3+
4+
_Version 3, 29 June 2007_
5+
_Copyright © 2007 Free Software Foundation, Inc. &lt;<http://fsf.org/>&gt;_
6+
7+
Everyone is permitted to copy and distribute verbatim copies
8+
of this license document, but changing it is not allowed.
9+
10+
11+
This version of the GNU Lesser General Public License incorporates
12+
the terms and conditions of version 3 of the GNU General Public
13+
License, supplemented by the additional permissions listed below.
14+
15+
### 0. Additional Definitions
16+
17+
As used herein, “this License” refers to version 3 of the GNU Lesser
18+
General Public License, and the “GNU GPL” refers to version 3 of the GNU
19+
General Public License.
20+
21+
“The Library” refers to a covered work governed by this License,
22+
other than an Application or a Combined Work as defined below.
23+
24+
An “Application” is any work that makes use of an interface provided
25+
by the Library, but which is not otherwise based on the Library.
26+
Defining a subclass of a class defined by the Library is deemed a mode
27+
of using an interface provided by the Library.
28+
29+
A “Combined Work” is a work produced by combining or linking an
30+
Application with the Library. The particular version of the Library
31+
with which the Combined Work was made is also called the “Linked
32+
Version”.
33+
34+
The “Minimal Corresponding Source” for a Combined Work means the
35+
Corresponding Source for the Combined Work, excluding any source code
36+
for portions of the Combined Work that, considered in isolation, are
37+
based on the Application, and not on the Linked Version.
38+
39+
The “Corresponding Application Code” for a Combined Work means the
40+
object code and/or source code for the Application, including any data
41+
and utility programs needed for reproducing the Combined Work from the
42+
Application, but excluding the System Libraries of the Combined Work.
43+
44+
### 1. Exception to Section 3 of the GNU GPL
45+
46+
You may convey a covered work under sections 3 and 4 of this License
47+
without being bound by section 3 of the GNU GPL.
48+
49+
### 2. Conveying Modified Versions
50+
51+
If you modify a copy of the Library, and, in your modifications, a
52+
facility refers to a function or data to be supplied by an Application
53+
that uses the facility (other than as an argument passed when the
54+
facility is invoked), then you may convey a copy of the modified
55+
version:
56+
57+
* **a)** under this License, provided that you make a good faith effort to
58+
ensure that, in the event an Application does not supply the
59+
function or data, the facility still operates, and performs
60+
whatever part of its purpose remains meaningful, or
61+
62+
* **b)** under the GNU GPL, with none of the additional permissions of
63+
this License applicable to that copy.
64+
65+
### 3. Object Code Incorporating Material from Library Header Files
66+
67+
The object code form of an Application may incorporate material from
68+
a header file that is part of the Library. You may convey such object
69+
code under terms of your choice, provided that, if the incorporated
70+
material is not limited to numerical parameters, data structure
71+
layouts and accessors, or small macros, inline functions and templates
72+
(ten or fewer lines in length), you do both of the following:
73+
74+
* **a)** Give prominent notice with each copy of the object code that the
75+
Library is used in it and that the Library and its use are
76+
covered by this License.
77+
* **b)** Accompany the object code with a copy of the GNU GPL and this license
78+
document.
79+
80+
### 4. Combined Works
81+
82+
You may convey a Combined Work under terms of your choice that,
83+
taken together, effectively do not restrict modification of the
84+
portions of the Library contained in the Combined Work and reverse
85+
engineering for debugging such modifications, if you also do each of
86+
the following:
87+
88+
* **a)** Give prominent notice with each copy of the Combined Work that
89+
the Library is used in it and that the Library and its use are
90+
covered by this License.
91+
92+
* **b)** Accompany the Combined Work with a copy of the GNU GPL and this license
93+
document.
94+
95+
* **c)** For a Combined Work that displays copyright notices during
96+
execution, include the copyright notice for the Library among
97+
these notices, as well as a reference directing the user to the
98+
copies of the GNU GPL and this license document.
99+
100+
* **d)** Do one of the following:
101+
- **0)** Convey the Minimal Corresponding Source under the terms of this
102+
License, and the Corresponding Application Code in a form
103+
suitable for, and under terms that permit, the user to
104+
recombine or relink the Application with a modified version of
105+
the Linked Version to produce a modified Combined Work, in the
106+
manner specified by section 6 of the GNU GPL for conveying
107+
Corresponding Source.
108+
- **1)** Use a suitable shared library mechanism for linking with the
109+
Library. A suitable mechanism is one that **(a)** uses at run time
110+
a copy of the Library already present on the user's computer
111+
system, and **(b)** will operate properly with a modified version
112+
of the Library that is interface-compatible with the Linked
113+
Version.
114+
115+
* **e)** Provide Installation Information, but only if you would otherwise
116+
be required to provide such information under section 6 of the
117+
GNU GPL, and only to the extent that such information is
118+
necessary to install and execute a modified version of the
119+
Combined Work produced by recombining or relinking the
120+
Application with a modified version of the Linked Version. (If
121+
you use option **4d0**, the Installation Information must accompany
122+
the Minimal Corresponding Source and Corresponding Application
123+
Code. If you use option **4d1**, you must provide the Installation
124+
Information in the manner specified by section 6 of the GNU GPL
125+
for conveying Corresponding Source.)
126+
127+
### 5. Combined Libraries
128+
129+
You may place library facilities that are a work based on the
130+
Library side by side in a single library together with other library
131+
facilities that are not Applications and are not covered by this
132+
License, and convey such a combined library under terms of your
133+
choice, if you do both of the following:
134+
135+
* **a)** Accompany the combined library with a copy of the same work based
136+
on the Library, uncombined with any other library facilities,
137+
conveyed under the terms of this License.
138+
* **b)** Give prominent notice with the combined library that part of it
139+
is a work based on the Library, and explaining where to find the
140+
accompanying uncombined form of the same work.
141+
142+
### 6. Revised Versions of the GNU Lesser General Public License
143+
144+
The Free Software Foundation may publish revised and/or new versions
145+
of the GNU Lesser General Public License from time to time. Such new
146+
versions will be similar in spirit to the present version, but may
147+
differ in detail to address new problems or concerns.
148+
149+
Each version is given a distinguishing version number. If the
150+
Library as you received it specifies that a certain numbered version
151+
of the GNU Lesser General Public License “or any later version”
152+
applies to it, you have the option of following the terms and
153+
conditions either of that published version or of any later version
154+
published by the Free Software Foundation. If the Library as you
155+
received it does not specify a version number of the GNU Lesser
156+
General Public License, you may choose any version of the GNU Lesser
157+
General Public License ever published by the Free Software Foundation.
158+
159+
If the Library as you received it specifies that a proxy can decide
160+
whether future versions of the GNU Lesser General Public License shall
161+
apply, that proxy's public statement of acceptance of any version is
162+
permanent authorization for you to choose that version for the
163+
Library.

0 commit comments

Comments
 (0)