tud_lbm.operators.step ====================== .. py:module:: tud_lbm.operators.step .. autoapi-nested-parse:: Step operators — implementations of update_timestep protocols. Public API: build_step_fn() Implementation modules (_single_phase.py, _multiphase.py, _multiphase_wetting.py) are internal; use the factory to access. Helper modules (_common.py) provide shared logic. .. rubric:: Example from tud_lbm.operators.step import build_step_fn step = build_step_fn("single_phase") new_state = step(setup, state) Functions --------- .. autoapisummary:: tud_lbm.operators.step.build_step_fn Package Contents ---------------- .. py:function:: build_step_fn(scheme: str = 'single_phase') -> tud_lbm.operators.protocols.StepOperator Return a step operator looked up from the registry. :param scheme: Step operator name ("single_phase", "multiphase", "multiphase_wetting"). Defaults to "single_phase". :returns: A callable satisfying the StepOperator protocol, registered under the "update_timestep" kind. :raises ValueError: If scheme is not registered. .. rubric:: Examples >>> from tud_lbm.operators.step import build_step_fn >>> step = build_step_fn("single_phase") >>> new_state = step(setup, state)