diff --git a/src/energy.cpp b/src/energy.cpp index fb60afd2d..8c5423311 100644 --- a/src/energy.cpp +++ b/src/energy.cpp @@ -1016,6 +1016,11 @@ Bonded::Bonded(const Space& spc, BondVector external_bonds = BondVector()) name = "bonded"; updateInternalBonds(); for (auto& bond : this->external_bonds) { + std::stringstream indices; + std::copy(bond->indices.begin(), bond->indices.end(), + std::ostream_iterator(indices, " ")); + faunus_logger->info("{}: adding inter-particle bonds involving indices [ {}]", name, + indices.str()); bond->setEnergyFunction(spc.particles); } }