Commit 876329d4 authored by Jason Swails's avatar Jason Swails
Browse files

Add a test to the Drude force for usesPeriodicBoundaryConditions

parent f4af4bb8
......@@ -85,6 +85,8 @@ void testSingleParticle() {
DrudeForce* drude = new DrudeForce();
drude->addParticle(1, 0, -1, -1, -1, charge, alpha, 1, 1);
system.addForce(drude);
ASSERT(!drude->usesPeriodicBoundaryConditions());
ASSERT(!system.usesPeriodicBoundaryConditions());
vector<Vec3> positions(2);
positions[0] = Vec3(-1, 0, 0);
positions[1] = Vec3(2, 0, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment