Skip to content

feat: More Monte Carlo#2554

Merged
trisyoungs merged 14 commits into
develop2from
dissolve2/re-mc
Jul 14, 2026
Merged

feat: More Monte Carlo#2554
trisyoungs merged 14 commits into
develop2from
dissolve2/re-mc

Conversation

@trisyoungs

Copy link
Copy Markdown
Member

This PR brings in MCNode (== MolShake) and IntraMCNode (== IntraShake).

There is an opportunity to improve their functionality by implementing per-Species step sizes (a feature long missing from Dissolve) but unfortunately this requires a bit of thought on serialisation of the required ResolvableKeyedVector as a piece of restartable data. So I leave that for a follow-up.

Comment thread src/nodes/mcCommon.h Outdated

#pragma once

namespace MCCommon

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.

Oh, a non-class in with the nodes! Should we look at grouping all these mc-related node/namespace files into a single subdir (as we do with cif stuff)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think I'd be inclined not to and stick to the single h/cpp file layout - each of the MC nodes is doing a specific job, after all. This little namespace could be moved out to the math/ dir as a very general-purpose thing I suppose?

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.

Yes that sounds good.

@trisyoungs trisyoungs merged commit 3c68748 into develop2 Jul 14, 2026
8 of 9 checks passed
@trisyoungs trisyoungs deleted the dissolve2/re-mc branch July 14, 2026 06:58
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