#include <FreeEnergyRestrain.h>
Inheritance diagram for AForcingDiheRestraint:

Public Member Functions | |
| void | SetStartAngle (double Angle) |
| void | SetStopAngle (double Angle) |
| double | GetStartAngle () |
| double | GetStopAngle () |
| double | GetEnergy () |
| AVector | GetGradient (int WhichGroup) |
| double | Get_dU_dLambda () |
| Bool_t | IsForcing () |
| void | GetStr (char *Str) |
| Bool_t | TwoTargets () |
| double | GetDiheTarget1 () |
| double | GetDiheTarget2 () |
|
|
Reimplemented from ARestraint. Definition at line 1090 of file FreeEnergyRestrain.C. References ARestraint::GetDihe(). 01090 {
01091 //---------------------------------------------------------------------------
01092 // return dU/dLambda for this forcing dihedral angle restraint
01093 //---------------------------------------------------------------------------
01094 double Dihe;
01095 double RefDihe;
01096
01097 Dihe = GetDihe(m_pCOMs[0], m_pCOMs[1], m_pCOMs[2], m_pCOMs[3]);
01098 RefDihe = m_StopAngle*m_LambdaRef + m_StartAngle*(1.0-m_LambdaRef);
01099 return((m_Kf/2)*m_LambdaKf * sin(Dihe-RefDihe) * (m_StartAngle-m_StopAngle));
01100 }
|
|
|
Implements ADiheRestraint. Definition at line 437 of file FreeEnergyRestrain.h. 00437 {
00438 return(m_StopAngle*m_LambdaRef + m_StartAngle*(1.0-m_LambdaRef));
00439 }
|
|
|
Implements ADiheRestraint. Definition at line 440 of file FreeEnergyRestrain.h. 00440 {return(0);}
|
|
|
Implements ARestraint. Definition at line 1068 of file FreeEnergyRestrain.C. References ADiheRestraint::GetE(). 01068 {
01069 //---------------------------------------------------------------------------
01070 // return the Energy for this forcing dihedral angle restraint.
01071 //---------------------------------------------------------------------------
01072 double RefDihe;
01073
01074 RefDihe = m_StopAngle*m_LambdaRef + m_StartAngle*(1.0-m_LambdaRef);
01075 return(GetE(RefDihe, m_Kf*m_LambdaKf));
01076 }
|
|
|
Implements ARestraint. Definition at line 1079 of file FreeEnergyRestrain.C. References ADiheRestraint::GetGrad(). 01079 {
01080 //---------------------------------------------------------------------------
01081 // return the gradient for this forcing dihedral angle restraint.
01082 //---------------------------------------------------------------------------
01083 double RefDihe;
01084
01085 RefDihe = m_StopAngle*m_LambdaRef + m_StartAngle*(1.0-m_LambdaRef);
01086 return(GetGrad(WhichGroup, RefDihe, m_Kf*m_LambdaKf));
01087 }
|
|
|
Definition at line 427 of file FreeEnergyRestrain.h. 00427 {return(m_StartAngle);}
|
|
|
Definition at line 428 of file FreeEnergyRestrain.h. 00428 {return(m_StopAngle);}
|
|
|
Implements ARestraint. Definition at line 433 of file FreeEnergyRestrain.h. 00433 {
00434 strcpy(Str, "Forcing Dihedral Restraint");
00435 }
|
|
|
Reimplemented from ARestraint. Definition at line 432 of file FreeEnergyRestrain.h. References Bool_t. 00432 {return(kTrue);}
|
|
|
Reimplemented from ARestraint. Definition at line 425 of file FreeEnergyRestrain.h. References Angle. 00425 {m_StartAngle=Angle;}
|
|
|
Reimplemented from ARestraint. Definition at line 426 of file FreeEnergyRestrain.h. References Angle. 00426 {m_StopAngle=Angle;}
|
|
|
Implements ADiheRestraint. Definition at line 436 of file FreeEnergyRestrain.h. References Bool_t. 00436 {return(kFalse);}
|
1.3.9.1