public class MCMoveSpinCluster extends MCMoveBox
Modifier and Type | Field | Description |
---|---|---|
protected AtomIteratorArrayListSimple |
atomIterator |
|
protected AtomArrayList |
atomPairs |
|
protected java.util.HashSet<IAtom> |
clusterAtoms |
|
protected IntegratorMC |
integratorMC |
|
protected double |
J |
|
protected java.util.HashSet<IAtom> |
jNeighbors |
|
protected NeighborIteratorSite |
neighbors |
|
protected IRandom |
random |
|
protected Vector |
reflectionVector |
|
protected Space |
space |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
Constructor | Description |
---|---|
MCMoveSpinCluster(Space space,
IRandom random,
PotentialMasterSite potentialMaster,
IntegratorMC integratorMC,
double J) |
Modifier and Type | Method | Description |
---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
AtomIterator |
affectedAtoms() |
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
energyChange() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setBox(Box box) |
Sets the box on which this move acts.
|
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
protected final Space space
protected final IRandom random
protected final java.util.HashSet<IAtom> clusterAtoms
protected final java.util.HashSet<IAtom> jNeighbors
protected final Vector reflectionVector
protected final AtomArrayList atomPairs
protected final IntegratorMC integratorMC
protected final NeighborIteratorSite neighbors
protected double J
protected final AtomIteratorArrayListSimple atomIterator
public MCMoveSpinCluster(Space space, IRandom random, PotentialMasterSite potentialMaster, IntegratorMC integratorMC, double J)
public AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox
public double energyChange()
energyChange
in class MCMoveBox
public boolean doTrial()
MCMove
public void setBox(Box box)
MCMoveBox
public double getChi(double temperature)
MCMove
public void acceptNotify()
MCMove
acceptNotify
in class MCMove
public void rejectNotify()
MCMove
rejectNotify
in class MCMove