13 prb.set_coordinates_are_optimized(
True)
14 prb.set_name(name +
" rb")
28 d.set_name(name + str(i) + str(j) + str(k))
30 d.set_rotational_diffusion_coefficient(
31 d.get_rotational_diffusion_coefficient() * 100)
35 def display(i, w, hs):
51 rb0.get_members() + rb1.get_members()),
64 bd.set_time_step(10000)
69 for i
in range(0, 100):
70 display(i, w, [h0, h1])
static RigidBody setup_particle(kernel::Model *m, ParticleIndex pi, kernel::ParticleIndexesAdaptor ps)
void set_log_level(LogLevel l)
Set the current global log level.
std::string create_temporary_file_name(std::string prefix="imp_temp", std::string suffix="")
kernel::Restraint * create_distance_restraint(const Selection &n0, const Selection &n1, double x0, double k, std::string name="Distance%1%")
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
Simple Brownian dynamics simulator.
static Molecule setup_particle(kernel::Model *m, ParticleIndex pi)
Store a kernel::ParticleIndexes.
Class to handle individual model particles.
static Mass setup_particle(kernel::Model *m, ParticleIndex pi, Float mass)
See IMP.core for more information.
See IMP.algebra for more information.
Prevent a set of particles and rigid bodies from inter-penetrating.
Write a CGO file with the geometry.
static Fragment setup_particle(kernel::Model *m, ParticleIndex pi)
See IMP.display for more information.
See IMP.atom for more information.
IMP::core::RigidBody create_rigid_body(const Hierarchies &h, std::string name=std::string("created rigid body"))
Rigidify a molecule or collection of molecules.
static RigidBodyDiffusion setup_particle(kernel::Model *m, ParticleIndex pi)
Display an IMP::atom::Hierarchy particle as balls.
Class for storing model, its restraints, constraints, and particles.