Improve the UPML parameters by properly summing the axis conductivities in the corners
This commit is contained in:
@@ -3,9 +3,9 @@ use coremem::{Driver, mat};
|
||||
fn main() {
|
||||
coremem::init_logging();
|
||||
let width = 201;
|
||||
let boundary = 20;
|
||||
let boundary = 50;
|
||||
let mut driver = Driver::new(width, width, 1e-3 /* feature size */);
|
||||
driver.add_y4m_renderer(&*format!("boundary_conditions_upml-{}.y4m", boundary));
|
||||
driver.add_y4m_renderer(&*format!("boundary_conditions_upml_round-{}.y4m", boundary));
|
||||
// driver.add_term_renderer();
|
||||
|
||||
//driver.add_boundary(boundary, 0.1);
|
||||
|
Reference in New Issue
Block a user