Skip to content

refactor: Single configuration GR node and updated associates - #2204

Merged
trisyoungs merged 9 commits into
develop2from
dissolve2/single-configuration-gr
Jul 25, 2025
Merged

refactor: Single configuration GR node and updated associates#2204
trisyoungs merged 9 commits into
develop2from
dissolve2/single-configuration-gr

Conversation

@trisyoungs

Copy link
Copy Markdown
Member

Ahead of #2203 it was worthwhile taking a step back and refactoring the GRNode to take a single Configuration input rather than a std::vector. Combining GR results is a job for a separate node in the new scheme of things.

At the same time I have updated SQNode and NeutronSQNode and clarified the two separate "species population" maps we have - one with only ever integer populations coming from a Configuration, and one with only ever real populations coming from a PartialSet (which will occur when we start mixing GR results in the future).

@trisyoungs
trisyoungs force-pushed the dissolve2/single-configuration-gr branch from 65f3d26 to 7a1733b Compare July 23, 2025 08:45
Comment thread src/nodes/gr/gr.cpp Outdated
Co-authored-by: RobBuchanan <106311829+RobBuchananCompPhys@users.noreply.github.com>

@github-actions github-actions Bot 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.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 05be970 Previous: 05bb033 Ratio
BM_HistogramBinning_1d/16777216 24.497625486546447 ns/iter 11.218650361016083 ns/iter 2.18
BM_HistogramBinning_2d/16777216 45.473450867297316 ns/iter 21.48302218564237 ns/iter 2.12

This comment was automatically generated by workflow using github-action-benchmark.

CC: @disorderedmaterials/dissolve-devs

@trisyoungs
trisyoungs merged commit 3c58349 into develop2 Jul 25, 2025
11 checks passed
@trisyoungs
trisyoungs deleted the dissolve2/single-configuration-gr branch July 25, 2025 12:40
rprospero pushed a commit that referenced this pull request Sep 5, 2025
Co-authored-by: Tristan Youngs <trisyoungs@googlemail.com>
Co-authored-by: RobBuchanan <106311829+RobBuchananCompPhys@users.noreply.github.com>
rprospero pushed a commit that referenced this pull request Feb 4, 2026
Co-authored-by: Tristan Youngs <trisyoungs@googlemail.com>
Co-authored-by: RobBuchanan <106311829+RobBuchananCompPhys@users.noreply.github.com>
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.

2 participants