calphy 2.0.1__tar.gz → 2.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {calphy-2.0.1 → calphy-2.3.0}/LICENSE +68 -3
- calphy-2.3.0/PKG-INFO +92 -0
- {calphy-2.0.1 → calphy-2.3.0}/README.md +19 -0
- calphy-2.3.0/calphy/__init__.py +34 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy/alchemy.py +175 -259
- calphy-2.3.0/calphy/clitools.py +43 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy/composition_transformation.py +669 -673
- calphy-2.3.0/calphy/dcci.py +702 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy/errors.py +12 -10
- {calphy-2.0.1 → calphy-2.3.0}/calphy/helpers.py +116 -68
- {calphy-2.0.1 → calphy-2.3.0}/calphy/input.py +207 -88
- {calphy-2.0.1 → calphy-2.3.0}/calphy/integrators.py +15 -12
- {calphy-2.0.1 → calphy-2.3.0}/calphy/kernel.py +12 -10
- {calphy-2.0.1 → calphy-2.3.0}/calphy/library_runner.py +18 -5
- {calphy-2.0.1 → calphy-2.3.0}/calphy/liquid.py +29 -14
- {calphy-2.0.1 → calphy-2.3.0}/calphy/phase.py +208 -114
- {calphy-2.0.1 → calphy-2.3.0}/calphy/phase_diagram.py +24 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy/postprocessing.py +92 -1
- {calphy-2.0.1 → calphy-2.3.0}/calphy/queuekernel.py +27 -12
- {calphy-2.0.1 → calphy-2.3.0}/calphy/range_scan.py +13 -8
- {calphy-2.0.1 → calphy-2.3.0}/calphy/routines.py +132 -44
- {calphy-2.0.1 → calphy-2.3.0}/calphy/runner.py +27 -11
- {calphy-2.0.1 → calphy-2.3.0}/calphy/scheduler.py +12 -10
- {calphy-2.0.1 → calphy-2.3.0}/calphy/solid.py +46 -17
- {calphy-2.0.1 → calphy-2.3.0}/calphy/splines.py +12 -19
- calphy-2.3.0/calphy/structures.py +146 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy/utils.py +24 -0
- calphy-2.3.0/calphy.egg-info/PKG-INFO +92 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy.egg-info/SOURCES.txt +11 -1
- {calphy-2.0.1 → calphy-2.3.0}/calphy.egg-info/requires.txt +2 -1
- {calphy-2.0.1 → calphy-2.3.0}/pyproject.toml +7 -5
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_command_vocabulary.py +3 -3
- calphy-2.3.0/tests/test_composition_scaling_potential.py +76 -0
- calphy-2.3.0/tests/test_dcci_driver.py +308 -0
- calphy-2.3.0/tests/test_dcci_input.py +117 -0
- calphy-2.3.0/tests/test_dcci_integrator.py +62 -0
- calphy-2.3.0/tests/test_dcci_lammps_e2e.py +109 -0
- calphy-2.3.0/tests/test_dcci_lammps_semantics.py +220 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_golden_streams.py +104 -9
- calphy-2.3.0/tests/test_helpers.py +157 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_input_validation.py +60 -0
- calphy-2.3.0/tests/test_integrators.py +29 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_runner.py +35 -0
- calphy-2.3.0/tests/test_structures.py +175 -0
- calphy-2.3.0/tests/test_sweep_barostat_targets.py +142 -0
- calphy-2.0.1/PKG-INFO +0 -168
- calphy-2.0.1/calphy/__init__.py +0 -10
- calphy-2.0.1/calphy/clitools.py +0 -19
- calphy-2.0.1/calphy.egg-info/PKG-INFO +0 -168
- calphy-2.0.1/tests/test_helpers.py +0 -86
- calphy-2.0.1/tests/test_integrators.py +0 -10
- {calphy-2.0.1 → calphy-2.3.0}/calphy.egg-info/dependency_links.txt +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy.egg-info/entry_points.txt +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/calphy.egg-info/top_level.txt +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/setup.cfg +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_composition_transformation_bug.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_dissipation_check.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_element_ordering.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_ex07.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_find_tm_crossing_error.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_fix_paths_user_expansion.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_gather_results_sweep_data.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_integration_lammps.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_library_runner.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_meam_pair_coeff.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_melting_temperature_n_iterations.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_options.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_phase_detection_defaults.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_phase_diagram.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_phase_diagram_validation.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_postprocessing.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_preflight.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_pressure_convergence_pv_fit.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_pressure_coupling.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_qtb_input.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_scheduler.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_seed.py +0 -0
- {calphy-2.0.1 → calphy-2.3.0}/tests/test_solid_methods.py +0 -0
|
@@ -1,7 +1,72 @@
|
|
|
1
|
+
calphy: a Python library and command line interface for automated free
|
|
2
|
+
energy calculations.
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
Copyright 2021-2026 (c) Sarath Menon, Yury Lysogorskiy, Ralf Drautz
|
|
5
|
+
Interdisciplinary Centre for Advanced Materials Simulation (ICAMS),
|
|
6
|
+
Ruhr University Bochum, 44801 Bochum, Germany
|
|
7
|
+
|
|
8
|
+
calphy in its entirety -- the command line interface, the job manager and the
|
|
9
|
+
Python API alike -- is published and distributed under the Academic Software
|
|
10
|
+
Licence v1.0 (ASL), reproduced in full below.
|
|
11
|
+
|
|
12
|
+
calphy is distributed in the hope that it will be useful for non-commercial
|
|
13
|
+
academic research, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
14
|
+
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ASL for more
|
|
15
|
+
details.
|
|
16
|
+
|
|
17
|
+
The ASL permits academic non-commercial use only. If you intend to use calphy
|
|
18
|
+
commercially, you must obtain a separate commercial licence. Please contact
|
|
19
|
+
sarath.menon@ruhr-uni-bochum.de to enquire about commercial use rights.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Licensing of earlier releases
|
|
23
|
+
|
|
24
|
+
Releases up to and including calphy 2.0.1 were distributed under a split
|
|
25
|
+
licence: the command line interface and job manager (kernel.py,
|
|
26
|
+
queuekernel.py, scheduler.py) under the ASL, and the remainder of the Python
|
|
27
|
+
API under the BSD 3-Clause "New" or "Revised" License. Some releases before
|
|
28
|
+
2022 were distributed under the GNU General Public Licence (v3 up to July
|
|
29
|
+
2021, v2 up to January 2022).
|
|
30
|
+
|
|
31
|
+
Those grants are not withdrawn and continue to apply to the versions they were
|
|
32
|
+
published with. From calphy 2.1.0 onwards, new releases are made available
|
|
33
|
+
under the ASL only.
|
|
34
|
+
|
|
35
|
+
Portions of calphy were contributed by third parties under the BSD 3-Clause
|
|
36
|
+
License while that licence applied. Those contributions are redistributed here
|
|
37
|
+
under the ASL as permitted by the BSD 3-Clause License, and the following
|
|
38
|
+
notice is retained in respect of them:
|
|
39
|
+
|
|
40
|
+
Redistribution and use in source and binary forms, with or without
|
|
41
|
+
modification, are permitted provided that the following conditions are
|
|
42
|
+
met:
|
|
43
|
+
|
|
44
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
45
|
+
this list of conditions and the following disclaimer.
|
|
46
|
+
|
|
47
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
48
|
+
notice, this list of conditions and the following disclaimer in the
|
|
49
|
+
documentation and/or other materials provided with the distribution.
|
|
50
|
+
|
|
51
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
52
|
+
contributors may be used to endorse or promote products derived from
|
|
53
|
+
this software without specific prior written permission.
|
|
54
|
+
|
|
55
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
56
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
57
|
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
58
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
59
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
60
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
61
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
62
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
63
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
64
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
65
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
66
|
+
|
|
67
|
+
A list of contributors is available at
|
|
68
|
+
https://github.com/ICAMS/calphy/graphs/contributors
|
|
3
69
|
|
|
4
|
-
The Calphy API (all other files) are released under the BSD 3-Clause "New" or "Revised" License.
|
|
5
70
|
|
|
6
71
|
# Academic Software Licence (“ASL”)
|
|
7
72
|
|
|
@@ -15,7 +80,7 @@ ASL is a reciprocal licence very similar to GPL and the core terms are identical
|
|
|
15
80
|
|
|
16
81
|
The non-commercial limitation makes ASL incompatible with the GPL and other open-source licences with copyleft provisions because these licences require that modified versions of the original program are made available free of charge for any type of use, including commercial, and this is prevented by ASL. As the two sets of reciprocal terms are incompatible, any modified version of the original program combining ASL and copylefted open-source code can be used internally but cannot be licensed out.
|
|
17
82
|
|
|
18
|
-
The non-commercial restriction is an integral part of the license and you may not remove it without the consent of the rights holder in the ASL licensed code. Please contact __[ICAMS, Ruhr University Bochum](
|
|
83
|
+
The non-commercial restriction is an integral part of the license and you may not remove it without the consent of the rights holder in the ASL licensed code. Please contact __[ICAMS, Ruhr University Bochum](mailto:sarath.menon@ruhr-uni-bochum.de)__ for any questions and/or to enquire about commercial use rights.
|
|
19
84
|
|
|
20
85
|
*The changes to the GPLv2 are: removing the Preamble, replacing the reference to the “General Public License” in clause 0 with a reference to the “ASL”, removing clause 9 and adding clause 13 with the non-commercial restriction and limited patent grant
|
|
21
86
|
|
calphy-2.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: calphy
|
|
3
|
+
Version: 2.3.0
|
|
4
|
+
Summary: free energy calculation for python
|
|
5
|
+
Author: Yury Lysogorskiy, Ralf Drautz
|
|
6
|
+
Author-email: Sarath Menon <sarath.menon@ruhr-uni-bochum.de>
|
|
7
|
+
License-Expression: LicenseRef-ASL-1.0
|
|
8
|
+
Project-URL: Homepage, https://github.com/ICAMS/calphy
|
|
9
|
+
Project-URL: Documentation, https://calphy.org
|
|
10
|
+
Project-URL: Repository, https://github.com/ICAMS/calphy
|
|
11
|
+
Keywords: calphy,free energy,molecular dynamics,LAMMPS
|
|
12
|
+
Classifier: Natural Language :: English
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: numpy>=2
|
|
21
|
+
Requires-Dist: pandas
|
|
22
|
+
Requires-Dist: matplotlib
|
|
23
|
+
Requires-Dist: pyarrow
|
|
24
|
+
Requires-Dist: pyyaml
|
|
25
|
+
Requires-Dist: mendeleev
|
|
26
|
+
Requires-Dist: tqdm
|
|
27
|
+
Requires-Dist: scipy
|
|
28
|
+
Requires-Dist: pydantic>=2.3.0
|
|
29
|
+
Requires-Dist: ase
|
|
30
|
+
Requires-Dist: pyscal3>=4.0.0
|
|
31
|
+
Provides-Extra: test
|
|
32
|
+
Requires-Dist: pytest>=7; extra == "test"
|
|
33
|
+
Provides-Extra: materials-project
|
|
34
|
+
Requires-Dist: mp_api; extra == "materials-project"
|
|
35
|
+
Provides-Extra: library
|
|
36
|
+
Requires-Dist: pylammpsmpi>0.4.1; extra == "library"
|
|
37
|
+
Dynamic: license-file
|
|
38
|
+
|
|
39
|
+
# calphy
|
|
40
|
+
|
|
41
|
+
`calphy`(pronounced _cal-phee_) is a Python library and command line tool for calculation of free energies. It uses [LAMMPS](https://www.lammps.org/) as the molecular dynamics driver to enable calculation of free energies using thermodynamic integration in a completely automated and efficient manner. The various methods that calphy can perform are:
|
|
42
|
+
|
|
43
|
+
- <img src="https://render.githubusercontent.com/render/math?math=F(V_i,T_i)"> and <img src="https://render.githubusercontent.com/render/math?math=G(P_i,T_i)"> for both solid and liquid phases at the given thermodynamic conditions using [non-equilibrium Hamiltonian interpolation](https://linkinghub.elsevier.com/retrieve/pii/S0927025615007089).
|
|
44
|
+
- <img src="https://render.githubusercontent.com/render/math?math=F(T_i \to T_f)"> and <img src="https://render.githubusercontent.com/render/math?math=G(T_i \to T_f)">, temperature dependence of Gibbs and Helmholtz free energies using the [reversible scaling](https://link.aps.org/doi/10.1103/PhysRevLett.83.3973) approach.
|
|
45
|
+
- Calculation of solid-solid or solid-liquid phase transition temperatures.
|
|
46
|
+
- Calculation of solid-liquid coexistence lines <img src="https://render.githubusercontent.com/render/math?math=P_{coex}(T)"> over a wide pressure range from a single known coexistence point using [dynamic Clausius-Clapeyron integration](https://doi.org/10.1063/1.1420486).
|
|
47
|
+
- Calculation of specific heat <img src="https://render.githubusercontent.com/render/math?math=c_P(T)"> as a function of temperature.
|
|
48
|
+
- Calculation of <img src="https://render.githubusercontent.com/render/math?math=F(x, T)"> and <img src="https://render.githubusercontent.com/render/math?math=G(x, T)"> for multicomponent systems using [alchemical transformations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).
|
|
49
|
+
- [Upsampling calculations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).
|
|
50
|
+
|
|
51
|
+
Calphy works with all [interatomic potentials implemented in LAMMPS](https://docs.lammps.org/pairs.html) and can obtain reliable results with low error bars in as low as 50 ps of simulation time with less than 3000 atoms. More information about the methods in calphy can be found in the [associated publication](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).
|
|
52
|
+
|
|
53
|
+
## Installation, examples and documentation
|
|
54
|
+
|
|
55
|
+
- Read the `calphy` installation instructions and documentation including examples [here](https://calphy.org/).
|
|
56
|
+
|
|
57
|
+
- For a description of the methods and algorithms implemented in `calphy`, please see the [associated publication](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).
|
|
58
|
+
|
|
59
|
+
- For a set of examples presented in the `calphy` publication, please see [here](https://github.com/srmnitc/calphy-publication-examples).
|
|
60
|
+
|
|
61
|
+
## Citing calphy
|
|
62
|
+
|
|
63
|
+
If you find calphy useful, please consider citing:
|
|
64
|
+
Menon, Sarath, Yury Lysogorskiy, Jutta Rogal, and Ralf Drautz.
|
|
65
|
+
[“Automated Free Energy Calculation from Atomistic Simulations.”](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801)
|
|
66
|
+
Physical Review Materials 5(10), 2021
|
|
67
|
+
DOI: 10.1103/PhysRevMaterials.5.103801
|
|
68
|
+
|
|
69
|
+
Download bibtex [here](https://journals.aps.org/prmaterials/export/10.1103/PhysRevMaterials.5.103801?type=bibtex&download=true)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## License
|
|
73
|
+
|
|
74
|
+
calphy is published and distributed under the **Academic Software Licence v1.0 (ASL)**,
|
|
75
|
+
a reciprocal licence whose core terms match the GNU GPLv2 but which permits
|
|
76
|
+
**academic non-commercial use only**. It is an available-source, not an open-source,
|
|
77
|
+
licence. See [LICENSE](LICENSE) for the full terms.
|
|
78
|
+
|
|
79
|
+
If you intend to use calphy commercially, you need a separate commercial licence.
|
|
80
|
+
Please contact <sarath.menon@ruhr-uni-bochum.de> to enquire about commercial use rights.
|
|
81
|
+
|
|
82
|
+
Releases up to and including 2.0.1 were distributed under a split ASL / BSD-3-Clause
|
|
83
|
+
licence (and earlier releases under the GNU GPL). Those grants continue to apply to
|
|
84
|
+
the versions they were published with; from 2.1.0 onwards calphy is ASL only.
|
|
85
|
+
|
|
86
|
+
Note that calphy drives [LAMMPS](https://www.lammps.org/), which is licensed
|
|
87
|
+
separately under the GNU GPLv2. calphy does not include LAMMPS.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
[](https://conda.anaconda.org/conda-forge)
|
|
91
|
+
|
|
92
|
+
[](https://badge.fury.io/py/calphy)
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
- <img src="https://render.githubusercontent.com/render/math?math=F(V_i,T_i)"> and <img src="https://render.githubusercontent.com/render/math?math=G(P_i,T_i)"> for both solid and liquid phases at the given thermodynamic conditions using [non-equilibrium Hamiltonian interpolation](https://linkinghub.elsevier.com/retrieve/pii/S0927025615007089).
|
|
6
6
|
- <img src="https://render.githubusercontent.com/render/math?math=F(T_i \to T_f)"> and <img src="https://render.githubusercontent.com/render/math?math=G(T_i \to T_f)">, temperature dependence of Gibbs and Helmholtz free energies using the [reversible scaling](https://link.aps.org/doi/10.1103/PhysRevLett.83.3973) approach.
|
|
7
7
|
- Calculation of solid-solid or solid-liquid phase transition temperatures.
|
|
8
|
+
- Calculation of solid-liquid coexistence lines <img src="https://render.githubusercontent.com/render/math?math=P_{coex}(T)"> over a wide pressure range from a single known coexistence point using [dynamic Clausius-Clapeyron integration](https://doi.org/10.1063/1.1420486).
|
|
8
9
|
- Calculation of specific heat <img src="https://render.githubusercontent.com/render/math?math=c_P(T)"> as a function of temperature.
|
|
9
10
|
- Calculation of <img src="https://render.githubusercontent.com/render/math?math=F(x, T)"> and <img src="https://render.githubusercontent.com/render/math?math=G(x, T)"> for multicomponent systems using [alchemical transformations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).
|
|
10
11
|
- [Upsampling calculations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).
|
|
@@ -30,6 +31,24 @@ DOI: 10.1103/PhysRevMaterials.5.103801
|
|
|
30
31
|
Download bibtex [here](https://journals.aps.org/prmaterials/export/10.1103/PhysRevMaterials.5.103801?type=bibtex&download=true)
|
|
31
32
|
|
|
32
33
|
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
calphy is published and distributed under the **Academic Software Licence v1.0 (ASL)**,
|
|
37
|
+
a reciprocal licence whose core terms match the GNU GPLv2 but which permits
|
|
38
|
+
**academic non-commercial use only**. It is an available-source, not an open-source,
|
|
39
|
+
licence. See [LICENSE](LICENSE) for the full terms.
|
|
40
|
+
|
|
41
|
+
If you intend to use calphy commercially, you need a separate commercial licence.
|
|
42
|
+
Please contact <sarath.menon@ruhr-uni-bochum.de> to enquire about commercial use rights.
|
|
43
|
+
|
|
44
|
+
Releases up to and including 2.0.1 were distributed under a split ASL / BSD-3-Clause
|
|
45
|
+
licence (and earlier releases under the GNU GPL). Those grants continue to apply to
|
|
46
|
+
the versions they were published with; from 2.1.0 onwards calphy is ASL only.
|
|
47
|
+
|
|
48
|
+
Note that calphy drives [LAMMPS](https://www.lammps.org/), which is licensed
|
|
49
|
+
separately under the GNU GPLv2. calphy does not include LAMMPS.
|
|
50
|
+
|
|
51
|
+
|
|
33
52
|
[](https://conda.anaconda.org/conda-forge)
|
|
34
53
|
|
|
35
54
|
[](https://badge.fury.io/py/calphy)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""
|
|
2
|
+
calphy: a Python library and command line interface for automated free
|
|
3
|
+
energy calculations.
|
|
4
|
+
|
|
5
|
+
Copyright 2021-2026 (c) Sarath Menon, Yury Lysogorskiy, Ralf Drautz
|
|
6
|
+
Interdisciplinary Centre for Advanced Materials Simulation (ICAMS),
|
|
7
|
+
Ruhr University Bochum, 44801 Bochum, Germany
|
|
8
|
+
|
|
9
|
+
calphy is published and distributed under the Academic Software Licence v1.0 (ASL).
|
|
10
|
+
calphy is distributed in the hope that it will be useful for non-commercial academic
|
|
11
|
+
research, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for details.
|
|
13
|
+
|
|
14
|
+
The ASL permits academic non-commercial use only. Contact
|
|
15
|
+
sarath.menon@ruhr-uni-bochum.de to enquire about commercial use rights.
|
|
16
|
+
|
|
17
|
+
More information about the program can be found in:
|
|
18
|
+
Menon, Sarath, Yury Lysogorskiy, Jutta Rogal, and Ralf Drautz.
|
|
19
|
+
"Automated Free Energy Calculation from Atomistic Simulations." Physical Review Materials 5(10), 2021
|
|
20
|
+
DOI: 10.1103/PhysRevMaterials.5.103801
|
|
21
|
+
|
|
22
|
+
For more information contact:
|
|
23
|
+
sarath.menon@ruhr-uni-bochum.de
|
|
24
|
+
"""
|
|
25
|
+
from calphy.input import Calculation
|
|
26
|
+
from calphy.liquid import Liquid
|
|
27
|
+
from calphy.solid import Solid
|
|
28
|
+
from calphy.alchemy import Alchemy
|
|
29
|
+
from calphy.routines import MeltingTemp
|
|
30
|
+
|
|
31
|
+
__version__ = "2.3.0"
|
|
32
|
+
|
|
33
|
+
def addtest(a,b):
|
|
34
|
+
return a+b
|