-
Notifications
You must be signed in to change notification settings - Fork 3
Regions
jessicahunter24 edited this page Mar 31, 2013
·
22 revisions
py_printf('INFO', 'Initializing fuel-moderator mix region...')
# Define region
region_mix = Region('infinite medium', INFINITE)
region_mix.setMaterial(mix)
py_printf('INFO', 'Initializing fuel and moderator regions...')
# Define moderator region
region_mod = Region('moderator', MODERATOR)
region_mod.setMaterial(moderator)
region_mod.setFuelRadius(radius_fuel)
region_mod.setPitch(pitch)
# Define fuel region
region_fuel = Region('fuel', FUEL)
region_fuel.setMaterial(fuel)
region_fuel.setFuelRadius(radius_fuel)
region_fuel.setPitch(pitch)