- Timestamp:
- 10/05/10 12:00:01 (20 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/mcstas-1.x/lib/sources/Source_simple.comp
r2168 r2963 20 20 * 21 21 * %D 22 * The routine is a circular neutron source, which aims at a square target22 * The routine is a circular or rectangular neutron source, which aims at a square target 23 23 * centered at the beam (in order to improve MC-acceptance rate). The angular 24 24 * divergence is then given by the dimensions of the target. … … 138 138 Lambda=Lambda0+dLambda*randpm1(); 139 139 } else { 140 Lambda= randnorm()*dLambda;140 Lambda=Lambda0+randnorm()*dLambda; 141 141 } 142 142 v = K2V*(2*PI/Lambda);
