Ignore:
Timestamp:
Aug 2, 2006, 5:14:16 PM (19 years ago)
Author:
duncan
Message:

Making set_region easier to use.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • development/dam_2006/run_dam.py

    r3446 r3447  
    5656    create_mesh.generate(project.mesh_filename,
    5757                         gate_position,
    58                          #is_course=True) # this creates the mesh
    59                          is_course=False) # this creates the mesh
     58                         is_course=True) # this creates the mesh
     59                         #is_course=False) # this creates the mesh
    6060
    6161    head,tail = path.split(project.mesh_filename)
     
    9191
    9292    print 'Available boundary tags', domain.get_boundary_tags()
    93 
     93    domain.set_region('dam','stage',0.2,
     94                                 location = 'unique vertices')
    9495    domain.set_region(Set_region('dam','stage',0.2,
    9596                                 location = 'unique vertices'))
Note: See TracChangeset for help on using the changeset viewer.