dcdfort
Modern Fortran library for analyzing DCD trajectories
All Classes Namespaces Files Functions Variables Pages
Modules | Functions/Subroutines
utils.f90 File Reference

Modules

module  dcdfort_utils
 Module that contains some useful utilities.
 

Functions/Subroutines

pure real(kind=real64) function, dimension(3) dcdfort_utils::pbc (a, box)
 Corrects for the periodic boundary condition. More...
 
pure real(kind=real64) function, dimension(3) dcdfort_utils::cross (a, b)
 Performs cross product between two vectors. More...
 
pure real(kind=real64) function dcdfort_utils::distance2 (a, b, box)
 Calculates the distance squared between two points. More...
 
pure real(kind=real64) function dcdfort_utils::distance (a, b, box)
 Calculates the distance between two points. More...
 
pure real(kind=real64) function, dimension(3) dcdfort_utils::bond_vector (a, b, box)
 Calculates the bond vector between two points. More...
 
pure real(kind=real64) function dcdfort_utils::magnitude (a)
 Calculates the magnitude of a vector. More...
 
pure real(kind=real64) function dcdfort_utils::bond_angle (a, b, c, box)
 Calculates the bond angle between two vectors. More...
 
pure real(kind=real64) function dcdfort_utils::dihedral_angle (i, j, k, l, box)
 Calculates the dihedral angle between two planes formed by four atoms. More...
 

Detailed Description

Author
James W. Barnett, Columbia University