-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated time dependant weight windows #255
base: dev
Are you sure you want to change the base?
Conversation
…v, reduce N_particle and N_census for faster test
@shac170, I edited the regression test so that |
@shac170 , I put comments and rearranged the |
The previously failing Numba test is due to the use of a boolean array for indexing in searching for the minimum flux in the weight window update function. I rewrite it into the explicit for-loops version. It is weird that it passed before the rearrangement was made. The MPI test should still fail. I think it is because, in the multi-batch mode, we only reduce the tallies, including the flux, at the end of each batch, while with the automated WW, we need to reduce it at the end of each census. My suggestion is that instead of using the MC/DC tally to store WW flux, we should allocate a dedicated WW flux array. Let me know that you think, @shac170 . |
The modifications to avoid boolean array indexing and all other modifications look good to me. I understand the issue with only reducing tallies at the end of the batch. Would it be too expensive to reduce it at each census? I am also confused on what a separate WW tally would look like (and the additional cost associated with it) @ilhamv |
@shac170 , I think it is inevitable that we need to reduce at each census as all processes need to know the new updated window... |
Added functionality for automated time dependant weight windows based on the previous timestep solution.