Click or drag to resize

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.CrossSectionModule
Assembly:  DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static FlowResistance Interp(
	FlowResistance before,
	FlowResistance after,
	double afterRatio
)

Parameters

before
Type: DHI.Mike1D.CrossSectionModuleFlowResistance
Before parameters
after
Type: DHI.Mike1D.CrossSectionModuleFlowResistance
After parameters
afterRatio
Type: SystemDouble
Downstream ratio

Return Value

Type: FlowResistance
An interpolated
Exceptions
ExceptionCondition
Mike1DException
See Also