Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Bring adaptive-cont up-to-date with master and add Cauchy-Born shift and Surface Reconstruction code #163

Merged
merged 80 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
05fef8f
DOC: removing . and .. from sys.path for sphinx
prs513rosewood Feb 10, 2023
6cee6e6
DOC: sane default options for autodoc
prs513rosewood Feb 10, 2023
98debad
DOC: restructured documentation into User Guides / API Reference
prs513rosewood Feb 10, 2023
3dcb138
removed contact_mechanics submodule
prs513rosewood Feb 10, 2023
a86df1a
DOC: added dislocation module to api documentation
pgrigorev Mar 13, 2023
b59a9b8
DOC: added top level draft for dislocation
pgrigorev Mar 13, 2023
176b947
DOC: added plasticity to table of contents
pgrigorev Mar 13, 2023
bfc4b6c
ENH: added function to create sub-samples from gives list of atoms-ob…
simonwengert Apr 5, 2023
ebd3940
ENH: added implementation of committee approach
simonwengert Apr 5, 2023
ebc85a4
ENH: added __init__.py and updated meson.build for committee approach…
simonwengert Apr 5, 2023
92e5931
TST: added tests for committee approach
simonwengert Apr 5, 2023
c4c67db
BUG: attempt to fix failing test-suite by adding missing dependency '…
simonwengert Apr 5, 2023
1c6ffa9
Merge pull request #142 from libAtoms/23-delete-contact-mechanics
pastewka Apr 5, 2023
47b6b6c
Removed quippy-dependency (see discussion PR#145) by switching from G…
simonwengert Apr 11, 2023
124784f
TST: providing required data in more compact form
simonwengert Apr 12, 2023
9650f16
Merge pull request #145 from simonwengert/23_committee_calculator
jameskermode Apr 12, 2023
3d94488
BUG: fixed erroneous conditional
simonwengert Apr 12, 2023
13caf31
Merge pull request #147 from simonwengert/23_committee_calculator_min…
jameskermode Apr 12, 2023
f60b2a8
TST: switched to noninteractive matplotlib backend
pgrigorev Apr 17, 2023
6194ff8
TST: fixed eam4 path
pgrigorev Apr 17, 2023
242ebba
ENH: added FCC Shockley partial dislocation
pgrigorev Apr 17, 2023
302d4c3
TST: added test for FCCShockleyPartial
pgrigorev Apr 17, 2023
9562a0a
TST: added Sockley partial glide configs test
pgrigorev Apr 18, 2023
bbddaf8
TST: refactored confusing test names
pgrigorev Apr 18, 2023
cc30e00
ENH: added FCC Screw110 dislocation
pgrigorev Apr 18, 2023
2e30e46
TST: added test for FCC Screw 110
pgrigorev Apr 18, 2023
40a8f51
TST: added FCC Screw110 glide configs test
pgrigorev Apr 18, 2023
cd947e8
fixed typos and flakes
pgrigorev Apr 18, 2023
17276e2
ENH: added FCC Edge Shockley partial dislocation
pgrigorev Apr 21, 2023
87bfe64
TST: added test for FCCEdgeShockleyPartial
pgrigorev Apr 21, 2023
a47673c
BUILD: Added pure: false
pastewka Apr 24, 2023
2cc1dcb
BUILD: Updates meson and meson-python requirements
pastewka Apr 24, 2023
0077c25
CI: Install meson through pip
pastewka Apr 24, 2023
aa227ae
ENH: added FCC Edge 110 dislocation
pgrigorev Apr 24, 2023
8ada159
TST: added test for FCCEdge110 dislocation
pgrigorev Apr 24, 2023
ebdff66
TST: added FCCEdge110 glide configs test
pgrigorev Apr 24, 2023
a387931
ENH: added displacements for dissociated dislo
pgrigorev Apr 24, 2023
383b8d9
TST: enabled tests_u for dissociated dislocations
pgrigorev Apr 24, 2023
b4ca052
Merge pull request #149 from libAtoms/23_meson_pure_builds
pastewka Apr 24, 2023
e687afe
CI: Use pip to install meson and ninja, also when publishing
pastewka Apr 24, 2023
b99d4f5
Merge pull request #150 from libAtoms/23_install_meson
pastewka Apr 24, 2023
82797bc
TST: added test with non default symbol
pgrigorev Apr 27, 2023
0f0555e
BUG: fixed symbol assignment
pgrigorev Apr 27, 2023
f14e99d
BUG: alat divided by 2 for non bcc
pgrigorev Apr 27, 2023
1bbf489
TST: change the tolerance for elastic constants
pgrigorev Apr 27, 2023
8dabc1a
added docstring and updated copyright dates
pgrigorev Apr 28, 2023
efe9b68
Merge remote-tracking branch 'upstream/master' into FCC
pgrigorev Apr 28, 2023
8263244
changed `\` to brackets for line continuation
pgrigorev Apr 28, 2023
26a56c6
Merge pull request #151 from pgrigorev/FCC
jameskermode May 2, 2023
13b4e6a
Make sure that l is rotated into the x direction.
kbal May 21, 2023
8c7317f
Missing change
kbal May 21, 2023
7819a22
Add unit test for rotation in monoclinic case
kbal May 21, 2023
efd40ec
Update build-wheels.yml
jameskermode May 22, 2023
a4a819f
Merge pull request #153 from kbal/master
jameskermode May 22, 2023
9aa4081
Merge pull request #154 from libAtoms/macos-12
jameskermode May 22, 2023
4d99fab
WIP: Added object to predict Cauchy-Born shifts in multi-lattices
Fraser-Birks Jun 2, 2023
b4f292a
WIP: Added surface masking
Fraser-Birks Jun 2, 2023
b8232cb
WIP: Added functions to set sublattices and apply shift
Fraser-Birks Jun 2, 2023
8526a2d
WIP: Removed options for 3rd and 4th derivatives in shift corrector
Fraser-Birks Jun 2, 2023
0258a12
WIP: Added functions for surface relaxation and counting
Fraser-Birks Jun 2, 2023
1e9cb5a
WIP: Updated set_atoms to work with an extended region I
Fraser-Birks Jun 2, 2023
ad24b9c
Added option to output all contributions to f-alpha per atom
Fraser-Birks Jun 2, 2023
cbba09a
WIP: Added functions for plotting and saving as well as relevant library
Fraser-Birks Jun 2, 2023
6fa62bd
WIP: Integrated Cauchy-Born object into fracture simulation
Fraser-Birks Jun 2, 2023
4b13561
Fixed surface masking to not mask any region I.
Fraser-Birks Jun 5, 2023
1d0c2f6
Avoid rotating x into itself.
kbal Jun 6, 2023
7bd08b2
Merge pull request #155 from kbal/master
jameskermode Jun 7, 2023
b75879e
Added regression model for fitting cauchy-born shifts
Fraser-Birks Jun 7, 2023
8917153
Added more options for interfacing with cauchy-born object
Fraser-Birks Jun 7, 2023
887063e
scipy.optimizer.NoConvergence no longer exists
prs513rosewood Jun 14, 2023
508fcaa
fix: "\s" is now an invalid escape sequence
prs513rosewood Jun 16, 2023
2724d2f
Merge pull request #157 from libAtoms/fix/invalid_escape_sequence
jameskermode Jun 16, 2023
6a0c775
always return array of length maxlength, independent of the structure…
Jun 20, 2023
657afe0
Merge pull request #158 from richardjana/master
pastewka Jun 20, 2023
55262e9
Merge pull request #141 from libAtoms/23-documentation
pastewka Jun 29, 2023
bd6e6fd
Merge pull request #156 from libAtoms/fix/noconvergence_import_error
pastewka Jun 29, 2023
d3bb541
WIP: Surface reconstruction mapper and predictor
Fraser-Birks Jul 5, 2023
c3cbf81
WIP: Added better documentation to cauchy-born shift predictor
Fraser-Birks Jul 5, 2023
8be321c
WIP: Added additional helper functions to crack.py
Fraser-Birks Jul 5, 2023
e85c058
Merge branch 'master' into adaptivecont-fork
Fraser-Birks Jul 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
matrix:
buildplat:
- [ubuntu-20.04, manylinux, x86_64]
- [macos-10.15, macosx, x86_64]
- [macos-12, macosx, x86_64]
- [windows-2019, win, AMD64]

python: ["cp38", "cp39", "cp310", "cp311"]
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- name: install_python
run: |
sudo apt-get update -qy
sudo apt-get install -y python3-dev python3-pip libxml2-dev libxslt-dev zlib1g-dev meson
sudo apt-get install -y python3-dev python3-pip libxml2-dev libxslt-dev zlib1g-dev
# Upgrade to latest meson and ninja
sudo pip install --upgrade meson ninja

- name: install_package
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- name: install_python
run: |
sudo apt-get update -qy
sudo apt-get install -y python3-dev python3-pip python3-venv libxml2-dev libxslt-dev zlib1g-dev meson
sudo apt-get install -y python3-dev python3-pip python3-venv libxml2-dev libxslt-dev zlib1g-dev
# Upgrade to latest meson and ninja
sudo pip install --upgrade meson ninja

- name: build_c
run: |
Expand Down
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ v0.8.0 (not yet released)
- Writing and reading inhomogenous (and non numeric) data with savetbl/readtbl
- Hessian-based preconditioner
- Changed build system to Meson
- Removed `contact_mechanics` submodule. Stable alternatives:
[ContactMechanics](https://github.com/ContactEngineering/ContactMechanics) or
[Tamaas](https://gitlab.com/tamaas/tamaas)

v0.7.0 (29Jul21)
----------------
Expand Down
4 changes: 4 additions & 0 deletions docs/api/calculators.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Calculators
-----------

.. automodule:: matscipy.calculators
4 changes: 4 additions & 0 deletions docs/api/dislocation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Dislocation
----------

.. automodule:: matscipy.dislocation
4 changes: 4 additions & 0 deletions docs/api/elasticity.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Elasticity
----------

.. automodule:: matscipy.elasticity
4 changes: 4 additions & 0 deletions docs/api/fracture_mechanics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Fracture Mechanics
------------------

.. automodule:: matscipy.fracture_mechanics
4 changes: 4 additions & 0 deletions docs/api/neighbours.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Neighbour lists
---------------

.. automodule:: matscipy.neighbours
4 changes: 4 additions & 0 deletions docs/api/numerical.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Numerical
---------

.. automodule:: matscipy.numerical
4 changes: 4 additions & 0 deletions docs/api/root.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Matscipy root
-------------

.. automodule:: matscipy
11 changes: 11 additions & 0 deletions docs/api_reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
API Reference
=============

.. toctree::
./api/root
./api/calculators
./api/elasticity
./api/neighbours
./api/numerical
./api/fracture_mechanics
./api/dislocation
5 changes: 5 additions & 0 deletions docs/calculators.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Calculators
===========

Here's a description of the calculators available in `matscipy` and how they can
be composed.
16 changes: 14 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../'))

# sys.path.insert(0, os.path.abspath('.'))
# sys.path.insert(0, os.path.abspath('../'))

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

Expand Down Expand Up @@ -269,3 +270,14 @@

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False

# -- Extension configuration -------------------------------------------------

autodoc_default_options = {
'members': True,
'member-order': 'bysource',
'undoc-members': True,
'show-inheritance': True,
'inherited-members': True,
'special-members': '__init__',
}
4 changes: 4 additions & 0 deletions docs/elastic_constants.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Elastic Constants
=================

Here's how to use `matscipy` to evaluate elastic constants of an RVE.
4 changes: 4 additions & 0 deletions docs/fracture_mechanics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Fracture Mechanics
==================

Here's what you can do with Matscipy in the field of fracture mechanics.
74 changes: 43 additions & 31 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,49 @@
.. include:: ../README.rst


Contents
========

.. autosummary::

matscipy.angle_distribution
matscipy.atomic_strain
matscipy.calculators
matscipy.calculators.eam
matscipy.calculators.pair_potential
matscipy.calculators.mcfm
matscipy.calculators.supercell_calculator
matscipy.calculators.manybody
matscipy.contact_mechanics
matscipy.contact_mechanics.DMT
matscipy.contact_mechanics.greens_function
matscipy.contact_mechanics.Hertz
matscipy.contact_mechanics.JKR
matscipy.elasticity
matscipy.fracture_mechanics
matscipy.fracture_mechanics.clusters
matscipy.fracture_mechanics.crack
matscipy.fracture_mechanics.crackpathsel
matscipy.fracture_mechanics.energy_release
matscipy.fracture_mechanics.idealbrittlesolid
matscipy.hydrogenate
matscipy.io
matscipy.logger
matscipy.neighbours
matscipy.rings
matscipy.surface
..
Matscipy submodules
===================

.. autosummary::

matscipy.angle_distribution
matscipy.atomic_strain
matscipy.calculators
matscipy.calculators.eam
matscipy.calculators.pair_potential
matscipy.calculators.mcfm
matscipy.calculators.supercell_calculator
matscipy.calculators.manybody
matscipy.contact_mechanics
matscipy.contact_mechanics.DMT
matscipy.contact_mechanics.greens_function
matscipy.contact_mechanics.Hertz
matscipy.contact_mechanics.JKR
matscipy.elasticity
matscipy.fracture_mechanics
matscipy.fracture_mechanics.clusters
matscipy.fracture_mechanics.crack
matscipy.fracture_mechanics.crackpathsel
matscipy.fracture_mechanics.energy_release
matscipy.fracture_mechanics.idealbrittlesolid
matscipy.hydrogenate
matscipy.io
matscipy.logger
matscipy.neighbours
matscipy.numerical
matscipy.rings
matscipy.surface

.. toctree::
:maxdepth: 2
:caption: Table of Contents:

./calculators
./fracture_mechanics
./plasticity
./elastic_constants
./api_reference


Indices and tables
Expand Down
4 changes: 4 additions & 0 deletions docs/plasticity.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Plasticity
==========

Here's what you can do with Matscipy in the field of plasticity.
5 changes: 5 additions & 0 deletions matscipy/calculators/committee/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Implements the Committee (of Models) approach."""

from .committee import CommitteeUncertainty, Committee, CommitteeMember
from .log import set_logging
from .utils import subsample
Loading
Loading