meshi.energy.simpleEnergyTerms.tether
Class TetherEnergy

java.lang.Object
  extended by meshi.energy.AbstractEnergy
      extended by meshi.energy.simpleEnergyTerms.SimpleEnergyTerm
          extended by meshi.energy.simpleEnergyTerms.tether.TetherEnergy
All Implemented Interfaces:
Attributable, Updateable

public class TetherEnergy
extends SimpleEnergyTerm


Nested Class Summary
 
Nested classes/interfaces inherited from class meshi.energy.AbstractEnergy
AbstractEnergy.UpdateableList
 
Field Summary
private static int counter
           
protected  double[][] initialLocationsMatrix
          The constructor associates any bond with its parameters.
 
Fields inherited from class meshi.energy.simpleEnergyTerms.SimpleEnergyTerm
elementsList, parametersList
 
Fields inherited from class meshi.energy.AbstractEnergy
comment, filter, INFINITY, NaN, on, updateableResources, weight
 
Constructor Summary
TetherEnergy()
           
TetherEnergy(AtomList atomList, double[][] inputMatrix, double weight, java.lang.String comment)
           
 
Method Summary
 EnergyElement createElement(java.lang.Object baseElement)
           
 EnergyElement createElement(java.lang.Object baseElement, Parameters p)
           
 void update()
           
 void update(int i)
          Updates the updatable resources.
 
Methods inherited from class meshi.energy.simpleEnergyTerms.SimpleEnergyTerm
createElementsList, elementsList, evaluate, evaluateAtoms, test
 
Methods inherited from class meshi.energy.AbstractEnergy
addAttribute, comment, getAttribute, handleMissingParameters, isOn, off, on, toArray, toArray, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

initialLocationsMatrix

protected double[][] initialLocationsMatrix
The constructor associates any bond with its parameters.


counter

private static int counter
Constructor Detail

TetherEnergy

public TetherEnergy()

TetherEnergy

public TetherEnergy(AtomList atomList,
                    double[][] inputMatrix,
                    double weight,
                    java.lang.String comment)
Method Detail

createElement

public EnergyElement createElement(java.lang.Object baseElement)

update

public void update()

update

public void update(int i)
Description copied from class: AbstractEnergy
Updates the updatable resources. For a detailed description of MESHI's treatment of updatable resources see the documentation of TotalEnergy.

Specified by:
update in interface Updateable
Overrides:
update in class AbstractEnergy

createElement

public EnergyElement createElement(java.lang.Object baseElement,
                                   Parameters p)
Specified by:
createElement in class SimpleEnergyTerm