coremem tests: comment out dead code
This commit is contained in:
@@ -1800,11 +1800,6 @@ mod test {
|
||||
}
|
||||
})
|
||||
}
|
||||
fn pml_test_uniform_over_region<R: Region, S: GenericSim>(state: &mut S, reg: R, e: Vec3<f32>, hz: f32) -> f32 {
|
||||
pml_test_over_region(state, reg, |_idx| {
|
||||
(e, hz)
|
||||
})
|
||||
}
|
||||
|
||||
fn pml_test_at<S: GenericSim>(state: &mut S, e: Vec3<f32>, center: Index) -> f32 {
|
||||
pml_test_full_interior(state, |idx| {
|
||||
@@ -2028,6 +2023,11 @@ mod test {
|
||||
|
||||
// XXX the energies here are even worse than above.
|
||||
// just don't use our PML implementation: it's not great.
|
||||
// fn pml_test_uniform_over_region<R: Region, S: GenericSim>(state: &mut S, reg: R, e: Vec3<f32>, hz: f32) -> f32 {
|
||||
// pml_test_over_region(state, reg, |_idx| {
|
||||
// (e, hz)
|
||||
// })
|
||||
// }
|
||||
// #[test]
|
||||
// fn pml_boundary_3d_multidirectional_off_center_multisource() {
|
||||
// for dir in vec![Vec3::unit_x(), Vec3::unit_y(), Vec3::unit_z()] {
|
||||
|
Reference in New Issue
Block a user