AFixedAngleRestraint Class Reference

#include <FreeEnergyRestrain.h>

Inheritance diagram for AFixedAngleRestraint:

AnAngleRestraint ARestraint List of all members.

Public Member Functions

void SetRefAngle (double Angle)
double GetRefAngle ()
double GetEnergy ()
AVector GetGradient (int WhichGroup)
void GetStr (char *Str)
double GetAngleTarget ()

Detailed Description

Definition at line 308 of file FreeEnergyRestrain.h.


Member Function Documentation

double AFixedAngleRestraint::GetAngleTarget (  )  [inline, virtual]

Implements AnAngleRestraint.

Definition at line 322 of file FreeEnergyRestrain.h.

00322 {return(m_RefAngle);}

double AFixedAngleRestraint::GetEnergy (  )  [virtual]

Implements ARestraint.

Definition at line 916 of file FreeEnergyRestrain.C.

References AnAngleRestraint::GetE().

00916                                        {
00917 //---------------------------------------------------------------------------
00918 // return the Energy for this fixed angle restraint.
00919 //---------------------------------------------------------------------------
00920   return(GetE(m_RefAngle));
00921 }

AVector AFixedAngleRestraint::GetGradient ( int  WhichGroup  )  [virtual]

Implements ARestraint.

Definition at line 924 of file FreeEnergyRestrain.C.

References AnAngleRestraint::GetGrad().

00924                                                         {
00925 //---------------------------------------------------------------------------
00926 // return the gradient for this fixed angle restraint.
00927 //---------------------------------------------------------------------------
00928   return(GetGrad(WhichGroup, m_RefAngle));
00929 }

double AFixedAngleRestraint::GetRefAngle (  )  [inline]

Definition at line 316 of file FreeEnergyRestrain.h.

00316 {return(m_RefAngle);}

void AFixedAngleRestraint::GetStr ( char *  Str  )  [inline, virtual]

Implements ARestraint.

Definition at line 319 of file FreeEnergyRestrain.h.

00319                             {
00320     strcpy(Str, "Fixed   Angle    Restraint");
00321   }

void AFixedAngleRestraint::SetRefAngle ( double  Angle  )  [inline, virtual]

Reimplemented from ARestraint.

Definition at line 315 of file FreeEnergyRestrain.h.

00315 {m_RefAngle=Angle;}


The documentation for this class was generated from the following files:
Generated on Fri Oct 19 01:17:17 2018 for NAMD by  doxygen 1.4.7