Ignore:
Timestamp:
Dec 18, 2011, 6:55:46 PM (11 years ago)
Author:
steve
Message:

Added in new test function for balanced code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/__init__.py

    r8248 r8288  
    175175# Create domain from file
    176176#----------------------------
    177 def create_domain_from_file(file):
     177def create_domain_from_file(file, DomainClass=Domain):
    178178    """
    179179    Create a domain from a file
    180180    """
    181     return pmesh_to_domain_instance(file,Domain)
     181    return pmesh_to_domain_instance(file,DomainClass=DomainClass)
    182182
    183183#---------------------------
Note: See TracChangeset for help on using the changeset viewer.