
Public Member Functions | |
| Diffusion (::IMP::Particle *p) | |
| Float | get_D_in_cm2_per_second () const |
| void | set_D_from_radius_in_angstroms (Float r, Float t) |
| Set D from the radius in angstroms. | |
| void | set_D_from_radius_in_angstroms (Float r) |
| Set D from the radius in angstroms. | |
| void | set_D_in_cm2_per_second (Float t) |
Static Public Member Functions | |
| static Diffusion | decorate_particle (::IMP::Particle *p) |
| static FloatKey | get_D_key () |
| Get the D key. | |
| static bool | particle_is_instance (Particle *p) |
| Return true if the particle is an instance of an Diffusion. | |
| static Diffusion | setup_particle (Particle *p, Float D=0) |
| static Diffusion | setup_particle (Particle *p, const algebra::VectorD< 3 > &v, Float D) |
Set D from the radius in angstroms.
t is in kelvin
| void IMP::atom::Diffusion::set_D_from_radius_in_angstroms | ( | Float | r | ) |
Set D from the radius in angstroms.
Use default temperature.
Create a decorator with the a given D. D is assumed to be in cm2/sec and the particle is assumed to already have x,y,z attributes
| static Diffusion IMP::atom::Diffusion::setup_particle | ( | Particle * | p, | |
| const algebra::VectorD< 3 > & | v, | |||
| Float | D | |||
| ) | [static] |
Create a decorator with the passed coordinates and D. D is assumed to be in cm2/sec.