Message: How to use primitive scorer with Multithreading? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to use primitive scorer with Multithreading? 

Forum: Multithreading
Date: 05 Feb, 2015
From: matthew <matthew>

I've recently adapted to multithreaded code in order to simulate a larger number of particles in a reasonable amount of time.

Sadly, the primitive scorers I set up to record energy deposition are no longer accurate. The scorer I'm using is defined as:

/score/create/boxMesh boxMesh_1
/score/mesh/boxSize 1. 1001. 101. km
/score/mesh/nBin 1 1001 101
/score/mesh/translate/xyz 0 0 2215 km

/score/quantity/energyDeposit alpha_eDep
/score/filter/particle alphaFilter alpha

/score/quantity/energyDeposit proton_eDep
/score/filter/particle protonFilter proton

/score/quantity/energyDeposit eMinus_eDep
/score/filter/particle eMinusFilter e-

/score/quantity/energyDeposit total_eDep


Can I use the same scorer with multithreading or do I need to rewrite code for energy deposition?
thanks for any advice,

 Add Message Add Message
to: "How to use primitive scorer with Multithreading?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews