Changeset 2866 for development


Ignore:
Timestamp:
May 15, 2006, 2:26:21 PM (18 years ago)
Author:
ole
Message:

Implemented Domain(meshfile) variant widely, updated documentation and added more statistics

Location:
development
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • development/okushiri_2005/lwru2.py

    r2864 r2866  
    9999    print 'Creating domain from', project.mesh_filename
    100100
    101     domain = cache(pmesh_to_domain_instance,
    102                    (project.mesh_filename, Domain),
    103                    dependencies = [project.mesh_filename])
     101    domain = Domain(project.mesh_filename, use_cache=True, verbose=True)
    104102
    105103else:
     
    122120domain.store = True    #Store for visualisation purposes
    123121
    124 domain.check_integrity()
     122#domain.check_integrity()
    125123print 'Number of triangles = ', len(domain)
    126124print 'The extent is ', domain.get_extent()
  • development/stochastic_study/run_model.py

    r2535 r2866  
    4444print 'Creating domain from', project.mesh_filename
    4545
    46 domain = pmesh_to_domain_instance(project.mesh_filename, Domain,
    47                                   use_cache=True,
    48                                   verbose=True)
     46#domain = pmesh_to_domain_instance(project.mesh_filename, Domain,
     47#                                  use_cache=True,
     48#                                  verbose=True)
     49
     50domain = Domain(project.mesh_filename,
     51                use_cache=True,
     52                verbose=True)               
     53               
    4954
    5055print 'Number of triangles = ', len(domain)
Note: See TracChangeset for help on using the changeset viewer.