7 from __future__
import print_function
13 minimum_particle_radius = 10
15 maximum_spring_constant = 1
17 maximum_diffusion_coefficient =\
22 expected_rotational_delta =\
24 time_step) * minimum_particle_radius
26 expected_spring_diffusion_length =\
28 .5 * maximum_spring_constant *
29 4 * expected_delta ** 2,
32 print(
"with a time step of", time_step,
"fs")
33 print(
"an object of radius", minimum_particle_radius,
"A will move",\
34 expected_delta,
"A and a point on its surface will move",\
35 expected_rotational_delta,
"A more")
36 print(
"the motion from fluctuations in the spring compression will be",\
37 expected_spring_diffusion_length,
"A")
38 print(
"and a compression of 10% of the radius will induce a motion of",\
40 .5 * maximum_spring_constant *
41 (.1 * minimum_particle_radius) ** 2,
double get_diffusion_angle(double D, double dtfs)
Functionality for loading, creating, manipulating and scoring atomic structures.
double get_diffusion_length(double D, double t)
double get_einstein_diffusion_coefficient(double r)