Changeset 3645
- Timestamp:
- Sep 21, 2006, 2:56:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/okushiri_parallel.py
r3641 r3645 113 113 Br = Reflective_boundary(domain) 114 114 115 function = file_function(project.boundary_filename[:-4] + '.tms', 116 domain, 117 verbose=True)115 # Note this boundary cannot be fully specified here and 116 # distributed without problem. 117 #Bts = Transmissive_Momentum_Set_Stage_boundary(domain, function) 118 118 119 # Note this boundary can be fully specified here and 120 # distributed without problem. 121 Bts = Transmissive_Momentum_Set_Stage_boundary(domain, function) 122 123 domain.set_boundary({'wave': Bts, 'wall': Br}) 119 domain.set_boundary({'wave': None, # Bind this one later 120 'wall': Br}) 124 121 125 122 … … 127 124 # Distribute domain 128 125 #------------------------- 129 domain = distribute(domain) 126 if numprocs > 1: 127 domain = distribute(domain) 130 128 129 function = file_function(project.boundary_filename[:-4] + '.tms', 130 domain, 131 verbose=True) 132 133 Bts = Transmissive_Momentum_Set_Stage_boundary(domain, function) 134 domain.modify_boundary({'wave': Bts}) 131 135 132 136 #-------------------------
Note: See TracChangeset
for help on using the changeset viewer.