Re: CCL:C source for dihedral angles

>   can anybody refer me to some C source code for calculating dihedral
 > angles.
 Pick up the Molecular Modeling Toolkit source code at
 and look at the file Src/bonded.c. The routine
 cosine_dihedral_evaluator() (at the end of the file) calculated
 dihedral angles and Amber-style dihedral potential terms from atomic
 positions. It OpenSource code, so you can freely use it in your own
 Konrad Hinsen                            | E-Mail: hinsen |-at-|
 Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-
 Rue Charles Sadron                       | Fax:  +33-
 45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
 France                                   | Nederlands/Francais