/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
Radioactivity::Radioact Class Reference

List of all members.

Public Member Functions

def __init__
def tools

Public Attributes

 radioact

Detailed Description

Configure GenDecay generator 

Definition at line 32 of file Radioactivity.py.


Constructor & Destructor Documentation

def Radioactivity::Radioact::__init__ (   self,
  name = None,
  volume = None,
  nuclide = None,
  abundance = None,
  strategy = None,
  material = None,
  fillvolumes = None 
)

Definition at line 35 of file Radioactivity.py.

00044                   :
00045         
00046         from GenDecay.Helpers import Decay
00047 
00048         radioact = Decay(name)
00049         radioact.decay.ParentNuclide = nuclide 
00050         radioact.decay.ParentAbundance = abundance
00051         radioact.decay.SecularEquilibrium = True
00052         radioact.decay.CorrelationTime = 0.01*units.second
00053 
00054         radioact.positioner.Volume = volume
00055         radioact.positioner.Position = [0, 0, 0]
00056         radioact.positioner.Mode = "Uniform"
00057         radioact.positioner.Spread = 20*units.m
00058         radioact.positioner.Strategy = strategy
00059         if radioact.positioner.Strategy == 'VolumeType':
00060             radioact.positioner.FillVolumes = [fillvolumes]
00061         if radioact.positioner.Strategy == 'Material':
00062             radioact.positioner.FillMaterials = [material]
00063 
00064         radioact.transformer.Volume = volume
00065 
00066         self.radioact = radioact


Member Function Documentation

def Radioactivity::Radioact::tools (   self)

Definition at line 67 of file Radioactivity.py.

00068                    :
00069         return self.radioact.tools()
    

Member Data Documentation

Definition at line 35 of file Radioactivity.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:54:48 for SourceRate by doxygen 1.7.4