This example shows how to run brownian dynamics with rigid bodies.
11 prb.set_coordinates_are_optimized(
True)
12 prb.set_name(name+
" rb")
24 d.set_name(name+str(i)+str(j)+str(k))
26 d.set_rotational_diffusion_coefficient(d.get_rotational_diffusion_coefficient()*100)
29 def display(i, w, hs):
54 bd.set_time_step(10000)
59 for i
in range(0,100):
60 display(i, w, [h0, h1])