23 d.set_coordinates_are_optimized(
True)
34 for i
in [0.0, -1.0, +1.0]:
35 for j
in [0.0, -1.0, +1.0]:
36 for k
in [0.0, -1.0, +1.0]:
38 float(i) * S_, float(j) * S_, float(k) * S_))
57 mc.set_return_best(
False)
61 log = open(
"traj.xyz",
"w")
64 for istep
in range(0, 5000):
74 log.write(
"Na %6.3f %6.3f %6.3f\n" % (xyz0[0], xyz0[1], xyz0[2]))
75 log.write(
"Cl %6.3f %6.3f %6.3f\n" % (xyz1[0], xyz1[1], xyz1[2]))
Support for basic symmetry, such as periodic boundary conditions (PBC).
Move a particle and keep it in the primitive cell of a periodic lattice.
A score on the distance between the surfaces of two spheres.
Modify a set of continuous variables by perturbing them within a ball.
A class to store an fixed array of same-typed values.
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
Class to handle individual model particles.
Basic functionality that is expected to be used by a wide variety of IMP users.
Applies a PairScore to a Pair.
Applies a list of movers one at a time.
Class for storing model, its restraints, constraints, and particles.
Harmonic function (symmetric about the mean)
A decorator for a particle with x,y,z coordinates and a radius.