1 |
|
#ifndef __FORCEFIELDS_H__ |
2 |
|
#define __FORCEFIELDS_H__ |
3 |
|
|
4 |
+ |
#define MK_STR(s) # s |
5 |
+ |
#define STR_DEFINE(t, s) t = MK_STR(s) |
6 |
+ |
|
7 |
+ |
|
8 |
|
#include <cstdio> |
9 |
|
#include <cstdlib> |
10 |
|
|
28 |
|
|
29 |
|
class bend_set{ |
30 |
|
public: |
31 |
< |
bend_set(){} |
31 |
> |
bend_set(){ isGhost = 0; } |
32 |
|
~bend_set(){} |
33 |
|
|
34 |
+ |
int ghost; |
35 |
+ |
int isGhost; |
36 |
+ |
|
37 |
|
int a; |
38 |
|
int b; |
39 |
|
int c; |
140 |
|
void fastForward( char* stopText, char* searchOwner ); |
141 |
|
}; |
142 |
|
|
136 |
– |
// class SSD_FF : public ForceFields{ |
137 |
– |
|
138 |
– |
// public: |
139 |
– |
// SSD_FF(); |
140 |
– |
// virtual ~SSD_FF(); |
141 |
– |
|
142 |
– |
// void initializeAtoms( void ); |
143 |
– |
// void initializeBonds( bond_pair* the_bonds ); |
144 |
– |
// void initializeBends( bend_set* the_bends ); |
145 |
– |
// void initializeTorsions( torsion_set* the_torsions ); |
146 |
– |
// void setSSDfortran( void (*fortranSub)( double* positionArray, |
147 |
– |
// double* forceArray, |
148 |
– |
// double* potentialEnergy, |
149 |
– |
// short int* doPotentialCalc ) ){ |
150 |
– |
// doSSDfortran = fortranSub; |
151 |
– |
// } |
152 |
– |
// void doForces( int ); |
153 |
– |
|
154 |
– |
// private: |
155 |
– |
|
156 |
– |
// void fastForward( char* stopText, char* searchOwner ); |
157 |
– |
|
158 |
– |
// // set our sister fortran module's function to be our own. |
159 |
– |
// void wrapMe( void ); |
160 |
– |
// void (*doSSDfortran)( double* positionArray, |
161 |
– |
// double* forceArray, |
162 |
– |
// double* potentialEnergy, |
163 |
– |
// short int* doPotentialCalc ); |
164 |
– |
// void initFortran( void ); |
165 |
– |
// }; |
166 |
– |
|
143 |
|
#endif |
144 |
+ |
|