Skip to content

update MUSIC - #138

Merged
latessa merged 1 commit into
XSCAPE-2.1.1-RCfrom
jetSourcewith3DGlauber
Sep 29, 2026
Merged

latessa merged 1 commit into
XSCAPE-2.1.1-RCfrom
jetSourcewith3DGlauber

Conversation

@chunshen1987

Copy link
Copy Markdown
Contributor

Allow adding source terms to hydro from 3D-Glauber and jet energy deposition

Allow adding source terms to hydro from 3D-Glauber and jet energy deposition

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

🟡 Changes recommended

Configure the from-jet path only when a source provider is present to avoid unnecessary full-grid processing.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Updates MUSIC integration to support both 3D-Glauber and jet energy-deposition source terms.

Changes:

  • Registers JETSCAPE sources through MUSIC’s dedicated jet-source API.
  • Pins a compatible MUSIC revision.
File Summary
src/​hydro/​MusicWrapper.cc Registers JETSCAPE source terms with MUSIC; the from-jet path is enabled unconditionally.
external_packages/​get_music.sh Updates the pinned MUSIC dependency revision.

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

Comment thread src/hydro/MusicWrapper.cc
// need further improvement to accept multiple source term objects
// this is a temporary solution
music_hydro_ptr->add_hydro_source_terms(hydro_source_terms_ptr);
music_hydro_ptr->add_hydro_source_terms_from_jet(hydro_source_terms_ptr);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Doing some investigating on this, will report back when I have something

@cparker24 cparker24 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ok looks good to me

@latessa latessa added this to the X-SCAPE 2.1.1 Release milestone Sep 24, 2026
@latessa
latessa changed the base branch from main to XSCAPE-2.1.1-RC September 24, 2026 01:29

@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.

I've redirected the PR to the XSCAPE-2.1.1 release candidate branch.

Looks good. I'll hold off on merging in case you're waiting for comments from other reviewers.

jhputschke added a commit that referenced this pull request Sep 24, 2026
#138, commit 668893e (Chun Shen): pin MUSIC to cee9460 and
route the X-SCAPE liquefier source into MUSIC's new jet source slot
(add_hydro_source_terms_from_jet), so 3D-Glauber strings (InitialProfile 131)
and jet energy deposition can both drive the hydro.

The music4gpu side of the same change is not in yet; build_gpu needs the
matching MUSIC4GPU port (jet source slot) before it compiles again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019CrjXPHRbBKFbRYS7cdbKC
@latessa

latessa commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

@chunshen1987, are you waiting for any additional reviewer comments, or is this ready to merge into the release candidate?

@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 merged commit ab8210d into XSCAPE-2.1.1-RC Sep 29, 2026
12 of 14 checks passed
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.

5 participants