Displaying differences for changeset
 
display as  

src/java/hydraulics/ChannelGeometry.java

@@ -470,7 +470,7 @@
      * @return
      * @throws IOException 
      */
-    private double calcNormalDepth() throws IOException{
+    public double calcNormalDepth() throws IOException{
         //Use bisection method to find the "normal" depth that results in the specified discharge
         double a = 0.02;//minimum depth
         double b = 999;//maximum depth
@@ -531,7 +531,7 @@
      * @return
      * @throws IOException 
      */
-    private double calcCriticalDepth() throws IOException{
+    public double calcCriticalDepth() throws IOException{
         //Use bisection method to find the "critical" depth that results in the specified discharge
         double a = 0.02;//minimum depth
         double b = 999;//maximum depth