FlowResistance Methods

Methods

Clone Creates a new object that is a copy of the current instance.
Control Setter for controllable entity. Used by the control module. Can safely be called multiple times with the same timeN.
ConvertResistances Convert resistances from current formulation to new formalation To make inplace conversion, give the resistance array to both of the currentResistances and newResistances arguments. Not all type of conversions are supported. Currently only : - Mannings n to Mannings M
ConvertToStandardResistances Convert from the current formulation to the new/standard formulation. To make inplace conversion, give the resistance array to both of the currentResistances and newResistances arguments. Not all type of conversions are supported. Currently only : - Mannings n is converted to Mannings M
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetNonTabulatedResistanceDerivative Return the resistance derivative value for a non-tabulated depth dependence.
GetNonTabulatedResistanceValue Return the resistance value for a non-tabulated depth dependence.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Interp 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
IsTabulated True if the resistance depth dependence is tabulated.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ResetControlledState Reset controlled state
SetExponentValues Set exponent values, used when DepthDependence == Exponent The bottomValue and topValue follows the Formulation.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validate data consistency

See Also