Learn R Programming

libamtrack (version 0.6.3)

AT.total.D.Gy: AT.total.D.Gy

Description

Computes the total dose of a mixed particle field

Usage

AT.total.D.Gy(E.MeV.u, particle.no, fluence.cm2, material.no,
 stopping.power.source.no)

Arguments

E.MeV.u
energy of particles in the mixed particle field (array of size number.of.field.components) (see also E.MeV.u).
particle.no
particle index (array of size number.of.field.components) (see also particle.no).
fluence.cm2
fluences of particles in the mixed particle field (array of size number.of.field.components).
material.no
material index (see also material.no).
stopping.power.source.no
TODO (see also stopping.power.source.no).

Value

  • total.dose.Gytotal.dose.Gy

See Also

View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/tags/0.6.3/src/AT_Phy sicsRoutines.c#L521

Examples

Run this code
# Compute dose of monoenergtic high energy
# and a mixed (99/1) field of high and low 
# energy protons in water at same fluence
AT.total.D.Gy( E.MeV.u     = 100,
               particle.no = 1001, 
               fluence.cm2 = 100e8, 
               material.no = 1,
               stopping.power.source.no = 2)
AT.total.D.Gy( E.MeV.u     = c(100, 5),
               particle.no = c(1001, 1001), 
               fluence.cm2 = c(99e8, 1e8), 
               material.no = 1,
               stopping.power.source.no = 2)

Run the code above in your browser using DataLab