A sphere in which gamma rays are created at random spots, flying off in random directions.
More...
|
double | MFPToRadius [get, set] |
| The ratio of the mean free path vs. the sphere's radius. More...
|
|
|
Random | RNG = new Random() |
| A random number generator. More...
|
|
A sphere in which gamma rays are created at random spots, flying off in random directions.
double IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.CalcFractionOfEscapedRays |
( |
| ) |
|
|
inline |
void IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.CalcFracOfEscRaysVsMFPToRadius |
( |
double |
initMFPToRad, |
|
|
double |
finalMFPToRad |
|
) |
| |
|
inline |
Calculates the data for the graph of the fraction of escaped rays vs. the MFPToRadiusRatio.
- Parameters
-
initMFPToRad | Initial MFPToRadiusRatio. |
finalMFPToRad | Final MFPToRadiusRatio. |
void IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.PrintResults |
( |
TextWriter |
writer | ) |
|
|
inline |
Prints the solution to the specified text writer.
- Parameters
-
void IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.PrintResults |
( |
string |
filePath | ) |
|
|
inline |
Prints the solution to the specified file.
If the file exists then it is overwritten.
- Parameters
-
inputFilePath | Path of the file where solution is written. |
int IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.NRays = 2000000 |
The number of rays that are created in the sphere.
double IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.Radius = 1.0 |
double IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.MeanFreePath = 1.0 |
The mean free path of gamma rays in the sphere.
Random IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.RNG = new Random() |
|
private |
A random number generator.
List<double[]> IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.FracOfEscRaysVsMFPToRadius = new List<double[]>(100) |
The data for the graph of the fraction of escaped rays vs. the MFPToRadiusRatio.
int IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.NSamples = 100 |
double IG.MPetekLib.Algorithms.Models.CompPhys.MCRadioactiveSphere.MFPToRadius |
|
getset |
The ratio of the mean free path vs. the sphere's radius.
The documentation for this class was generated from the following file: