|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.modules.rainfallRunoffModel.objects.LinksInfo
public class LinksInfo
The purpose of this class is to be a centralized database for all the inforamtion related to the system of link that compose the river network. Note: In order to implement new routing schemes this class must be updated to provide the information for the links
| Constructor Summary | |
|---|---|
LinksInfo(LinksAnalysis linksCon)
Creates new instnace of LinksInfo |
|
| Method Summary | |
|---|---|
float |
basinArea()
Returns the basin area |
double |
Chezi(int LinkNumber)
Returns the Chezi coefficient for a given link |
float[][] |
getCheziArray()
Returns the array of Chezi coefficients for links in the network |
float[][] |
getCkArray()
Returns the array of coefficient in the parametrization FlowVelocity=coefficient*exp(NORM(sdResiduals))*Discharge^lambda1*UpstreamArea^lambda2 |
float |
getLamda1()
Returns the exponent for flow discharge in the parametrization FlowVelocity=coefficient*exp(NORM(sdResiduals))*Discharge^lambda1*UpstreamArea^lambda2 |
float |
getLamda2()
Returns the exponent for upstream area in the parametrization FlowVelocity=coefficient*exp(NORM(sdResiduals))*Discharge^lambda1*UpstreamArea^lambda2 |
float[][] |
getLengthInKmArray()
Returns the array of lengths for links in the network |
float[][] |
getLinkOrderArray()
Returns the array of strahler orders for links in the network |
float[][] |
getManningArray()
Returns the array of Manning coefficients for links in the network |
float[][] |
getSlopeArray()
Returns the array of average slopes for links in the network |
float[][] |
getUpStreamAreaArray()
Returns the array of upstream areas for links in the network |
float[][] |
getWidthArray()
Returns the array of channel widhts for links in the network |
double |
Length(int LinkNumber)
Returns the length for a given link |
double |
linkOrder(int LinkNumber)
Returns the Strahler-order for a given link |
void |
setCheziHG(float coefficient,
float exponent)
Assigns the Chezy coefficient of the links using a power law. |
void |
setLength(int LinkNumber,
float newLength)
|
void |
setManningHG(float coefficient,
float exponent)
Assigns the Manning coefficient of the links using a power law. |
void |
setSlopesHG(float coefficient,
float exponent,
float sdResiduals)
Assigns the slopes of the links using a power law. |
void |
setVqParams(float coefficient,
float sdResiduals,
float exponentQ,
float exponentA)
Assigns the parameters to the velocity function given by FlowVelocity=coefficient*exp(NORM(sdResiduals))*Discharge^exponentQ*UpstreamArea^exponentA where NORM() is a normally distributed random variable. |
void |
setWidthsHG(float coefficient,
float exponent,
float sdResiduals)
Assigns the channel widhts of the links using a power law. |
double |
Slope(int LinkNumber)
Returns the link average slope for a given link |
double |
upStreamArea(int LinkNumber)
Returns the upstream area for a given link |
double |
upStreamTotalLength(int LinkNumber)
Returns the upstream total channels lenght for a given link |
double |
Width(int LinkNumber)
Returns the channel width for a given link |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinksInfo(LinksAnalysis linksCon)
throws java.io.IOException
linksCon - The object describing the topologic connectivity of the river network
java.io.IOException - Captures errors while retreiving information| Method Detail |
|---|
public void setSlopesHG(float coefficient,
float exponent,
float sdResiduals)
coefficient - The coefficient in the power lawexponent - The exponent in the power lawsdResiduals - The statndard deviation of the residuals of the power law
public void setWidthsHG(float coefficient,
float exponent,
float sdResiduals)
coefficient - The coefficient in the power lawexponent - The exponent in the power lawsdResiduals - The statndard deviation of the residuals of the power law
public void setCheziHG(float coefficient,
float exponent)
coefficient - The coefficient in the power lawexponent - The exponent in the power law
public void setManningHG(float coefficient,
float exponent)
coefficient - The coefficient in the power lawexponent - The exponent in the power law
public void setVqParams(float coefficient,
float sdResiduals,
float exponentQ,
float exponentA)
coefficient - The coefficient in multiple power lawexponentQ - The exponent in the power law with respect to dischageexponentA - The exponent in the power law with respect to drainage areasdResiduals - The statndard deviation of the residuals of the power lawpublic float getLamda1()
public float getLamda2()
public double upStreamArea(int LinkNumber)
LinkNumber - The index of the desired link
public double linkOrder(int LinkNumber)
LinkNumber - The index of the desired link
public double Chezi(int LinkNumber)
LinkNumber - The index of the desired link
public double Width(int LinkNumber)
LinkNumber - The index of the desired link
public double Length(int LinkNumber)
LinkNumber - The index of the desired link
public void setLength(int LinkNumber,
float newLength)
public double Slope(int LinkNumber)
LinkNumber - The index of the desired link
public double upStreamTotalLength(int LinkNumber)
LinkNumber - The index of the desired link
public float[][] getCkArray()
public float[][] getUpStreamAreaArray()
public float[][] getLinkOrderArray()
public float[][] getCheziArray()
public float[][] getManningArray()
public float[][] getWidthArray()
public float[][] getLengthInKmArray()
public float[][] getSlopeArray()
public float basinArea()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.