-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate FeOs to new quantity crate (#257)
- Loading branch information
Showing
121 changed files
with
1,086 additions
and
2,414 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
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,19 +1,27 @@ | ||
[package] | ||
name = "feos" | ||
version = "0.7.0" | ||
authors = ["Gernot Bauer <[email protected]>", "Philipp Rehner <[email protected]>"] | ||
authors = [ | ||
"Gernot Bauer <[email protected]>", | ||
"Philipp Rehner <[email protected]>", | ||
] | ||
edition = "2021" | ||
readme = "README.md" | ||
license = "MIT OR Apache-2.0" | ||
description = "FeOs - A framework for equations of state and classical density functional theory." | ||
homepage = "https://github.com/feos-org" | ||
repository = "https://github.com/feos-org/feos" | ||
keywords = ["physics", "thermodynamics", "equations_of_state", "phase_equilibria"] | ||
keywords = [ | ||
"physics", | ||
"thermodynamics", | ||
"equations_of_state", | ||
"phase_equilibria", | ||
] | ||
categories = ["science"] | ||
|
||
[package.metadata.docs.rs] | ||
features = ["all_models", "rayon"] | ||
rustdoc-args = [ "--html-in-header", "./docs-header.html" ] | ||
rustdoc-args = ["--html-in-header", "./docs-header.html"] | ||
|
||
[workspace] | ||
members = ["feos-core", "feos-dft", "feos-derive"] | ||
|
@@ -22,13 +30,13 @@ members = ["feos-core", "feos-dft", "feos-derive"] | |
crate-type = ["rlib", "cdylib"] | ||
|
||
[dependencies] | ||
quantity = { version = "0.8", optional = true } | ||
num-dual = "0.9" | ||
quantity = "0.9" | ||
num-dual = "0.10" | ||
feos-core = { version = "0.7", path = "feos-core" } | ||
feos-dft = { version = "0.7", path = "feos-dft", optional = true } | ||
feos-derive = { version = "0.5", path = "feos-derive" } | ||
numpy = { version = "0.21", optional = true } | ||
ndarray = { version = "0.15", features = ["approx"] } | ||
numpy = { version = "0.22", optional = true } | ||
ndarray = { version = "0.16", features = ["approx"] } | ||
petgraph = { version = "0.6", optional = true } | ||
thiserror = "1.0" | ||
conv = "0.3" | ||
|
@@ -42,7 +50,7 @@ itertools = "0.13" | |
typenum = "1.16" | ||
|
||
[dependencies.pyo3] | ||
version = "0.21" | ||
version = "0.22" | ||
features = ["extension-module", "abi3", "abi3-py37"] | ||
optional = true | ||
|
||
|
@@ -74,8 +82,25 @@ pets = [] | |
saftvrqmie = [] | ||
saftvrmie = [] | ||
rayon = ["dep:rayon", "ndarray/rayon", "feos-core/rayon", "feos-dft?/rayon"] | ||
python = ["pyo3", "numpy", "quantity/python", "feos-core/python", "feos-dft?/python", "rayon"] | ||
all_models = ["dft", "estimator", "pcsaft", "epcsaft", "gc_pcsaft", "uvtheory", "pets", "saftvrqmie", "saftvrmie"] | ||
python = [ | ||
"pyo3", | ||
"numpy", | ||
"quantity/python_numpy", | ||
"feos-core/python", | ||
"feos-dft?/python", | ||
"rayon", | ||
] | ||
all_models = [ | ||
"dft", | ||
"estimator", | ||
"pcsaft", | ||
"epcsaft", | ||
"gc_pcsaft", | ||
"uvtheory", | ||
"pets", | ||
"saftvrqmie", | ||
"saftvrmie", | ||
] | ||
|
||
[[bench]] | ||
name = "state_properties" | ||
|
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
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,41 +1,47 @@ | ||
[package] | ||
name = "feos-core" | ||
version = "0.7.0" | ||
authors = ["Gernot Bauer <[email protected]>", | ||
"Philipp Rehner <[email protected]"] | ||
authors = [ | ||
"Gernot Bauer <[email protected]>", | ||
"Philipp Rehner <[email protected]", | ||
] | ||
edition = "2021" | ||
rust-version = "1.80" | ||
license = "MIT OR Apache-2.0" | ||
description = "Core traits and functionalities for the `feos` project." | ||
homepage = "https://github.com/feos-org" | ||
readme = "README.md" | ||
repository = "https://github.com/feos-org/feos" | ||
keywords = ["physics", "thermodynamics", "equations_of_state", "phase_equilibria"] | ||
keywords = [ | ||
"physics", | ||
"thermodynamics", | ||
"equations_of_state", | ||
"phase_equilibria", | ||
] | ||
categories = ["science"] | ||
workspace = ".." | ||
|
||
[package.metadata.docs.rs] | ||
rustdoc-args = [ "--html-in-header", "./docs-header.html" ] | ||
features = [ "rayon" ] | ||
rustdoc-args = ["--html-in-header", "./docs-header.html"] | ||
features = ["rayon"] | ||
|
||
[dependencies] | ||
quantity = { version = "0.8", optional = true } | ||
num-dual = { version = "0.9", features = ["linalg"] } | ||
ndarray = { version = "0.15", features = ["serde", "approx-0_5"] } | ||
nalgebra = "0.32" | ||
quantity = { version = "0.9", features = ["approx", "ndarray"] } | ||
num-dual = { version = "0.10", features = ["linalg"] } | ||
ndarray = { version = "0.16", features = ["serde", "approx"] } | ||
nalgebra = "0.33" | ||
num-traits = "0.2" | ||
thiserror = "1.0" | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
indexmap = "2.0" | ||
conv = "0.3" | ||
numpy = { version = "0.21", optional = true } | ||
pyo3 = { version = "0.21", optional = true } | ||
numpy = { version = "0.22", optional = true } | ||
pyo3 = { version = "0.22", features = ["multiple-pymethods"], optional = true } | ||
rayon = { version = "1.5", optional = true } | ||
typenum = "1.16" | ||
approx = "0.5" | ||
regex = "1.9" | ||
ang = "0.6" | ||
|
||
[features] | ||
default = [] | ||
|
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
Oops, something went wrong.