move coremem/mat -> coremem/sim/legacy/mat

This commit is contained in:
2022-07-24 18:31:11 -07:00
parent d0fcd9b657
commit 7286d272b9
10 changed files with 19 additions and 15 deletions

View File

@@ -1,5 +1,4 @@
use crate::geom::{Coord, Cube, Index, InvertedRegion, Meters, Region};
use crate::mat;
use crate::types::real::Real;
use crate::types::vec::{Vec3, Vec3u};
use crate::stim::{AbstractStimulus, NoopStimulus};
@@ -385,7 +384,7 @@ pub trait SampleableSim: Send + Sync {
let cell = self.sample(idx.to_meters(self.feature_size()));
*e = cell.e().cast();
*h = cell.h().cast();
mat::Static {
legacy::mat::Static {
conductivity: cell.conductivity().cast(),
m: cell.m().cast(),
}