Ignore:
Timestamp:
Apr 20, 2005, 5:41:03 PM (20 years ago)
Author:
steve
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution-parallel/domain.py

    r1232 r1237  
    430430        self.distribute_to_vertices_and_edges()
    431431
     432        #Initialize boundary values
     433        self.update_boundary()
    432434
    433435        #Or maybe restore from latest checkpoint
     
    439441
    440442        while True:
     443
     444            #Compute fluxes across each element edge
     445            self.compute_fluxes()
     446
     447            #Update timestep to fit yieldstep and finaltime
     448            self.update_timestep(yieldstep, finaltime)
     449
     450            #Update conserved quantities
     451            self.update_conserved_quantities()
     452
     453            #Update vertex and edge values
     454            self.distribute_to_vertices_and_edges()
     455
    441456            #Update boundary values
    442457            self.update_boundary()
    443 
    444             #Compute fluxes across each element edge
    445             self.compute_fluxes()
    446 
    447             #Update timestep to fit yieldstep and finaltime
    448             self.update_timestep(yieldstep, finaltime)
    449 
    450             #Update conserved quantities
    451             self.update_conserved_quantities()
    452 
    453             #Update vertex and edge values
    454             self.distribute_to_vertices_and_edges()
    455458
    456459            #Update time
Note: See TracChangeset for help on using the changeset viewer.