org.opensourcephysics.sip.ch12
Class RGApp

java.lang.Object
  extended by org.opensourcephysics.controls.AbstractCalculation
      extended by org.opensourcephysics.sip.ch12.RGApp
All Implemented Interfaces:
Calculation

public class RGApp
extends AbstractCalculation

RGApp implements a visual interpretation of the renormalization group.


Field Summary
 
Fields inherited from class org.opensourcephysics.controls.AbstractCalculation
control, decimalFormat, mainFrame
 
Constructor Summary
RGApp()
           
 
Method Summary
 void block(LatticeFrame lattice, LatticeFrame blockedLattice, int Lb)
           
 void calculate()
          Does the calculation.
static void main(java.lang.String[] args)
           
 void newLattice(int L, double p, LatticeFrame lattice)
           
 void reset()
          Resets the program to its default state.
 void setLatticeColors(LatticeFrame lattice)
           
 
Methods inherited from class org.opensourcephysics.controls.AbstractCalculation
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RGApp

public RGApp()
Method Detail

calculate

public void calculate()
Description copied from class: AbstractCalculation
Does the calculation.

Specified by:
calculate in interface Calculation
Specified by:
calculate in class AbstractCalculation

reset

public void reset()
Description copied from class: AbstractCalculation
Resets the program to its default state. Override this method to set the program's parameters.

Overrides:
reset in class AbstractCalculation

newLattice

public void newLattice(int L,
                       double p,
                       LatticeFrame lattice)

block

public void block(LatticeFrame lattice,
                  LatticeFrame blockedLattice,
                  int Lb)

setLatticeColors

public void setLatticeColors(LatticeFrame lattice)

main

public static void main(java.lang.String[] args)