ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE_old/src/mdtools/libmdCode/SimInfo.hpp
(Generate patch)

Comparing trunk/OOPSE_old/src/mdtools/libmdCode/SimInfo.hpp (file contents):
Revision 270 by mmeineke, Fri Feb 14 17:08:46 2003 UTC vs.
Revision 290 by chuckv, Thu Feb 27 21:25:47 2003 UTC

# Line 8 | Line 8 | class SimInfo{
8   #include "AbstractClasses.hpp"
9   #include "MakeStamps.hpp"
10  
11 + #define __C
12 + #include "fSimulation.h"
13 +
14 +
15   class SimInfo{
16  
17   public:
# Line 17 | Line 21 | class SimInfo{ (public)
21  
22    int n_atoms; // the number of atoms
23    Atom **atoms; // the array of atom objects
24 +  
25 +  double tau[9]; // the stress tensor
26  
27    unsigned int n_bonds;    // number of bends
28    unsigned int n_bends;    // number of bends
# Line 41 | Line 47 | class SimInfo{ (public)
47  
48    double box_x, box_y, box_z; // the periodic boundry conditions
49    double rList, rCut; // variables for the neighborlist
50 +  double usePBC; // whether we use periodic boundry conditions.
51  
52    double dt, run_time;           // the time step and total time
53    double sampleTime, statusTime; // the position and energy dump frequencies
# Line 56 | Line 63 | class SimInfo{ (public)
63    LinkedMolStamp* headStamp; // list of stamps used in the simulation
64    
65    
66 <
66 >  char ensemble[100]; // the enesemble of the simulation (NVT, NVE, etc. )
67 >  char mixingRule[100]; // the mixing rules for Lennard jones/van der walls
68    Integrator *the_integrator; // the integrator of the simulation
69  
70    char finalName[300];  // the name of the eor file to be written
# Line 64 | Line 72 | class SimInfo{ (public)
72    char statusName[300]; // the name of the stat file to be written
73  
74  
75 <  // refreshes the sim if things get changed (lode balanceing, volume
75 >  // refreshes the sim if things get changed (load balanceing, volume
76    // adjustment, etc.)
77  
78    void refreshSim( void );
# Line 72 | Line 80 | class SimInfo{ (public)
80  
81    // sets the internal function pointer to fortran.
82  
83 <  void setInternal( void (*fSetup)( int*, double*, double*, double*) ){
83 >  void setInternal( void (*fSetup)( simtype*, int* ) ){
84      setFsimulation = fSetup;
85    }
86  
# Line 82 | Line 90 | class SimInfo{ (public)
90    void wrapMe();
91    
92    // private function to initialize the fortran side of the simulation
93 <  void (*setFsimulation)(int* nLocal, double *boxSizeArray,
86 <                         double* rList, double* rCut );
93 >  void (*setFsimulation)( simtype* the_Info, int* isError );
94  
95  
96   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines