Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
phi.c File Reference

Calculate a torsion angle. More...

#include <math.h>
#include "MathType.h"

Go to the source code of this file.

Functions

REAL blPhi (REAL xi, REAL yi, REAL zi, REAL xj, REAL yj, REAL zj, REAL xk, REAL yk, REAL zk, REAL xl, REAL yl, REAL zl)
 

Detailed Description

Calculate a torsion angle.

Version
V1.8
Date
17.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.

The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.

The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.

Description:

Usage:

Revision History:

Definition in file phi.c.

Function Documentation

REAL blPhi ( REAL  xi,
REAL  yi,
REAL  zi,
REAL  xj,
REAL  yj,
REAL  zj,
REAL  xk,
REAL  yk,
REAL  zk,
REAL  xl,
REAL  yl,
REAL  zl 
)
Parameters
[in]xiInput coordinate
[in]yiInput coordinate
[in]ziInput coordinate
[in]xjInput coordinate
[in]yjInput coordinate
[in]zjInput coordinate
[in]xkInput coordinate
[in]ykInput coordinate
[in]zkInput coordinate
[in]xlInput coordinate
[in]ylInput coordinate
[in]zlInput coordinate
Returns
The torsion angle between the 4 atoms

Calculates the torsion angle described by 4 sets of coordinates.

  • 04.03.91 Original By: ACRM
  • 16.06.93 Changed float to REAL
  • 07.07.14 Use bl prefix for functions By: CTP
  • 17.07.14 Removed unused variables By: ACRM

Definition at line 107 of file phi.c.