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

Adding a Glue Type / N-Body Empirical Potential - the Finnis-Sinclair 1984 potential for single element systems #32

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
19f43d6
added packages
eschmidt42 Feb 2, 2021
a3f4b6a
added the finnis-sinclair variant of glue type potentials
eschmidt42 Feb 2, 2021
5b805ff
added documentation
eschmidt42 Feb 3, 2021
8942490
expanded potential energy and force tests to all vacancy free bcc cry…
eschmidt42 Feb 3, 2021
87e7d82
added potential energy and force checks for bcc crystal with a single…
eschmidt42 Feb 7, 2021
52f46b8
added tests for the finnis-sinclair type of glue potentials
eschmidt42 Feb 14, 2021
dd0881c
added section to run a longer simulation for the documentation
eschmidt42 Feb 14, 2021
221b690
added fields for forces, velocities and glue densities in Simulation
eschmidt42 Mar 10, 2021
eaacf33
refactored glue forces to work as general_inters
eschmidt42 Mar 10, 2021
a9d7ef1
modified potential_energy to pre-compute glue densities, if necessary
eschmidt42 Mar 10, 2021
fd93544
modified accelerations to allow for glue density update and calculati…
eschmidt42 Mar 10, 2021
95b9635
added GlueDensityLogger, VelocityLogger and ForcesLogger
eschmidt42 Mar 10, 2021
36457e0
fixed copy-paste error
eschmidt42 Mar 10, 2021
1808489
added ForwardDiff
eschmidt42 Mar 12, 2021
057b9a6
refactored reducing redundancy and replacing manually implemented der…
eschmidt42 Mar 12, 2021
acf7ce8
updated algebraic signs
eschmidt42 Mar 15, 2021
b99aca3
added convenience function to easily generate variables for the Finni…
eschmidt42 Mar 16, 2021
fd7cb6f
refactored the ground state energy, forces and vacancy formation ener…
eschmidt42 Mar 16, 2021
f80004e
refactored fs.ipynb: removed superfluous tests and reduced the math t…
eschmidt42 Mar 16, 2021
275c296
removed superfluous enumerate
eschmidt42 Mar 17, 2021
b136903
added docstrings
eschmidt42 Mar 17, 2021
931f214
cleaned
eschmidt42 Mar 17, 2021
4e2c73b
removed cell
eschmidt42 Mar 17, 2021
f88c5b2
removing comments
eschmidt42 Mar 20, 2021
3982887
Merge branch 'hotfix-removing-comments'
eschmidt42 Mar 20, 2021
b472fd9
Merge pull request #1 from eschmidt42/glue
eschmidt42 Mar 20, 2021
ee4d487
resolved merge conflict
eschmidt42 Mar 20, 2021
5a81002
replaced ForwardDiff.derivate with analytical derivatives and added k…
eschmidt42 Mar 27, 2021
c0d37fa
removed f comment in docstrings
eschmidt42 Mar 27, 2021
a71dc51
replaced dataframes with dicts
eschmidt42 Mar 27, 2021
4b55ae4
replaced another derivative forgotten earlier
eschmidt42 Mar 27, 2021
b332f60
updated tests
eschmidt42 Mar 27, 2021
825f1ad
minor change to improve readability of ForceLogger
eschmidt42 Mar 27, 2021
d646f9b
removed DataFrames reference
eschmidt42 Mar 27, 2021
945ddb0
removed DataFrames and Plots reference
eschmidt42 Mar 27, 2021
115adf2
relocated packages from Molly.jl to docs
eschmidt42 Mar 27, 2021
30a54b2
made notebook compatible with changes in in src/interactions/glue_fs.jl
eschmidt42 Mar 27, 2021
331cc70
removed because relocated to ./docs
eschmidt42 Mar 27, 2021
d87b4c6
removed superfluous cells
eschmidt42 Mar 27, 2021
bbc47f1
adjusted glue tests to changes in Crystal.jl and introduced more name…
eschmidt42 Apr 2, 2021
d073ef8
updated test: switched from Crystal to SingleCrystal package
eschmidt42 May 10, 2021
fbf2629
switched toml from Crystal to SingleCrystal
eschmidt42 May 10, 2021
d95cfbe
switched to toml SingleCrystal.jl
eschmidt42 May 10, 2021
b276156
updated notebook to work with the new data structure of the potential…
eschmidt42 May 10, 2021
71522fe
removed ForwardDiff
eschmidt42 May 10, 2021
b9ece8d
removed empty spaces and updated doc strings
eschmidt42 May 10, 2021
d1f113a
rm SingleCrystal package as direct dependency
eschmidt42 May 14, 2021
05d1990
replaced abstract types in structs
eschmidt42 May 14, 2021
12c5a31
wrapped glue tests in a testset
eschmidt42 May 14, 2021
996ed6e
kind of resolved conflict
eschmidt42 May 14, 2021
3b9ce51
welp...
eschmidt42 May 14, 2021
076ad3d
adjusted to renaming of Simnulation struct
eschmidt42 May 14, 2021
d2b3375
updated test to new Simulation
eschmidt42 May 14, 2021
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
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ NearestNeighbors = "b8a86587-4115-5ab1-83bc-aa920d37bbce"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SingleCrystal = "3c6eccdf-2a89-4c24-a1d4-ff210daa8476"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is SingleCrystal added as a dependency of the package? Should it not be just a test dependency?

Copy link
Author

@eschmidt42 eschmidt42 May 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, thanks, should be fixed, as soon as I push my changes.

SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

Expand Down
4 changes: 4 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Molly = "aa0f7f06-fcc0-5ec4-a7f3-a573f33f9c4c"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plots in the documentation could be generated during the docs build, but it would be ideal to use the same package for all the plots (preferably one of the Makie backends). @jgreener64 One idea would be to use CairoMakie, but it might also be possible to use WGLMakie (it would be a bit more complex, but we get interactive plots). For this to work, the visualize function should be available with AbstractPlotting. A more elegant solution would be to use recipes, but AbstractPlotting is not a light dependency right now.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would indeed be better to use the same plotting package throughout, though at the minute the code in the docs is not run during the docs build and Makie plots are pasted as images into the doc files.

It would be good if the docs notebook appeared in the docs - perhaps it could go in the examples section as markdown. Then these docs dependencies can be removed until we deal with doctests later, as the examples can assume that users have the package installed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried using Makie before but had some problem I can't remember. Plots is mostly required for the docs/fs.ipynb notebook. Can try to replace Plots there though if required.

SingleCrystal = "3c6eccdf-2a89-4c24-a1d4-ff210daa8476"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Documenter = "0.25"
Loading