Main Page | Class Hierarchy | Class List | File List | Class Members

CRestDIST Class Reference

#include <Restrains.h>

Inheritance diagram for CRestDIST:

CRestrain List of all members.

Public Member Functions

 CRestDIST (CData *dt)
void FindReferences ()
void MarkOutChangingAtoms ()
virtual int CheckGoodSetting ()
virtual void Print ()
virtual void Read (CXMLElement *elrestrain)
virtual REAL E ()

Detailed Description

Child of the class CRestraint for keeping defined distance between two atoms


Member Function Documentation

virtual int CRestDIST::CheckGoodSetting  )  [virtual]
 

Checks if two atoms are not from the same fragment if yes returns 1 otherwise returns 0

Implements CRestrain.

virtual REAL CRestDIST::E  )  [virtual]
 

E is defined as

\[E=k\left(\|r_{a_1}-r_{a_2}\|^2-dist^2\right)^2\]

where $r_{a_1}$ and $r{a_2}$ are radius vectors of two atoms after transformation.

Implements CRestrain.

void CRestDIST::FindReferences  )  [virtual]
 

Find index of fragment and local index of atom in fragment according to uniq ID of the atom hole file

Implements CRestrain.

void CRestDIST::MarkOutChangingAtoms  )  [virtual]
 

Mark the atoms that participate restrain as "changing atoms"

Implements CRestrain.

virtual void CRestDIST::Print  )  [virtual]
 

Print out the restraint information

Implements CRestrain.

virtual void CRestDIST::Read CXMLElement *  elrestrain  )  [virtual]
 

Read restraint's setting from XML file

Parameters:
elrestrain XMLElement <RESTRAINT type="..." ... />

Implements CRestrain.


The documentation for this class was generated from the following file:
Generated on Tue Apr 20 11:53:39 2004 for FragmentsFitting by doxygen 1.3.4