Troubleshoot toroid2.5d
This commit is contained in:
@@ -70,9 +70,15 @@ impl<'a> RenderSteps<'a> {
|
||||
width = (width as f32 * stretch) as _;
|
||||
height = max_height;
|
||||
}
|
||||
trace!("rendering at {}x{}", width, height);
|
||||
trace!("rendering at {}x{} with z={}", width, height, z);
|
||||
let mut me = Self::new(state, measurements, width, height, z);
|
||||
me.render_scalar_field(10.0, false, 2, |cell| cell.mat().conductivity().mag());
|
||||
me.render_scalar_field(10.0, false, 2, |cell| {
|
||||
cell.mat().conductivity().mag() + if cell.mat().is_vacuum() {
|
||||
0.0
|
||||
} else {
|
||||
5.0
|
||||
}
|
||||
});
|
||||
me.render_scalar_field(100.0, true, 0, |cell| cell.mat().m().mag());
|
||||
if false {
|
||||
me.render_b_z_field();
|
||||
|
Reference in New Issue
Block a user