Skip to content

feat: Chiral nanotube and graphene sheet creator - #2195

Merged
trisyoungs merged 17 commits into
developfrom
better-nanotube-species
Jul 14, 2025
Merged

feat: Chiral nanotube and graphene sheet creator#2195
trisyoungs merged 17 commits into
developfrom
better-nanotube-species

Conversation

@trisyoungs

@trisyoungs trisyoungs commented Jul 8, 2025

Copy link
Copy Markdown
Member

This PR replaces the previous simplistic nanotube creation with one which implements the proper (n,m) system. It will also generate plain graphene sheets, periodic or not.

TODO

  • Rename dialog
  • H-termination
  • TIdy up tube ends in non-periodic generation
  • Extension of tubes / sheets along Y in integer multiples of c
  • Fix - generating one layer of overlapping atoms?

@trisyoungs
trisyoungs marked this pull request as ready for review July 9, 2025 14:25
@trisyoungs
trisyoungs requested a review from rprospero July 9, 2025 14:26

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

One minor suggestion that could result a negligible performance gain, but everything else looks good.

Comment thread src/gui/createGrapheneSpeciesDialog.cpp
trisyoungs and others added 2 commits July 10, 2025 14:49
Co-authored-by: Adam Washington <adam.washington@stfc.ac.uk>

@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: 124cde4 Previous: 1eb5245 Ratio
BM_HistogramBinning_1d/16777216 28.820826313604883 ns/iter 10.285278507054207 ns/iter 2.80

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

CC: @disorderedmaterials/dissolve-devs

@trisyoungs
trisyoungs merged commit ac8cd20 into develop Jul 14, 2025
11 checks passed
@trisyoungs
trisyoungs deleted the better-nanotube-species branch July 14, 2025 08:18
@github-actions github-actions Bot mentioned this pull request Nov 21, 2025
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