Skip to content

fixed the bug based on Claude's suggestion - #137

Merged
latessa merged 1 commit into
XSCAPE-2.1.1-RCfrom
bugFixSurfaceCell
Sep 24, 2026
Merged

latessa merged 1 commit into
XSCAPE-2.1.1-RCfrom
bugFixSurfaceCell

Conversation

@chunshen1987

Copy link
Copy Markdown
Contributor

Fix the calculation for u^0 from three velocities v when preparing surface cells.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review comments remain.

Review effort: Lite
Findings: None

What changed in this PR

Fixes the calculation of (u^0) from three-velocity components when preparing surface cells.

Changes:

  • Computes the Lorentz factor using (1/\sqrt{1-v^2}).
File Description
src/​framework/​SurfaceFinder.cc Corrects four-velocity initialization.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jhputschke jhputschke left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@latessa
latessa changed the base branch from main to XSCAPE-2.1.1-RC September 24, 2026 00:02

@latessa latessa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update. I've redirected the pull request to the release candidate branch.

@latessa
latessa merged commit 44ba721 into XSCAPE-2.1.1-RC Sep 24, 2026
11 of 14 checks passed
@latessa latessa added this to the X-SCAPE 2.1.1 Release milestone Sep 24, 2026
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.

4 participants