36 |
|
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
37 |
|
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
38 |
|
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). |
39 |
< |
* [4] Vardeman & Gezelter, in progress (2009). |
39 |
> |
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
40 |
> |
* [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). |
41 |
|
*/ |
42 |
|
|
43 |
|
#ifndef NONBONDED_INTERACTIONMANAGER_HPP |
53 |
|
#include "nonbonded/Morse.hpp" |
54 |
|
#include "nonbonded/Electrostatic.hpp" |
55 |
|
#include "nonbonded/MAW.hpp" |
56 |
+ |
#include "nonbonded/RepulsivePower.hpp" |
57 |
|
#include "nonbonded/SwitchingFunction.hpp" |
58 |
|
|
59 |
|
using namespace std; |
61 |
|
namespace OpenMD { |
62 |
|
|
63 |
|
/** |
64 |
< |
* @class InteractionManager InteractionManager is responsible for |
64 |
> |
* @class InteractionManager |
65 |
> |
* InteractionManager is responsible for |
66 |
|
* keeping track of the non-bonded interactions (C++) |
67 |
|
*/ |
68 |
|
class InteractionManager { |
80 |
|
void doPair(InteractionData idat); |
81 |
|
void doSkipCorrection(InteractionData idat); |
82 |
|
void doSelfCorrection(SelfData sdat); |
83 |
+ |
void setCutoffRadius(RealType rCut); |
84 |
|
RealType getSuggestedCutoffRadius(int *atid1); |
85 |
|
RealType getSuggestedCutoffRadius(AtomType *atype); |
86 |
|
|
87 |
|
private: |
88 |
< |
bool initialized_; |
88 |
> |
bool initialized_; |
89 |
|
|
90 |
|
void setupElectrostatics(); |
91 |
|
|
97 |
|
SC* sc_; |
98 |
|
Morse* morse_; |
99 |
|
Electrostatic* electrostatic_; |
100 |
+ |
RepulsivePower* repulsivePower_; |
101 |
|
MAW* maw_; |
102 |
|
|
103 |
|
map<int, AtomType*> typeMap_; |