Skip to content

Commit

Permalink
Bump Tucanos and Rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromerobert committed Nov 29, 2024
1 parent 4f6015b commit 9bc8ee9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ crate-type = ["cdylib"]

[dependencies]
log = "0.4.22"
tucanos = {git = "https://github.com/tucanos/tucanos.git", rev = "9b01996e" }
tucanos = { git = "https://github.com/tucanos/tucanos.git", rev = "252380e" }
numpy = "0.21"
pyo3 = { version = "0.21", features = ["extension-module", "multiple-pymethods"] }
pyo3-log = "0.11"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.77.2"
channel = "1.83.0"
3 changes: 1 addition & 2 deletions src/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use numpy::PyArray2;
use pyo3::{exceptions::PyRuntimeError, pyclass, pymethods, Bound, PyResult, Python};
use tucanos::{
geometry::{Geometry, LinearGeometry},
mesh_stl::orient_stl,
topo_elems::{Edge, Triangle},
mesh::{io::orient_stl, Edge, Triangle},
};
macro_rules! create_geometry {
($name: ident, $dim: expr, $etype: ident, $mesh: ident, $geom: ident) => {
Expand Down
6 changes: 1 addition & 5 deletions src/mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ use pyo3::{
};
use std::collections::HashMap;
use tucanos::{
geom_elems::GElem,
mesh::Point,
mesh::SimplexMesh,
mesh_stl::read_stl,
mesh::{io::read_stl, Edge, Elem, GElem, Point, SimplexMesh, Tetrahedron, Triangle},
metric::Metric,
topo_elems::{Edge, Elem, Tetrahedron, Triangle},
Idx, Tag,
};

Expand Down
6 changes: 2 additions & 4 deletions src/parallel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ use pyo3::{
Bound, PyResult, Python,
};
use tucanos::{
mesh_partition::PartitionType,
mesh::{PartitionType, Tetrahedron, Triangle},
metric::{AnisoMetric2d, AnisoMetric3d, IsoMetric, Metric},
parallel::{ParallelRemesher, ParallelRemeshingParams},
remesher::{RemesherParams, SmoothingType},
topo_elems::{Tetrahedron, Triangle},
remesher::{ParallelRemesher, ParallelRemeshingParams, RemesherParams, SmoothingType},
Idx,
};

Expand Down
2 changes: 1 addition & 1 deletion src/remesher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ use pyo3::{
Bound, PyResult, Python,
};
use tucanos::{
mesh::{Tetrahedron, Triangle},
metric::{AnisoMetric2d, AnisoMetric3d, IsoMetric, Metric},
remesher::{Remesher, RemesherParams, SmoothingType},
topo_elems::{Tetrahedron, Triangle},
Idx,
};

Expand Down

0 comments on commit 9bc8ee9

Please sign in to comment.