|
NAMD
|
#include <FreeEnergyRestrain.h>
Public Member Functions | |
| AnAngleRestraint () | |
| void | PrintInfo () |
| virtual double | GetAngleTarget ()=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 RefAngle, double LambdaKf=1.0) |
| AVector | GetGrad (int WhichGroup, double RefAngle, 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 132 of file FreeEnergyRestrain.h.
| AnAngleRestraint::AnAngleRestraint | ( | ) |
Definition at line 421 of file FreeEnergyRestrain.C.
References ARestraint::m_NumGroups, ARestraint::m_pCOMs, and ARestraint::m_pGroups.
|
pure virtual |
Implemented in AForcingAngleRestraint, ABoundAngleRestraint, and AFixedAngleRestraint.
Referenced by PrintInfo().
|
protected |
Definition at line 460 of file FreeEnergyRestrain.C.
References ARestraint::GetAngle(), ARestraint::m_Kf, and ARestraint::m_pCOMs.
Referenced by AFixedAngleRestraint::GetEnergy(), ABoundAngleRestraint::GetEnergy(), and AForcingAngleRestraint::GetEnergy().
|
protected |
Definition at line 480 of file FreeEnergyRestrain.C.
References ASSERT, AVector::Dist(), kAlmostOne, ARestraint::m_Kf, and ARestraint::m_pCOMs.
Referenced by AFixedAngleRestraint::GetGradient(), ABoundAngleRestraint::GetGradient(), and AForcingAngleRestraint::GetGradient().
|
virtual |
Implements ARestraint.
Definition at line 431 of file FreeEnergyRestrain.C.
References endi(), ARestraint::GetAngle(), GetAngleTarget(), iout, kPi, and ARestraint::m_pCOMs.
1.8.14