StructureSwitchFlowDirection Method

Switches sign and derivatives. Should be used when flow direction is against increasing chainage

Definition

Namespace: DHI.Mike1D.StructureModule
Assembly: DHI.Mike1D.StructureModule (in DHI.Mike1D.StructureModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
protected static void SwitchFlowDirection(
	ref double q,
	ref double dqdhUps,
	ref double dqdhDws
)

Parameters

q  Double
Flow
dqdhUps  Double
Derivative of flow with respect to upstream water level
dqdhDws  Double
Derivative of flow with respect to downstream water level

See Also