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, potentialbox, 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, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringprotected 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 MCMoveBoxpublic double energyChange()
energyChange in class MCMoveBoxpublic boolean doTrial()
MCMovepublic void setBox(Box box)
MCMoveBoxpublic double getChi(double temperature)
MCMovepublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMove