Skip to content

Commit

Permalink
Rework extract functions. (cesmix-mit#51)
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Churavy <[email protected]>
  • Loading branch information
Joroks and vchuravy authored Jul 1, 2024
1 parent ede4407 commit c8beaa5
Show file tree
Hide file tree
Showing 4 changed files with 524 additions and 209 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LAMMPS"
uuid = "ee2e13b9-eee9-4449-aafa-cfa6a2dbe14d"
authors = ["Valentin Churavy <[email protected]>"]
version = "0.4.2"
version = "0.5.0"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
2 changes: 1 addition & 1 deletion examples/lj_forces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ command(lmp, "run 0")

# extract output
forces = gather(lmp, "f", Float64)
energies = extract_compute(lmp, "pot_e", LAMMPS.API.LMP_STYLE_GLOBAL, LAMMPS.API.LMP_TYPE_SCALAR)
energies = extract_compute(lmp, "pot_e", STYLE_GLOBAL, TYPE_SCALAR)
Loading

0 comments on commit c8beaa5

Please sign in to comment.