/*! \file amber.h \brief AMBER MM potential \author Martin Peters $Date: 2010/03/29 20:28:34 $ $Revision: 1.7 $ ---------------------------------------------------------------------------- MTK++ - C++ package of modeling libraries. Copyright (C) 2005-2006 (see AUTHORS file for a list of contributors) This file is part of MTK++. MTK++ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. MTK++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lessser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . ---------------------------------------------------------------------------- */ #ifndef AMBER_H #define AMBER_H #include "mmPotential.h" #include #include #include #include namespace MTKpp { class amberBond; class amberAngle; class amberTorsion; class amberImproper; class amberNonBonded; // ============================================================ // Class : amber() // ------------------------------------------------------------ /*! \class amber \brief AMBER MM potentials \author Martin Peters \version 0.1 \date 2005 \section amberEF AMBER Energy Function \f{eqnarray*} E_{\rm total} & = & \sum_{\rm bonds} K_r \left(r - r_{eq}\right)^2 + \sum_{\rm angles} K_\theta \left(\theta - \theta_{eq}\right)^2 + \nonumber \\ & & \sum_{\rm dihedrals} {V_n \over 2} \left[1 + \cos\left(n\phi - \gamma\right)\right] + \sum_{i