ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/SimInfo.cpp
(Generate patch)

Comparing trunk/src/brains/SimInfo.cpp (file contents):
Revision 998 by chrisfen, Mon Jul 3 13:18:43 2006 UTC vs.
Revision 1024 by tim, Wed Aug 30 18:42:29 2006 UTC

# Line 53 | Line 53
53   #include "brains/SimInfo.hpp"
54   #include "math/Vector3.hpp"
55   #include "primitives/Molecule.hpp"
56 + #include "primitives/StuntDouble.hpp"
57   #include "UseTheForce/fCutoffPolicy.h"
58   #include "UseTheForce/DarkSide/fElectrostaticSummationMethod.h"
59   #include "UseTheForce/DarkSide/fElectrostaticScreeningMethod.h"
# Line 1436 | Line 1437 | namespace oopse {
1437        return angularMomentum;
1438     }
1439    
1440 <  
1440 >  StuntDouble* SimInfo::getIOIndexToIntegrableObject(int index) {
1441 >    return IOIndexToIntegrableObject.at(index);
1442 >  }
1443 >  
1444 >  void SimInfo::setIOIndexToIntegrableObject(const std::vector<StuntDouble*>& v) {
1445 >    IOIndexToIntegrableObject= v;
1446 >  }
1447 >
1448 > /*
1449 >   void SimInfo::setStuntDoubleFromGlobalIndex(std::vector<StuntDouble*> v) {
1450 >      assert( v.size() == nAtoms_ + nRigidBodies_);
1451 >      sdByGlobalIndex_ = v;
1452 >    }
1453 >
1454 >    StuntDouble* SimInfo::getStuntDoubleFromGlobalIndex(int index) {
1455 >      //assert(index < nAtoms_ + nRigidBodies_);
1456 >      return sdByGlobalIndex_.at(index);
1457 >    }  
1458 > */  
1459   }//end namespace oopse
1460  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines