fix boundary term allocation
This commit is contained in:
parent
fe2c7f1253
commit
5f7bd70d1b
|
@ -47,19 +47,19 @@ impl<T: operators::UpwindOperator> System<T> {
|
||||||
}
|
}
|
||||||
_ => None,
|
_ => None,
|
||||||
},
|
},
|
||||||
s: match bt.north {
|
s: match bt.south {
|
||||||
euler::BoundaryCharacteristic::Vortex(_) => {
|
euler::BoundaryCharacteristic::Vortex(_) => {
|
||||||
Some(ndarray::Array2::zeros((4, grid.nx())))
|
Some(ndarray::Array2::zeros((4, grid.nx())))
|
||||||
}
|
}
|
||||||
_ => None,
|
_ => None,
|
||||||
},
|
},
|
||||||
e: match bt.north {
|
e: match bt.east {
|
||||||
euler::BoundaryCharacteristic::Vortex(_) => {
|
euler::BoundaryCharacteristic::Vortex(_) => {
|
||||||
Some(ndarray::Array2::zeros((4, grid.ny())))
|
Some(ndarray::Array2::zeros((4, grid.ny())))
|
||||||
}
|
}
|
||||||
_ => None,
|
_ => None,
|
||||||
},
|
},
|
||||||
w: match bt.north {
|
w: match bt.west {
|
||||||
euler::BoundaryCharacteristic::Vortex(_) => {
|
euler::BoundaryCharacteristic::Vortex(_) => {
|
||||||
Some(ndarray::Array2::zeros((4, grid.ny())))
|
Some(ndarray::Array2::zeros((4, grid.ny())))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue