The slope is only required for ColebrookWhite and HazenWilliams. It must be positive. If negative, it is not considered, but instead a design conveyance is returned (where no slope is available).
public static double CalculateSpecificConveyance(
ResistanceFormulation resistanceType,
double resistanceNumber,
double hydraulicRadius,
HDParameterData hdParams,
double slope = -1
)[Missing <param name="resistanceType"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.CalculateSpecificConveyance(DHI.Mike1D.Generic.ResistanceFormulation,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData,System.Double)"]
[Missing <param name="resistanceNumber"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.CalculateSpecificConveyance(DHI.Mike1D.Generic.ResistanceFormulation,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData,System.Double)"]
[Missing <param name="hydraulicRadius"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.CalculateSpecificConveyance(DHI.Mike1D.Generic.ResistanceFormulation,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData,System.Double)"]
[Missing <param name="hdParams"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.CalculateSpecificConveyance(DHI.Mike1D.Generic.ResistanceFormulation,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData,System.Double)"]
[Missing <param name="slope"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.CalculateSpecificConveyance(DHI.Mike1D.Generic.ResistanceFormulation,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData,System.Double)"]
[Missing <returns> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.CalculateSpecificConveyance(DHI.Mike1D.Generic.ResistanceFormulation,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData,System.Double)"]