| 6 |
|
#include "Atom.hpp" |
| 7 |
|
#include "Molecule.hpp" |
| 8 |
|
#include "AbstractClasses.hpp" |
| 9 |
< |
|
| 9 |
> |
#ifdef MPI |
| 10 |
> |
#include "mpiSimulation.hpp" |
| 11 |
> |
#endif |
| 12 |
|
class SimInfo{ |
| 13 |
|
|
| 14 |
|
public: |
| 15 |
< |
|
| 16 |
< |
SimInfo(){ |
| 17 |
< |
excludes = NULL; |
| 18 |
< |
n_constraints = 0; |
| 15 |
> |
|
| 16 |
> |
SimInfo(){ |
| 17 |
> |
excludes = NULL; |
| 18 |
> |
n_constraints = 0; |
| 19 |
|
n_oriented = 0; |
| 20 |
|
n_dipoles = 0; |
| 21 |
|
longRange = NULL; |
| 25 |
|
} |
| 26 |
|
~SimInfo(){} |
| 27 |
|
|
| 28 |
< |
unsigned int n_atoms; // the number of atoms |
| 28 |
> |
int n_atoms; // the number of atoms |
| 29 |
|
Atom **atoms; // the array of atom objects |
| 30 |
|
|
| 31 |
|
unsigned int n_bonds; // number of bends |
| 38 |
|
unsigned int n_dipoles; // number of dipoles |
| 39 |
|
double rRF; // the reaction field cut off radius |
| 40 |
|
double dielectric; // the dielectric of the medium for reaction field |
| 41 |
< |
|
| 41 |
> |
|
| 42 |
|
unsigned int n_exclude; // the number of pairs excluded from LJ and VDW |
| 43 |
|
ex_pair *excludes; // the pairs themselves |
| 44 |
< |
|
| 44 |
> |
|
| 45 |
|
int n_constraints; // the number of constraints on the system |
| 46 |
|
|
| 47 |
|
unsigned int n_SRI; // the number of short range interactions |
| 48 |
< |
SRI **sr_interactions;// the array of short range force objects |
| 48 |
> |
SRI **sr_interactions;// the array of short range force objects |
| 49 |
|
LRI *longRange; // the long range force object |
| 50 |
|
|
| 51 |
|
double box_x, box_y, box_z; // the periodic boundry conditions |
| 52 |
< |
|
| 53 |
< |
double dt, run_time; // the time step and total time |
| 52 |
> |
|
| 53 |
> |
double dt, run_time; // the time step and total time |
| 54 |
|
double sampleTime, statusTime; // the position and energy dump frequencies |
| 55 |
|
double target_temp; // the target temperature of the system |
| 56 |
|
double thermalTime; // the temp kick interval |
| 57 |
< |
|
| 57 |
> |
|
| 58 |
|
int n_mol; // n_molecules; |
| 59 |
|
Molecule* molecules; // the array of molecules |
| 60 |
|
|
| 63 |
|
char finalName[300]; // the name of the eor file to be written |
| 64 |
|
char sampleName[300]; // the name of the dump file to be written |
| 65 |
|
char statusName[300]; // the name of the stat file to be written |
| 66 |
+ |
#ifdef MPI |
| 67 |
+ |
mpiSimulation* mpiSim; |
| 68 |
+ |
#endif |
| 69 |
|
}; |
| 65 |
– |
|
| 70 |
|
|
| 71 |
|
|
| 72 |
+ |
|
| 73 |
|
#endif |