diff --git a/Cargo.toml b/Cargo.toml index d316fba..d22aabb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,7 @@ edition = "2018" members = [ "sbp", "webfront", + "multigrid", ] [profile.bench] diff --git a/multigrid/Cargo.toml b/multigrid/Cargo.toml new file mode 100644 index 0000000..e8f7132 --- /dev/null +++ b/multigrid/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "multigrid" +version = "0.1.0" +authors = ["Magnus Ulimoen "] +edition = "2018" + +[dependencies] +sbp = { path = "../sbp" } +hdf5 = "0.6.0" +rayon = "1.3.0" +indicatif = "0.14.0" +structopt = "0.3.13" +ndarray = "0.13.0" +json = "0.12.4" diff --git a/sbp/examples/multigrid/eulerplot b/multigrid/eulerplot similarity index 100% rename from sbp/examples/multigrid/eulerplot rename to multigrid/eulerplot diff --git a/sbp/examples/multigrid/quad.json b/multigrid/quad.json similarity index 100% rename from sbp/examples/multigrid/quad.json rename to multigrid/quad.json diff --git a/sbp/examples/multigrid/bin.rs b/multigrid/src/main.rs similarity index 100% rename from sbp/examples/multigrid/bin.rs rename to multigrid/src/main.rs diff --git a/sbp/Cargo.toml b/sbp/Cargo.toml index 068c1da..f374827 100644 --- a/sbp/Cargo.toml +++ b/sbp/Cargo.toml @@ -19,10 +19,6 @@ f32 = [] [dev-dependencies] criterion = "0.3.1" -structopt = "0.3.12" -indicatif = "0.14.0" -rayon = "1.3.0" -hdf5 = "0.6.0" [[bench]] name = "maxwell" @@ -31,7 +27,3 @@ harness = false [[bench]] name = "euler" harness = false - -[[example]] -name = "multigrid" -path = "examples/multigrid/bin.rs"