FlowResistanceInterp Method
Interpolate FlowResistance parameters by the given ratio. If either before or
after FlowResistance are null, null is returned. It fails if the resistance
formulation or the depth dependence differs.
Interpolation is like:
v = (1-ratio)*v_us + ratio*v_ds
Namespace: DHI.Mike1D.CrossSectionModuleAssembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
public static FlowResistance Interp(
FlowResistance before,
FlowResistance after,
double afterRatio
)
- before FlowResistance
- Before parameters
- after FlowResistance
- After parameters
- afterRatio Double
- Downstream ratio
FlowResistanceAn interpolated