Skip to content

Probe output not working #577

Answered by Status-Mirror
wnguyen1312 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey William @wnguyen1312,

In the previous method, all probe interactions are still recorded, they're just scattered about all the SDF files. You could still recover all the probe hits in the simulation if you scanned all the SDF files.

Yes, you can just dump a single SDF file at the end of the simulation, which would contain all the probe hits between the start and simulation end. The only disadvantage to this is that you lose temporal resolution - you don't know when the particles pass the probes, which you would have with the multiple SDF method.

However, if the probe times are important, you can switch on the -DPROBE_TIME compiler flag in EPOCH. This forces probe particles to output an…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wnguyen1312
Comment options

@Status-Mirror
Comment options

Answer selected by wnguyen1312
@wnguyen1312
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants