Changeset 9107


Ignore:
Timestamp:
May 11, 2014, 12:28:27 PM (11 years ago)
Author:
davies
Message:

Minor change in setting riverwall elevation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/shallow_water/swDE1_domain_ext.c

    r9106 r9107  
    480480                // riverwall_elevation + riverwall_rowIndex
    481481                RiverWall_count+=1;
    482                 // Set central bed to riverwall elevation
    483                 z_half=riverwall_elevation[RiverWall_count-1];
    484482                // Since there is a wall, use first order extrapolation for this edge
    485483                // This also makes more sense from the viewpoint of weir relations
     
    496494                    zr = zc_n;
    497495                }
     496               
     497                // Set central bed to riverwall elevation
     498                z_half=max(riverwall_elevation[RiverWall_count-1], max(zl, zr)) ;
    498499
    499500            }
Note: See TracChangeset for help on using the changeset viewer.