44 |
|
* @file ForceManager.cpp |
45 |
|
* @author tlin |
46 |
|
* @date 11/09/2004 |
47 |
– |
* @time 10:39am |
47 |
|
* @version 1.0 |
48 |
|
*/ |
49 |
|
|
907 |
|
*(fDecomp_->getPairwisePotential()); |
908 |
|
|
909 |
|
curSnapshot->setLongRangePotential(longRangePotential); |
910 |
+ |
|
911 |
+ |
// collects single-atom information |
912 |
+ |
fDecomp_->collectSelfData(); |
913 |
+ |
|
914 |
+ |
longRangePotential = *(fDecomp_->getEmbeddingPotential()) + |
915 |
+ |
*(fDecomp_->getPairwisePotential()); |
916 |
+ |
|
917 |
+ |
curSnapshot->setLongRangePotential(longRangePotential); |
918 |
|
|
919 |
|
curSnapshot->setExcludedPotentials(*(fDecomp_->getExcludedSelfPotential()) + |
920 |
|
*(fDecomp_->getExcludedPotential())); |