Skip to content

Make PE_ANGLE_RESOLUTION overrideable via environment variable#25

Open
ndevenish wants to merge 1 commit into
GarmanGroup:masterfrom
ndevenish:pe_angle_resolution
Open

Make PE_ANGLE_RESOLUTION overrideable via environment variable#25
ndevenish wants to merge 1 commit into
GarmanGroup:masterfrom
ndevenish:pe_angle_resolution

Conversation

@ndevenish
Copy link
Copy Markdown

CrystalPolyhedron uses this to calculate dose effects from photoelectrons. It samples PE_ANGLE_RESOLUTION² random tracks to calculate:

for (int q = 0; q < PE_ANGLE_RESOLUTION*PE_ANGLE_RESOLUTION; q++) { //for every tracks i'm choosing

By default this is hardcoded to one, but I've found it useful to up (at simulation time cost) for statistical comparisons, when comparing algorithm re-implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant