Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow part of cluster analysis with Lees Edwards #4965

Open
wants to merge 4 commits into
base: python
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'python' of ssh://github.com/espressomd/espresso into le…
…_cluster
RudolfWeeber committed Aug 14, 2024
commit 644447d9861b93997e041d53683004d3ac6d053b
4 changes: 3 additions & 1 deletion src/core/cluster_analysis/ClusterStructure.cpp
Original file line number Diff line number Diff line change
@@ -64,7 +64,9 @@ void ClusterStructure::run_for_all_pairs() {

void ClusterStructure::run_for_bonded_particles() {
clear();
PartCfg partCfg{*System::get_system().box_geo};
auto const box_geo_handle = get_box_geo();
auto const &box_geo = *box_geo_handle;
PartCfg partCfg{box_geo};
for (const auto &p : partCfg) {
for (auto const bond : p.bonds()) {
if (bond.partner_ids().size() == 1) {
You are viewing a condensed version of this merge commit. You can view the full changes here.