Changeset 3607c3


Ignore:
Timestamp:
Mar 20, 2017, 3:03:17 PM (8 years ago)
Author:
Frederik Heber <heber@…>
Branches:
FitPartialCharges_GlobalError, PartialCharges_OrthogonalSummation
Children:
cd24ba
Parents:
bb8b0a
git-author:
Frederik Heber <heber@…> (10/09/16 21:17:12)
git-committer:
Frederik Heber <heber@…> (03/20/17 15:03:17)
Message:

ForceAnnealingAction admonishes single selected atom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/ForceAnnealingAction.cpp

    rbb8b0a r3607c3  
    7171    return Action::failure;
    7272  }
     73  if (set.size() == (size_t)1) {
     74    STATUS("ForceAnnealing on a single atom makes no sense due to net force correction.");
     75    return Action::failure;
     76  }
     77
    7378  // we always operate relative to current time step, except on single debug output
    7479  size_t CurrentStep = WorldTime::getInstance().getTime();
Note: See TracChangeset for help on using the changeset viewer.