meshi.util
Class RgCalculator

java.lang.Object
  extended by meshi.util.RgCalculator
All Implemented Interfaces:
Updateable

public class RgCalculator
extends java.lang.Object
implements Updateable


Field Summary
private  AtomList atomList
           
private  double cmx
           
private  double cmy
           
private  double cmz
           
private  int numberOfUpdates
           
private  double rg
           
 
Constructor Summary
RgCalculator(AtomList atomList)
           
 
Method Summary
 double cmx()
           
 double cmy()
           
 double cmz()
           
 double rg()
           
 void update()
           
 void update(int numberOfUpdates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberOfUpdates

private int numberOfUpdates

atomList

private AtomList atomList

cmx

private double cmx

cmy

private double cmy

cmz

private double cmz

rg

private double rg
Constructor Detail

RgCalculator

public RgCalculator(AtomList atomList)
Method Detail

update

public void update(int numberOfUpdates)
            throws UpdateableException
Specified by:
update in interface Updateable
Throws:
UpdateableException

update

public void update()

rg

public double rg()

cmx

public double cmx()

cmy

public double cmy()

cmz

public double cmz()