# CYANA Function: acoviol

Jump to navigation
Jump to search

## Synopsis

**acoviol( integer,real) = real**

## Description

The **acoviol** function returns the size of the largest torsion angle
restraint violation (in degrees) of the torsion angle *integer* for a
given torsion angle value *real* (in degrees). This function returns
a negative result (-1.0) if no angle restraint exists for the given
angle, and 0.0 if the existing restraint(s) are not violated.