15minimum_particle_radius = 10
17maximum_spring_constant = 1
19maximum_diffusion_coefficient =\
24expected_rotational_delta =\
26 time_step) * minimum_particle_radius
28expected_spring_diffusion_length =\
30 .5 * maximum_spring_constant *
31 4 * expected_delta ** 2, time_step)
33print(
"with a time step of", time_step,
"fs")
34print(
"an object of radius", minimum_particle_radius,
"A will move",
35 expected_delta,
"A and a point on its surface will move",
36 expected_rotational_delta,
"A more")
37print(
"the motion from fluctuations in the spring compression will be",
38 expected_spring_diffusion_length,
"A")
39print(
"and a compression of 10% of the radius will induce a motion of",
41 .5 * maximum_spring_constant *
42 (.1 * minimum_particle_radius) ** 2,
Functionality for loading, creating, manipulating and scoring atomic structures.
double get_diffusion_angle(double D, double dtfs)
double get_diffusion_length(double D, double t)
double get_einstein_diffusion_coefficient(double r, double temp=-1)
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.