Advance the E field by using Ampere's circuital law MACROSCOPIC equation

This commit is contained in:
2020-08-27 15:23:52 -07:00
parent f948820edf
commit 57258eb6cc
2 changed files with 34 additions and 24 deletions

View File

@@ -53,8 +53,9 @@ impl ColorTermRenderer {
let r = norm_color(cell.mat.mz());
let b = (55.0*cell.mat().conductivity()).min(255.0) as u8;
//let b = 0;
//let g = norm_color(cell.ex());
//let b = norm_color(cell.ey());
//let g = 0;
//let g = norm_color(cell.ex());
//let g = norm_color(curl(cell.ex(), cell.ey()));
let g = norm_color((cell.bz() * 3.0e8).into());
//let g = norm_color(cell.ey().into());