Changeset 9330
- Timestamp:
- Sep 11, 2014, 12:48:26 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_parallel/parallel_api.py
r9301 r9330 86 86 #------------------------------------------------------------------------ 87 87 for q in quantities: 88 parallel_domain.set_quantity(q, quantities[q]) 89 88 try: 89 parallel_domain.set_quantity(q, quantities[q]) 90 except KeyError: 91 #print 'Try to create quantity %s'% q 92 from anuga import Quantity 93 Q = Quantity(parallel_domain, name=q, register=True) 94 parallel_domain.set_quantity(q, quantities[q]) 90 95 91 96 #------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.