Changeset 2910

Show
Ignore:
Timestamp:
07/17/10 11:19:59 (19 months ago)
Author:
pkwi
Message:

Oops! First bug found in McStas 1.12b... I forgot to exchange branchframe in Kim's instrumentfile for the new twopulses parameter...

- Not severe enough to re-release I think... ?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/mcstas-1.x/lib/examples/ESS_IN5_reprate.instr

    r2699 r2910  
    1919*       Lam_target:             [AA]    Target wavelength for the monochromating crystal 
    2020*       Pulse_width:            [s]     Length of the long pulse. Default to 2 ms. 
    21 *       BRANCHFRAME:            [1]     Probability of emitting neutrons from a second pulse. Default 0. 
     21*       Twopulses:              [1]     Possibility of emitting neutrons from a second pulse. Default 0. 
    2222* 
    2323*       GUI_start:              [m]     Distance from moderator to guide start 
     
    6464***************************************************/ 
    6565 
    66 DEFINE INSTRUMENT ESS_IN5_reprate( Lam_min=4.9, Lam_max=5.1, Lam_target=5, Pulse_width=0.002, BRANCHFRAME=0, GUI_start=1.5,  
     66DEFINE INSTRUMENT ESS_IN5_reprate( Lam_min=4.9, Lam_max=5.1, Lam_target=5, Pulse_width=0.002, Twopulses=0, GUI_start=1.5,  
    6767                               FO1_DIST=6, L_ballistic_begin=19.5, L_ballistic_end=17, Length=100, SAMPLE_DIST=1.2,  
    6868                               DETECTOR_DIST=4, GUI_h=0.105, GUI_w=0.1, GUI_GAP=0.05, H1=0.167, W1=0.116, H2=0.185,  
     
    108108    tau2 = 20e-6, d = Pulse_width, n = 20, n2 = 5, chi2 = 0.9, 
    109109    I0 = 6.9e11, I2 = 27.6e10, branch1 = 1, branch2 = 0.5, 
    110     branch_tail = 0.1, branchframe = BRANCHFRAME) 
     110    branch_tail = 0.1, twopulses = Twopulses) 
    111111  AT (0, 0, 0) RELATIVE Origin 
    112112