Skip to main content

with_volume_mesh

Function with_volume_mesh 

Source
pub fn with_volume_mesh<F, R>(name: &str, f: F) -> Option<R>
where F: FnOnce(&mut VolumeMesh) -> R,
Expand description

Executes a closure with mutable access to a registered volume mesh.

Returns None if the volume mesh does not exist.