7 |
|
#include "Atom.hpp" |
8 |
|
#include "SimInfo.hpp" |
9 |
|
|
10 |
+ |
#ifdef IS_MPI |
11 |
+ |
#include "mpiForceField.h" |
12 |
+ |
#endif |
13 |
+ |
|
14 |
|
class bond_pair{ |
15 |
|
public: |
16 |
|
bond_pair(){} |
58 |
|
|
59 |
|
public: |
60 |
|
ForceFields(){ frcFile = NULL; entry_plug = NULL; } |
61 |
< |
~ForceFields(){} |
61 |
> |
virtual ~ForceFields(){} |
62 |
|
|
63 |
|
void setSimInfo( SimInfo* the_entry_plug ) { entry_plug = the_entry_plug; } |
64 |
|
virtual void initializeAtoms( void ) = 0; |
77 |
|
|
78 |
|
public: |
79 |
|
TraPPEFF(); |
80 |
< |
~TraPPEFF(); |
80 |
> |
virtual ~TraPPEFF(); |
81 |
|
|
82 |
|
void initializeAtoms( void ); |
83 |
|
void initializeBonds( bond_pair* the_bonds ); |
90 |
|
|
91 |
|
public: |
92 |
|
DipoleTestFF(); |
93 |
< |
~DipoleTestFF(); |
93 |
> |
virtual ~DipoleTestFF(); |
94 |
|
|
95 |
|
void initializeAtoms( void ); |
96 |
|
void initializeBonds( bond_pair* the_bonds ); |
102 |
|
|
103 |
|
public: |
104 |
|
TraPPE_ExFF(); |
105 |
< |
~TraPPE_ExFF(); |
105 |
> |
virtual ~TraPPE_ExFF(); |
106 |
|
|
107 |
|
void initializeAtoms( void ); |
108 |
|
void initializeBonds( bond_pair* the_bonds ); |