-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from cesmix-mit/IP_IBP
Merge InteratomicBasisPotentials.jl into InteratomicPotentials.jl + Updates from PotentialLearning.jl
- Loading branch information
Showing
52 changed files
with
3,547 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
name = "InteratomicPotentials" | ||
uuid = "a9efe35a-c65d-452d-b8a8-82646cd5cb04" | ||
authors = ["Dallas Foster <[email protected]>"] | ||
version = "0.2.6" | ||
version = "0.2.7" | ||
|
||
[deps] | ||
ACE1 = "e3f9bc04-086e-409a-ba78-e9769fe067bb" | ||
AtomsBase = "a963bdd2-2df7-4f54-a1ee-49d51e6be12a" | ||
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" | ||
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" | ||
JuLIP = "945c410c-986d-556a-acb1-167a618e0462" | ||
LAMMPS = "ee2e13b9-eee9-4449-aafa-cfa6a2dbe14d" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
NearestNeighbors = "b8a86587-4115-5ab1-83bc-aa920d37bbce" | ||
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" | ||
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" | ||
UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a" | ||
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" | ||
|
||
[compat] | ||
AtomsBase = "0.2, 0.3" | ||
AtomsBase = "0.3" | ||
Distances = "0.10" | ||
NearestNeighbors = "0.4.9" | ||
StaticArrays = "1" | ||
Unitful = "1" | ||
UnitfulAtomic = "1" | ||
julia = "1.6" | ||
julia = "1.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[deps] | ||
ACE1 = "e3f9bc04-086e-409a-ba78-e9769fe067bb" | ||
AtomsBase = "a963bdd2-2df7-4f54-a1ee-49d51e6be12a" | ||
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" | ||
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" | ||
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" | ||
GR = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71" | ||
JuLIP = "945c410c-986d-556a-acb1-167a618e0462" | ||
LAMMPS = "ee2e13b9-eee9-4449-aafa-cfa6a2dbe14d" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
NearestNeighbors = "b8a86587-4115-5ab1-83bc-aa920d37bbce" | ||
PProf = "e4faabce-9ead-11e9-39d9-4379958e3056" | ||
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" | ||
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" | ||
UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a" | ||
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" | ||
|
||
[compat] | ||
julia = "1.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
include("helpers.jl") | ||
push!(Base.LOAD_PATH, "../../") | ||
|
||
using AtomsBase | ||
using InteratomicPotentials | ||
using LinearAlgebra | ||
using Unitful | ||
using UnitfulAtomic | ||
using BenchmarkTools | ||
using Plots | ||
using BenchmarkTools | ||
|
||
include("utils.jl") | ||
|
||
T, = parse.(Int, ARGS) | ||
T = parse.(Int, ARGS) # E.g. 10 | ||
|
||
potential = LennardJones(1.0u"eV", 1.0u"Å", 100.0u"Å", [:Ar]) | ||
|
||
system = load_configuration("benchmarks/data/lj_clusters/1000.xyz") | ||
system = load_configuration("data/lj_clusters/1000.xyz") | ||
|
||
display(@benchmark energy_and_force($system, $potential) seconds = T) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@article{Drautz2019, | ||
title = {Atomic cluster expansion for accurate and transferable interatomic potentials}, | ||
author = {Drautz, Ralf}, | ||
journal = {Phys. Rev. B}, | ||
volume = {99}, | ||
issue = {1}, | ||
pages = {014104}, | ||
numpages = {15}, | ||
year = {2019}, | ||
month = {Jan}, | ||
publisher = {American Physical Society}, | ||
doi = {10.1103/PhysRevB.99.014104}, | ||
url = {https://link.aps.org/doi/10.1103/PhysRevB.99.014104} | ||
} | ||
@article{Thompson2015, | ||
title = {Spectral neighbor analysis method for automated generation of quantum-accurate interatomic potentials}, | ||
journal = {Journal of Computational Physics}, | ||
volume = {285}, | ||
pages = {316-330}, | ||
year = {2015}, | ||
issn = {0021-9991}, | ||
doi = {https://doi.org/10.1016/j.jcp.2014.12.018}, | ||
url = {https://www.sciencedirect.com/science/article/pii/S0021999114008353}, | ||
author = {A.P. Thompson and L.P. Swiler and C.R. Trott and S.M. Foiles and G.J. Tucker}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
```@bibliography | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.