You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AdvDiffusion is not a positional drop-in for AdvDiffusionSLCN, and NavierStokesSwarm is the same class as NavierStokesSLCN #712
A call that passed restore_points_func positionally to AdvDiffusionSLCN gives that value to theta on AdvDiffusion. A float lands silently; a callable would probably fail somewhere well away from the call site. Argument 6 then swaps verbose and peclet_weight, which is float against bool and also silent.
Options: make everything after V_fn keyword-only on both, or align the orders. Keyword-only is the smaller change and matches how the docs already show them.
NavierStokesSwarm and NavierStokesSLCN are the same class
from .solversimportSNES_NavierStokesasNavierStokesSwarmfrom .solversimportSNES_NavierStokesasNavierStokesSLCN
Two public names for one class, and the names promise different transport. Someone reaching for NavierStokesSwarm because their model carries particles gets the semi-Lagrangian solver and no indication of it. Either one name is wrong and should go, or the swarm variant it names does not exist yet and the alias should not either.
Neither is urgent, and neither breaks a keyword-argument call.
Underworld development team with AI support from Claude Code
Activity