- Timestamp:
- May 5, 2016, 5:14:19 PM (10 years ago)
- Children:
- 94605f
- Parents:
- 9274f3
- git-author:
- Frederik Heber <heber@…> (05/05/16 14:25:00)
- git-committer:
- Frederik Heber <heber@…> (05/05/16 17:14:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/FragmentationAction/AnalyseFragmentationResultsAction.cpp
r9274f3 r4a319a 646 646 647 647 // adding obtained forces 648 if ( const_cast<const World &>(World::getInstance()).getAllAtoms().size() != 0) {648 if ( World::getConstInstance().getAllAtoms().size() != 0) { 649 649 const IndexedVectors::indexedvectors_t shortrange_forces = 650 650 boost::fusion::at_key<MPQCDataFused::forces>( … … 658 658 #if defined(HAVE_JOBMARKET) && defined(HAVE_VMG) 659 659 if (DoLongrange) { 660 if ( const_cast<const World &>(World::getInstance()).getAllAtoms().size() == 0) {660 if ( World::getConstInstance().getAllAtoms().size() == 0) { 661 661 STATUS("Please load the full molecule into std::map<JobId_t, VMGData> longrangeData the world before starting this action."); 662 662 return Action::failure; … … 688 688 689 689 // add long-range forces 690 if ( const_cast<const World &>(World::getInstance()).getAllAtoms().size() != 0) {690 if ( World::getConstInstance().getAllAtoms().size() != 0) { 691 691 const IndexedVectors::indexedvectors_t longrange_forces = 692 692 boost::fusion::at_key<VMGDataFused::forces_longrange>(
Note:
See TracChangeset
for help on using the changeset viewer.
