meshi.energy.simpleEnergyTerms.inflate.simpleInflate
Class SimpleInflate

java.lang.Object
  extended by meshi.energy.AbstractEnergy
      extended by meshi.energy.simpleEnergyTerms.SimpleEnergyTerm
          extended by meshi.energy.simpleEnergyTerms.inflate.simpleInflate.SimpleInflate
All Implemented Interfaces:
Attributable, Updateable

public class SimpleInflate
extends SimpleEnergyTerm


Nested Class Summary
static class SimpleInflate.TargetFilter
           
 
Nested classes/interfaces inherited from class meshi.energy.AbstractEnergy
AbstractEnergy.UpdateableList
 
Field Summary
private static AtomList atomList
           
private static AtomList atomListCopy
           
private  DistanceMatrix distanceMatrix
           
private static java.util.ArrayList dummy
           
private  Filter filter
           
private  double rmsTarget
           
 
Fields inherited from class meshi.energy.simpleEnergyTerms.SimpleEnergyTerm
elementsList, parametersList
 
Fields inherited from class meshi.energy.AbstractEnergy
comment, INFINITY, NaN, on, updateableResources, weight
 
Constructor Summary
SimpleInflate()
           
SimpleInflate(DistanceMatrix distanceMatrix, double rmsTarget, double weight)
           
 
Method Summary
 EnergyElement createElement(java.lang.Object baseElement, Parameters parameters)
           
 void createElementsList(DistanceList baseList)
           
 double evaluate()
          Evaluates the current value of the energy function and update the derivatives.
 void on()
          Turnes the energyTerm ON.
 double weight()
           
 
Methods inherited from class meshi.energy.simpleEnergyTerms.SimpleEnergyTerm
createElementsList, elementsList, evaluateAtoms, test
 
Methods inherited from class meshi.energy.AbstractEnergy
addAttribute, comment, getAttribute, handleMissingParameters, isOn, off, toArray, toArray, toArray, toArray, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dummy

private static java.util.ArrayList dummy

atomList

private static AtomList atomList

atomListCopy

private static AtomList atomListCopy

distanceMatrix

private DistanceMatrix distanceMatrix

filter

private Filter filter

rmsTarget

private double rmsTarget
Constructor Detail

SimpleInflate

public SimpleInflate()

SimpleInflate

public SimpleInflate(DistanceMatrix distanceMatrix,
                     double rmsTarget,
                     double weight)
Method Detail

evaluate

public double evaluate()
Description copied from class: SimpleEnergyTerm
Evaluates the current value of the energy function and update the derivatives.

Overrides:
evaluate in class SimpleEnergyTerm

on

public void on()
Description copied from class: AbstractEnergy
Turnes the energyTerm ON.

Overrides:
on in class AbstractEnergy

createElementsList

public void createElementsList(DistanceList baseList)

createElement

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

weight

public double weight()