IMP logo

IMP::atom::Diffusion Class Reference


Detailed Description

A decorator for a diffusing particle.

See also:
BrownianDynamics
Warning: Diffusion has not been stabilized and is likely to change without notice. The name really should be fixed.
Inheritance diagram for IMP::atom::Diffusion:

Inheritance graph
[legend]

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)

Member Function Documentation

void IMP::atom::Diffusion::set_D_from_radius_in_angstroms ( Float  r,
Float  t 
)

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.

static Diffusion IMP::atom::Diffusion::setup_particle ( Particle p,
Float  D = 0 
) [static]

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.


The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:08:49 2010 for IMP by doxygen 1.5.8