meshi.energy.simpleEnergyTerms.tether
Class TetherEnergyElement

java.lang.Object
  extended by meshi.energy.EnergyElement
      extended by meshi.energy.simpleEnergyTerms.tether.TetherEnergyElement

public class TetherEnergyElement
extends EnergyElement


Field Summary
protected  Atom atom
           
protected  FreeDistance distance
           
protected  Atom evaluatedAtom
           
protected  double evaluatedX
           
protected  double evaluatedY
           
protected  double evaluatedZ
           
protected  double force
           
 
Fields inherited from class meshi.energy.EnergyElement
atoms, dFormatSrt, dFormatStd, DX, frozen, relativeDiffTolerance, VERY_SMALL, XYZ
 
Constructor Summary
TetherEnergyElement()
           
TetherEnergyElement(Atom inputAtom, double x, double y, double z, double weight)
           
 
Method Summary
 double evaluate()
           
protected  void setAtoms()
           
 java.lang.String toString()
           
 void update()
           
 
Methods inherited from class meshi.energy.EnergyElement
atoms, evaluateAtoms, frozen, test, updateFrozen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

atom

protected Atom atom

evaluatedAtom

protected Atom evaluatedAtom

force

protected double force

evaluatedX

protected double evaluatedX

evaluatedY

protected double evaluatedY

evaluatedZ

protected double evaluatedZ

distance

protected FreeDistance distance
Constructor Detail

TetherEnergyElement

public TetherEnergyElement()

TetherEnergyElement

public TetherEnergyElement(Atom inputAtom,
                           double x,
                           double y,
                           double z,
                           double weight)
Method Detail

setAtoms

protected void setAtoms()
Specified by:
setAtoms in class EnergyElement

evaluate

public double evaluate()
Specified by:
evaluate in class EnergyElement

update

public void update()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object