[package]
edition = "2021"
name = "outram-foam-basic-lib"
version = "0.1.6"
authors = [
"Ong Kay Chen Theodore",
"Professor Per F. Peterson",
"University of California, Berkeley Thermal Hydraulics Lab",
"Singapore Nuclear Research and Safety Institute (SNRSI)",
"National University of Singapore (NUS)",
"Repository Contributors",
]
build = false
exclude = [
"verification_and_validation/*.csv",
"docs",
"upstream_source/openfoam",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenFOAM primitive functions translated to Rust -- an independent OUTRAM PARK fork, not the official OpenFOAM software"
homepage = "https://github.com/theodoreOnzGit/outram-park-backend"
readme = "README.md"
categories = ["science"]
license = "AGPL-3.0-only"
repository = "https://github.com/theodoreOnzGit/outram-park-backend"
[package.metadata.kovan]
row = 1
topic = "utility"
maturity = 2
[features]
blas-bench = ["dep:ndarray-linalg"]
default = []
gpu = ["dep:wgpu"]
parallel = ["dep:rayon"]
[lib]
name = "outram_foam_basic_lib"
path = "src/lib.rs"
[[example]]
name = "hybrid_gpu_report"
path = "examples/hybrid_gpu_report.rs"
[[example]]
name = "tutorial_finite_volume_basics"
path = "examples/tutorial_finite_volume_basics.rs"
[[test]]
name = "hybrid_parity"
path = "tests/hybrid_parity.rs"
[[test]]
name = "io_roundtrip"
path = "tests/io_roundtrip.rs"
[[test]]
name = "krylov_convection_diffusion"
path = "tests/krylov_convection_diffusion.rs"
[[test]]
name = "matrix_bench"
path = "tests/matrix_bench.rs"
required-features = ["blas-bench"]
[[test]]
name = "nnc261_solve"
path = "tests/nnc261_solve.rs"
[[test]]
name = "non_orthogonal_laplacian"
path = "tests/non_orthogonal_laplacian.rs"
[dependencies.ndarray]
version = "0.17.2"
[dependencies.petir]
version = "0.0.3"
[dependencies.rayon]
version = "1.11.0"
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dependencies.uom]
version = "0.38.0"
features = [
"autoconvert",
"f32",
"f64",
"si",
]
default-features = false
[dev-dependencies.approx]
version = "0.5.1"
[dev-dependencies.ndarray]
version = "0.17.2"
[target.'cfg(not(target_os = "android"))'.dependencies.wgpu]
version = "30.0.1"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.ndarray-linalg]
version = "0.18.1"
features = ["openblas-system"]
optional = true
[target.'cfg(target_os = "macos")'.dependencies.ndarray-linalg]
version = "0.18.1"
features = ["intel-mkl-static"]
optional = true
[target."cfg(windows)".dependencies.ndarray-linalg]
version = "0.18.1"
features = ["intel-mkl-static"]
optional = true