Ignore:
Timestamp:
Nov 19, 2010, 2:53:46 PM (13 years ago)
Author:
steve
Message:

Added in a unit test for inlet operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/shallow_water/forcing.py

    r7967 r8073  
    278278        from math import pi, cos, sin
    279279
     280        if domain.numproc > 1:
     281            msg = 'Not implemented to run in parallel'
     282            assert self.__parallel_safe(), msg
     283
    280284        if center is None:
    281285            msg = 'I got radius but no center.'
     
    510514
    511515
     516    def __parallel_safe(self):
     517
     518        return false
    512519##
    513520# @brief A class for rainfall forcing function.
Note: See TracChangeset for help on using the changeset viewer.