G4VBiasingOperator::AttachTo warning

Issue #79 resolved
Jochem Snuverink created an issue

I am seeing in many test (e.g. the simpleMachine one of examples/simpleMachine) the following warning:

 *** G4Exception : BIAS.MNG.01
       issued by : G4VBiasingOperator::AttachTo(...)
 Biasing operator 'NotSureWhatToCallThis' can not be attached to Logical volume 'c1_vacuum_lv' which is already used by an other operator !

Not sure how important this is, but it should be fixed if possible.

Comments (3)

  1. Laurie Nevay

    It's not important - it means the same biasing operator is being attached twice. This is due to double counting of volumes somewhere. In effect not an issue. However, it does mean there's double counting and not good and is messy - I will trace and fix.

  2. Laurie Nevay

    This has been fixed now.

    There was initially double registration of logical volumes into multiple categories (vacuum, accelerator etc), but that is fixed.

    Additionally, the biasing operators were constructed twice causing a warning on every single logical volume on the model. This has now been fixed and the biasing is only constructed once in the main.

  3. Log in to comment