meshi.energy.simpleEnergyTerms.inflate.simpleInflate
Class SimpleInflateEnergyElement

java.lang.Object
  extended by meshi.energy.EnergyElement
      extended by meshi.energy.simpleEnergyTerms.inflate.simpleInflate.SimpleInflateEnergyElement

public class SimpleInflateEnergyElement
extends EnergyElement


Field Summary
static double ALPHA
           
protected  Atom atom1
           
protected  Atom atom1Copy
           
protected  Atom atom2
           
protected  Atom atom2Copy
           
protected  double dEdD
           
protected  double dEdX
           
protected  double dEdY
           
protected  double dEdZ
           
protected  FreeDistance distance
           
protected  double energy
           
protected  double target
           
protected  double weight
           
 
Fields inherited from class meshi.energy.EnergyElement
atoms, dFormatSrt, dFormatStd, DX, frozen, relativeDiffTolerance, VERY_SMALL, XYZ
 
Constructor Summary
SimpleInflateEnergyElement(Distance atoms, DistanceMatrix distanceMatrix, double weight)
           
 
Method Summary
 double evaluate()
           
 void scaleWeight(double factor)
           
protected  void setAtoms()
           
 
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, toString, wait, wait, wait
 

Field Detail

atom1

protected Atom atom1

atom2

protected Atom atom2

atom1Copy

protected Atom atom1Copy

atom2Copy

protected Atom atom2Copy

dEdD

protected double dEdD

dEdX

protected double dEdX

dEdY

protected double dEdY

dEdZ

protected double dEdZ

energy

protected double energy

weight

protected double weight

distance

protected FreeDistance distance

target

protected double target

ALPHA

public static final double ALPHA
See Also:
Constant Field Values
Constructor Detail

SimpleInflateEnergyElement

public SimpleInflateEnergyElement(Distance atoms,
                                  DistanceMatrix distanceMatrix,
                                  double weight)
Method Detail

setAtoms

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

evaluate

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

scaleWeight

public void scaleWeight(double factor)