|
void | MeasureScatteringsDistribution (int numNeutrons) |
| Perform an experiment in which a set number of neutrons are propagated through their lifetime in the reflector. The experiment aims to measure the distribution of the number of scatterings. More...
|
|
void | MeasureTransmissivity (int numExperiments, int numNeutronsPerExp) |
| Perform #numExperiments experiments in which a set number of neutrons are propagated through their lifetime in the reflector. Average the measurements and calculate the variance. More...
|
|
|
double | XPos = 0.0 |
| The position of the current neutron. More...
|
|
Random | RNG = new Random() |
| The direction of the last scattering. We need to know it for the next scattering, which will be in the opposite direction. More...
|
|
int | NScatterings = 0 |
| The number of scatterings of the current neutron. More...
|
|
void IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.ScatterNeutron |
( |
| ) |
|
|
inlineprivate |
Determines the new position after scattering (the position of the new scattering). Does not check whether the neutron is already outside of the material.
double IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.RandomDirection |
( |
| ) |
|
|
inlineprivate |
void IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.PropagateNeutronUntilExit |
( |
| ) |
|
|
inlineprivate |
Create a new neutron and scatter it (calling ScatterNeutron()) until it exits the material.
void IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.MeasureScatteringsDistribution |
( |
int |
numNeutrons | ) |
|
|
inline |
Perform an experiment in which a set number of neutrons are propagated through their lifetime in the reflector. The experiment aims to measure the distribution of the number of scatterings.
void IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.MeasureTransmissivity |
( |
int |
numExperiments, |
|
|
int |
numNeutronsPerExp |
|
) |
| |
|
inline |
Perform #numExperiments experiments in which a set number of neutrons are propagated through their lifetime in the reflector. Average the measurements and calculate the variance.
- Parameters
-
numExperiments | The number of experiments to be averaged over. |
numNeutronsPerExp | The number of neutrons propagated in each experiment. |
double IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.ReflectorWidth = 1.0 |
The width of the neutron reflector.
double IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.MeanFreePath = 0.5 |
The mean free path before another scattering occurs.
double IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.XPos = 0.0 |
|
private |
The position of the current neutron.
Random IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.RNG = new Random() |
|
private |
The direction of the last scattering. We need to know it for the next scattering, which will be in the opposite direction.
A random number generator.
int IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.NScatterings = 0 |
|
private |
The number of scatterings of the current neutron.
double IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.Transmissivity D:\scatterings.txt" |
double IG.MPetekLib.Algorithms.Models.CompPhys.SimpleNeutronReflector.TransmissivityVariance |
The documentation for this class was generated from the following file: