Skip to main content

with_volume_mesh_ref

Function with_volume_mesh_ref 

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

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

Returns None if the volume mesh does not exist.