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" |
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 |
|
|