Changeset a9908c


Ignore:
Timestamp:
Oct 9, 2016, 9:17:12 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Add_FitFragmentPartialChargesAction, Fix_ChargeSampling_PBC, Fix_FitPartialCharges
Children:
da32f4
Parents:
9cf1e2
Message:

ForceAnnealingAction admonishes single selected atom.

File:
1 edited

Legend:

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

    r9cf1e2 ra9908c  
    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.