coremem_types: IsomorphicConductor, AnisomorphicConductor are now used by both spirv and cpu impls

This commit is contained in:
2022-07-19 02:08:22 -07:00
parent 78f7e2be45
commit f8fccd957a
10 changed files with 215 additions and 148 deletions

View File

@@ -4,7 +4,7 @@
use coremem::{Driver, mat, meas, SpirvDriver};
use coremem::geom::{region, Cube, Dilate, Memoize, Meters, Region, Spiral, SwapYZ, Torus, Translate, Wrap};
use coremem::mat::Ferroxcube3R1MH;
use coremem::mat::{Ferroxcube3R1MH, IsoConductorOr};
use coremem::real::{R32, Real as _};
use coremem::render::CsvRenderer;
use coremem::stim::{CurlStimulus, Exp1, Gated, Sinusoid1, TimeVarying as _};
@@ -14,7 +14,7 @@ use coremem::util::cache::DiskCache;
use log::{error, info, warn};
use serde::{Deserialize, Serialize};
type Mat = spirv::IsoConductorOr<Ferroxcube3R1MH>;
type Mat = IsoConductorOr<f32, Ferroxcube3R1MH>;
#[allow(unused)]
use coremem::geom::{Coord as _, Region as _};