Untested ferromagnetic model

It's pretty basic.
This commit is contained in:
2020-08-22 21:55:27 -07:00
parent 3830cf2ef8
commit f4d8ffdf34
3 changed files with 44 additions and 3 deletions

View File

@@ -50,7 +50,8 @@ impl ColorTermRenderer {
for x in 0..state.width() {
let cell = state.get(x, y);
//let r = norm_color(cell.bz() * consts::C);
let r = 0;
//let r = 0;
let r = norm_color(cell.mat.mz*50.0);
let b = (55.0*cell.mat().conductivity).min(255.0) as u8;
//let b = 0;
//let g = norm_color(cell.ex());