Skip to content

Conversation

@ffoucart
Copy link
Contributor

Proposed changes

Fix a bug in the coordinate of the emitted MC packets

Upgrade instructions

NA

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

@ffoucart
Copy link
Contributor Author

The factor of 2.0 was included both in logical_dx (Line 91) and in the calculation of the coordinate location of the edge of a cell, double counting it.

Emit test now also only emits in one cell, to test emission in
correct cell.
@ffoucart ffoucart force-pushed the MCEmissionCoordFix branch from 7aba6a6 to 24997fa Compare May 14, 2024 20:23
@ffoucart
Copy link
Contributor Author

I don't think either of the failing test are related to this PR, but let me know if I should look into it.

@nilsdeppe nilsdeppe merged commit f679b1c into sxs-collaboration:develop May 20, 2024
@nilsvu nilsvu added the bugfix label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants