Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
moldynamics.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  force
class  particle




void acc_force (force f, particle &p)
double get_distance (particle const &p, particle const &q)
force get_force (particle const p, particle const q)

Function Documentation

void acc_force ( force  f,
particle p 

Definition at line 50 of file moldynamics.h.

References particle::coeff, particle::dx, particle::dy, force::fx, and force::fy.

Referenced by force_integration_sparse().

double get_distance ( particle const &  p,
particle const &  q 

Definition at line 58 of file moldynamics.h.

References particle::dx, and particle::dy.

Referenced by force_integration_sparse(), and get_force().

force get_force ( particle const  p,
particle const  q 

Definition at line 65 of file moldynamics.h.

References particle::dx, particle::dy, force::fx, force::fy, and get_distance().

Referenced by force_integration_sparse().