Function wafer::grid::get_mut_work_area [−][src]
pub fn get_mut_work_area(
arr: &mut Array3<R64>,
ext: usize
) -> ArrayViewMut3<R64>
Shortcut to getting a mutable slice of the workable area of the current array. In other words, the finite element only cells are removed
Arguments
arr
- A mutable reference to the array which requires slicing.ext
- Extent of central difference limits. Fromconfig.central_difference.ext()
.
Returns
A mutable arrav view containing only the workable area of the array.