ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/md_code/SimInfo.cpp
(Generate patch)

Comparing trunk/mdtools/md_code/SimInfo.cpp (file contents):
Revision 245 by mmeineke, Fri Jan 24 21:25:08 2003 UTC vs.
Revision 281 by chuckv, Mon Feb 24 21:25:15 2003 UTC

# Line 1 | Line 1
1   #include <cstdlib>
2  
3   #include "SimInfo.hpp"
4 <
4 > #define __C
5 > #include "fsimulation.h"
6   extern "C"{
7    void wrapsimmod_( void (*wrapFunction)(void (*fSub)( int*, double*,
8                                                         double*, double*)));
9   }
10  
11 < void wrapSimInfo((void (*fSub)( int*, double*, double*, double*)));
11 > void wrapSimInfo(void (*fSub)( int*, double*, double*, double*));
12  
13   SimInfo* currentInfo;
14  
# Line 40 | Line 41 | void SimInfo::refreshSim(){
41    box[1] = box_y;
42    box[2] = box_z;
43  
44 <  setFsimulation( &n_atoms, box, &rList, &rCut );
44 >  
45 >
46 >  setFsimulation( &n_atoms, box, &rList, &rCut,&ensemble,
47 >                 &mixingRule,&usePBC);
48   }
49  
50  
51 < void wrapSimInfo((void (*fSub)( int*, double*, double*, double*))){
51 > void wrapSimInfo(void (*fSub)( int*, double*, double*, double*)){
52    
53    currentInfo->setInternal(fSub);
54   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines