Click or drag to resize

XSBaseRawGetLocalVelocityFactorFromIntegral Method

Calculates the local velocity factor for use in GetLocalVelocity(Double, Double, Double).

The method is seperated from the GetLocalVelocity(Double, Double, Double) method, since this can be an expensive method (integrating over the entire cross section), to be called once, and the result used many times by the GetLocalVelocity(Double, Double, Double) method.

Namespace:  DHI.Mike1D.CrossSectionModule
Assembly:  DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public double GetLocalVelocityFactorFromIntegral(
	double waterdepth
)

Parameters

waterdepth
Type: SystemDouble
Global water depth

Return Value

Type: Double
A factor used in GetLocalVelocity(Double, Double, Double). 0 on failure.
See Also