Skip to main content

femm_field_func

Function femm_field_func 

Source
pub fn femm_field_func(model: FemmModel) -> Func
Expand description

Wraps a model’s potential field as a sim-numbers Func over position.

The returned function solves model with its default parameters and samples the solved potential field at (x, y). Mesh or solve failures propagate through the callable boundary; this path never fabricates a replacement solution.