|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscard |
Solve a coupling for any flow law.
| law | Callable returning a FlowSample for a pressure difference |
| gain | From flow_coupling_gain |
| target | From flow_coupling_target |
| lower | Lower end of a bracket holding the solution |
| upper | Upper end of the bracket |
| guess | Starting difference, usually the previous sample's |
| options | Stopping rule, see bracketed_newton |
A flow whose magnitude never exceeds F brackets the solution in [target - gain F, target + gain F]. The bracket must contain a sign change of d + gain * flow(d) - target, which the search checks unless options.check_bracket is off.
Definition at line 86 of file PressureFlowSolve.hpp.