INFN homepage
FLUKA: 13.2.27} usimbs.f user-defined IMportance BiaSing Previous Index Next

13.2.27} usimbs.f user-defined IMportance BiaSing


     Argument list:
            MREG   : region at the beginning of the step
            NEWREG : region at the end of the step
            FIMP   : returns the user-defined importance ratio between the
                     position at the end and at the beginning of the step

 The routine is called AT EVERY PARTICLE STEP. It can be used to
 implement any importance biasing scheme based on region number and
 on phase space coordinates and other information provided by COMMON TRACKR.

The user must balance the very effective biasing power offered by the routine with the important demand on CPU time due to the large number of calls. If name-based input is being used, the names corresponding to MREG and NEWREG can be obtained via a call to routine GEOR2N: CALL GEOR2N (NUMREG, NAMREG, IERR) where NUMREG (input variable) is the region number, and NAMREG (returned variable) is the corresponding region name (to be declared as CHARACTER*8). IERR is a returned error code: if = 0, the conversion is successful. See example in the description of BXDRAW above.

Previous Index Next