Several benchmark SANS samples are defined in this routine. The first ones are analytically defined. Higher numbers are forseen for tables.
In principle, the exact definitions can be changed freely - inside this code.
The consideration of all parameters as a routine parameter would be too much for the general purpose.
The user might decide to make single parameters routine parameters.
For the scattering simulation a high fraction of neutron paths is directed to the scattering (exact fraction is sc_aim).
The remaining paths are used for the transmitted beams. The absolute intensities are treated accordingly, and the p-parameter is set accordingly.
For the scattering probability, the integral of the scattering function between Q = 0.0001 and 1.0 AA-1 is calculated.
This is used in terms of transmisson, and of course for the scattering probability.
In this way, multiple scattering processes could be treated as well.
The typical SANS range was considered to be between 0.0001 and 1.0 AA-1.
This means that the scattered neutrons are equally distributed in this range on logarithmic Q-scales.
The Q-parameters can be changed still inside the code, if needed.
Parameters in boldface are required;
the others are optional.
width of sample volume
height of sample volume
thickness of sample volume
model no., real variable will be rounded. negative numbers interpreted as model #0, too large as #18.
case 0 - no coherent scattering
case 1 - polymer with Mw = 2.000g/mol
case 2 - polymer with Mw = 1.000.000g/mol
case 3 - microemulsion
case 4 - wormlike micelle
case 5 - sphere, R = 25 AA
case 6 - sphere, R = 500 AA
case 7 - polymer blend
case 8 - diblock copolymer
case 9 - multilamellar vesicles
case 10 - logarithmically spaced series of sharp peaks
case 11 - logarithmically spaced series of sharp delta peaks !!!!!!
case 18: free