Click or drag to resize

FlowResistance Methods

The FlowResistance type exposes the following members.

Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodControl
Setter for controllable entity. Used by the control module. Can safely be called multiple times with the same timeN.
Public methodStatic memberConvertResistances
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
Public methodStatic memberConvertToStandardResistances
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
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNonTabulatedResistanceDerivative
Return the resistance derivative value for a non-tabulated depth dependence.
Public methodGetNonTabulatedResistanceValue
Return the resistance value for a non-tabulated depth dependence.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInterp
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
Public methodIsTabulated
True if the resistance depth dependence is tabulated.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResetControlledState
Reset controlled state
Public methodSetExponentValues
Set exponent values, used when DepthDependence == Exponent The bottomValue and topValue follows the Formulation.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validate data consistency
Top
See Also