Skip to content

Commit

Permalink
Add warning if PBC cell is used
Browse files Browse the repository at this point in the history
  • Loading branch information
mlund committed Apr 11, 2024
1 parent ad25690 commit c9b70b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/voronota.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Voronota::Voronota(double probe_radius, const Faunus::Space& spc)
: Analysis(spc, "voronota")
, probe_radius(probe_radius) {
cite = "doi:10.1093/bioinformatics/btab448";
if (spc.geometry.asSimpleGeometry()->boundary_conditions.isPeriodic().count() != 0) {
faunus_logger->warn("PBC is currently ignored by the `voronoi` analysis - be careful!");
}
}

Voronota::Voronota(const Faunus::json& input, const Faunus::Space& spc)
Expand Down

0 comments on commit c9b70b6

Please sign in to comment.