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

Comparing trunk/mdtools/md_code/Symplectic.cpp (file contents):
Revision 189 by mmeineke, Tue Nov 26 21:04:43 2002 UTC vs.
Revision 249 by chuckv, Mon Jan 27 21:28:19 2003 UTC

# Line 4 | Line 4
4   #include "Integrator.hpp"
5   #include "Thermo.hpp"
6   #include "ReadWrite.hpp"
7 + #include "ForceFields.hpp"
8   #include "simError.h"
9  
10   extern "C"{
# Line 34 | Line 35 | Symplectic::Symplectic( SimInfo* the_entry_plug ){
35    isFirst = 1;
36  
37    srInteractions = entry_plug->sr_interactions;
37  longRange      =       entry_plug->longRange;
38    nSRI           =           entry_plug->n_SRI;
39  
40    // give a little love back to the SimInfo object
# Line 142 | Line 142 | void Symplectic::integrate( void ){
142    int status_n = (int)( statusTime / dt );
143    int vel_n    = (int)( thermalTime / dt );
144  
145 +  //  ForceFields *ff = entry_plug->
146 +
147    Thermo *tStats = new Thermo( entry_plug );
148  
149    StatWriter*  e_out    = new StatWriter( entry_plug );
# Line 154 | Line 156 | void Symplectic::integrate( void ){
156    // initialize the forces the before the first step
157  
158    
159 +  
160    for(i = 0; i < nAtoms; i++){
161      atoms[i]->zeroForces();
162    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines