Class edu.cornell.lassp.mck10.Hysteresis.SpinFlip
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cornell.lassp.mck10.Hysteresis.SpinFlip

java.lang.Object
   |
   +----edu.cornell.lassp.mck10.Hysteresis.SpinFlip

public class SpinFlip
extends Object
SpinFlip is a class which is used to store information about a spin which may be about to flip. It is also used in the Avalanche class to store spins which have already flipped.

Source Code is available.

Version:
1.0
Author:
Matt Kuntz (e-mail: mck10@cornell.edu)

Variable Index

 o coords
 o level
 o next
 o num
 o oldNField

Constructor Index

 o SpinFlip(short[], int, short, short)
The SpinFlip(coords[],num,level,nField) constructor creates a new SpinFlip with the appropriate values.

Variables

 o num
  public int num
 o coords
  public short coords[]
 o level
  public short level
 o next
  public SpinFlip next
 o oldNField
  protected short oldNField

Constructors

 o SpinFlip
  public SpinFlip(short coords[],
                  int num,
                  short level,
                  short nField)
The SpinFlip(coords[],num,level,nField) constructor creates a new SpinFlip with the appropriate values.
Parameters:
coords - The coordinates of the spin.
num - The number of the spin.
level - The level at which the spin is flipping.
nField - The current neighbor field of the spin.

All Packages  Class Hierarchy  This Package  Previous  Next  Index