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

Public Member Functions | |
| void | SetRefPos (AVector Pos) |
| AVector | GetRefPos () |
| double | GetEnergy () |
| AVector | GetGradient (int WhichGroup) |
| void | GetStr (char *Str) |
| AVector | GetPosTarget () |
| double | GetDistance () |
|
|
Implements APosRestraint. Definition at line 184 of file FreeEnergyRestrain.h. References AVector::Dist(). 00184 {return(m_RefPos.Dist(m_pCOMs[0]));}
|
|
|
Implements ARestraint. Definition at line 735 of file FreeEnergyRestrain.C. References APosRestraint::GetE(). 00735 {
00736 //--------------------------------------------------------------------
00737 // return the Energy for this fixed position restraint.
00738 //--------------------------------------------------------------------
00739 return(GetE(m_RefPos));
00740 }
|
|
|
Implements ARestraint. Definition at line 743 of file FreeEnergyRestrain.C. References APosRestraint::GetGrad(). 00743 {
00744 //-------------------------------------------------------------------------
00745 // return the Gradient for this fixed position restraint.
00746 //-------------------------------------------------------------------------
00747 return(GetGrad(WhichGroup, m_RefPos));
00748 }
|
|
|
Implements APosRestraint. Definition at line 183 of file FreeEnergyRestrain.h. 00183 {return(m_RefPos);}
|
|
|
Definition at line 177 of file FreeEnergyRestrain.h. 00177 {return(m_RefPos);}
|
|
|
Implements ARestraint. Definition at line 180 of file FreeEnergyRestrain.h. 00180 {
00181 strcpy(Str, "Fixed Position Restraint");
00182 }
|
|
|
Reimplemented from ARestraint. Definition at line 176 of file FreeEnergyRestrain.h. 00176 {m_RefPos=Pos;}
|
1.3.9.1