67 |
|
virtual void initializeTorsions( torsion_set* the_torsions ) = 0; |
68 |
|
|
69 |
|
protected: |
70 |
– |
|
71 |
– |
void ffError( char* errMsg ){ |
72 |
– |
|
73 |
– |
#ifdef IS_MPI |
74 |
– |
ffInterfaceExit( errMsg ); |
75 |
– |
#else |
76 |
– |
fprintf( stderr, "%s\n", errMsg ); |
77 |
– |
exit(0); |
78 |
– |
#endif |
79 |
– |
} |
80 |
– |
|
70 |
|
|
71 |
|
FILE *frcFile; |
72 |
|
SimInfo* entry_plug; |
110 |
|
void initializeTorsions( torsion_set* the_torsions ); |
111 |
|
}; |
112 |
|
|
113 |
+ |
class LJ_FF : public ForceFields{ |
114 |
+ |
|
115 |
+ |
public: |
116 |
+ |
LJ_FF(); |
117 |
+ |
virtual ~LJ_FF(); |
118 |
+ |
|
119 |
+ |
void initializeAtoms( void ); |
120 |
+ |
void initializeBonds( bond_pair* the_bonds ); |
121 |
+ |
void initializeBends( bend_set* the_bends ); |
122 |
+ |
void initializeTorsions( torsion_set* the_torsions ); |
123 |
+ |
}; |
124 |
+ |
|
125 |
|
#endif |