| 
    NAMD
    
   | 
 
#include <FreeEnergyRestrain.h>
  
 Public Member Functions | |
| ADistRestraint () | |
| void | PrintInfo () | 
| virtual double | GetDistTarget ()=0 | 
  Public Member Functions inherited from ARestraint | |
| ARestraint () | |
| virtual | ~ARestraint () | 
| int | GetNumGroups () | 
| void | SetKf (double Kf) | 
| double | GetKf () | 
| void | SetLambdaKf (double LambdaKf) | 
| void | SetLambdaRef (double LambdaRef) | 
| double | GetLambdaKf () | 
| double | GetLambdaRef () | 
| void | SetGroup (AGroup &Group, int GroupIndex) | 
| void | SetGroups (AGroup &Group1) | 
| void | SetGroups (AGroup &Group1, AGroup &Group2) | 
| void | SetGroups (AGroup &Group1, AGroup &Group2, AGroup &Group3) | 
| void | SetGroups (AGroup &Group1, AGroup &Group2, AGroup &Group3, AGroup &Group4) | 
| void | UpdateCOMs (GlobalMasterFreeEnergy &CFE) | 
| void | DistributeForce (int WhichGroup, AVector Force, GlobalMasterFreeEnergy &CFE) | 
| virtual AVector | GetGradient (int WhichGroup)=0 | 
| virtual double | GetEnergy ()=0 | 
| virtual void | GetStr (char *Str)=0 | 
| virtual Bool_t | IsForcing () | 
| virtual double | Get_dU_dLambda () | 
| virtual void | SetRefPos (AVector) | 
| virtual void | SetRefDist (double) | 
| virtual void | SetRefAngle (double) | 
| virtual void | SetBound (Bound_t) | 
| virtual void | SetLowerAngle (double) | 
| virtual void | SetUpperAngle (double) | 
| virtual void | SetIntervalAngle (double) | 
| virtual void | SetStartPos (AVector) | 
| virtual void | SetStopPos (AVector) | 
| virtual void | SetStartDist (double) | 
| virtual void | SetStopDist (double) | 
| virtual void | SetStartAngle (double) | 
| virtual void | SetStopAngle (double) | 
Protected Member Functions | |
| double | GetE (double RefDist, double LambdaKf=1.0) | 
| AVector | GetGrad (int WhichGroup, double RefDist, double LambdaKf=1.0) | 
  Protected Member Functions inherited from ARestraint | |
| double | GetAngle (AVector &A, AVector &B, AVector &C) | 
| double | GetDihe (AVector &A, AVector &B, AVector &C, AVector &D) | 
| void | EarlyExit (const char *Str, int AtomID) | 
Additional Inherited Members | |
  Protected Attributes inherited from ARestraint | |
| double | m_Kf | 
| int | m_NumGroups | 
| AGroup * | m_pGroups | 
| AVector * | m_pCOMs | 
  Static Protected Attributes inherited from ARestraint | |
| static double | m_LambdaKf = 1.0 | 
| static double | m_LambdaRef = 0.0 | 
Definition at line 118 of file FreeEnergyRestrain.h.
| ADistRestraint::ADistRestraint | ( | ) | 
Definition at line 333 of file FreeEnergyRestrain.C.
References ARestraint::m_NumGroups, ARestraint::m_pCOMs, and ARestraint::m_pGroups.
      
  | 
  pure virtual | 
Implemented in AForcingDistRestraint, ABoundDistRestraint, and AFixedDistRestraint.
Referenced by PrintInfo().
      
  | 
  protected | 
Definition at line 370 of file FreeEnergyRestrain.C.
References AVector::Dist(), ARestraint::m_Kf, and ARestraint::m_pCOMs.
Referenced by AFixedDistRestraint::GetEnergy(), ABoundDistRestraint::GetEnergy(), and AForcingDistRestraint::GetEnergy().
      
  | 
  protected | 
Definition at line 389 of file FreeEnergyRestrain.C.
References ASSERT, AVector::Dist(), ARestraint::m_Kf, ARestraint::m_pCOMs, and AVector::Set().
Referenced by AFixedDistRestraint::GetGradient(), ABoundDistRestraint::GetGradient(), and AForcingDistRestraint::GetGradient().
      
  | 
  virtual | 
Implements ARestraint.
Definition at line 343 of file FreeEnergyRestrain.C.
References AVector::Dist(), endi(), GetDistTarget(), iout, and ARestraint::m_pCOMs.
 1.8.14