#include <Restrain.h>
Inheritance diagram for CRestrain:
Public Member Functions | |
CRestrain (CData *dt) | |
virtual | ~CRestrain () |
void | Enable () |
void | Disable () |
void | SetActive (bool ac) |
virtual void | FindReferences ()=0 |
virtual void | MarkOutChangingAtoms ()=0 |
virtual int | CheckGoodSetting ()=0 |
virtual void | Print ()=0 |
virtual void | Read (CXMLElement *elrestrain)=0 |
virtual REAL | E ()=0 |
Public Attributes | |
bool | active |
Protected Attributes | |
CData * | data |
|
Constructor |
|
Virtual destructor |
|
Check the right settings of restrain Implemented in CRestDIST, CRestANGLE, CRestTORSION, and CRestELECT. |
|
Disables the restraint |
|
Energy evaluation function Returns the value of error that figure out how much is the restraint fulfilled. Implemented in CRestDIST, CRestANGLE, CRestTORSION, and CRestELECT. |
|
Enables the restraint |
|
Find index of fragment and local index of atom in fragment according to uniq ID of the atom hole file Implemented in CRestDIST, CRestANGLE, CRestTORSION, and CRestELECT. |
|
Mark the atoms that participate restrain as "changing atoms" Implemented in CRestDIST, CRestANGLE, CRestTORSION, and CRestELECT. |
|
Print out the restraint information Implemented in CRestDIST, CRestANGLE, CRestTORSION, and CRestELECT. |
|
Read restraint's setting from XML file
Implemented in CRestDIST, CRestANGLE, CRestTORSION, and CRestELECT. |
|
Enables/Disable the restraint according to ac |
|
Shows if the restraint is active (true/false) |