AFixedDistRestraint Class Reference

#include <FreeEnergyRestrain.h>

Inheritance diagram for AFixedDistRestraint:

ADistRestraint ARestraint List of all members.

Public Member Functions

void SetRefDist (double Dist)
double GetRefDist ()
double GetEnergy ()
AVector GetGradient (int WhichGroup)
void GetStr (char *Str)
double GetDistTarget ()

Detailed Description

Definition at line 243 of file FreeEnergyRestrain.h.


Member Function Documentation

double AFixedDistRestraint::GetDistTarget (  )  [inline, virtual]

Implements ADistRestraint.

Definition at line 257 of file FreeEnergyRestrain.h.

00257 {return(m_RefDist);}

double AFixedDistRestraint::GetEnergy (  )  [virtual]

Implements ARestraint.

Definition at line 837 of file FreeEnergyRestrain.C.

References ADistRestraint::GetE().

00837                                       {
00838 //---------------------------------------------------------------------------
00839 // return the Energy for this fixed distance restraint.
00840 //---------------------------------------------------------------------------
00841   return(GetE(m_RefDist));
00842 }

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

Implements ARestraint.

Definition at line 845 of file FreeEnergyRestrain.C.

References ADistRestraint::GetGrad().

00845                                                        {
00846 //---------------------------------------------------------------------------
00847 // return the gradient for this fixed distance restraint.
00848 //---------------------------------------------------------------------------
00849   return(GetGrad(WhichGroup, m_RefDist));
00850 }

double AFixedDistRestraint::GetRefDist (  )  [inline]

Definition at line 251 of file FreeEnergyRestrain.h.

00251 {return(m_RefDist);}

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

Implements ARestraint.

Definition at line 254 of file FreeEnergyRestrain.h.

00254                             {
00255     strcpy(Str, "Fixed   Distance Restraint");
00256   }

void AFixedDistRestraint::SetRefDist ( double  Dist  )  [inline, virtual]

Reimplemented from ARestraint.

Definition at line 250 of file FreeEnergyRestrain.h.

00250 {m_RefDist=Dist;}


The documentation for this class was generated from the following files:
Generated on Sat Sep 23 01:17:17 2017 for NAMD by  doxygen 1.4.7