Changeset 2569 for inundation/pyvolution/domain.py
- Timestamp:
- Mar 21, 2006, 2:55:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/domain.py
r2551 r2569 657 657 #FIXME: Boundary objects should not include ghost nodes. 658 658 for i, ((vol_id, edge_id), B) in enumerate(self.boundary_objects): 659 q = B.evaluate(vol_id, edge_id) 660 661 for j, name in enumerate(self.conserved_quantities): 662 Q = self.quantities[name] 663 Q.boundary_values[i] = q[j] 659 if B is None: 660 print 'WARNING: Ignored boundary segment %d (None)' 661 else: 662 q = B.evaluate(vol_id, edge_id) 663 664 for j, name in enumerate(self.conserved_quantities): 665 Q = self.quantities[name] 666 Q.boundary_values[i] = q[j] 664 667 665 668
Note: See TracChangeset
for help on using the changeset viewer.