Changeset 8653


Ignore:
Timestamp:
Nov 30, 2012, 9:49:39 AM (12 years ago)
Author:
steve
Message:

Changed assertion message to print out enquiry point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_parallel/parallel_operator_factory.py

    r8623 r8653  
    384384        assert len(inlet_procs) > 0, "Line does not intersect any domain"
    385385        assert inlet_master_proc >= 0, "No master processor assigned"
    386         if enquiry_point is not None: assert inlet_enq_proc >= 0, "No enquiry point processor assigned"
     386        if enquiry_point is not None: assert inlet_enq_proc >= 0, "Enquiry point %s not assigned to a processor" % str(enquiry_point)
    387387
    388388        # Send inlet_master_proc and inlet_procs to all processors in inlet_procs
Note: See TracChangeset for help on using the changeset viewer.