PotentialMasterListMolecular
public abstract class PotentialMasterNbrMolecular extends PotentialMaster
PotentialMaster.AtomIterator0, PotentialMaster.MoleculeIterator0, PotentialMaster.PotentialLinker
Modifier and Type | Field | Description |
---|---|---|
protected IPotential[] |
allPotentials |
|
protected BoxAgentManager<? extends BoxCellManager> |
boxAgentManager |
|
protected BoxAgentManager.BoxAgentSource<? extends BoxCellManager> |
boxAgentSource |
|
protected SpeciesAgentManager<PotentialArrayMolecular> |
rangedAgentManager |
|
protected Simulation |
simulation |
|
protected SpeciesAgentManager<PotentialArrayMolecular> |
speciesAgentManager |
enabled, isPotentialHard, iteratorFactory, lrcMaster, potentialList
Modifier | Constructor | Description |
---|---|---|
protected |
PotentialMasterNbrMolecular(Simulation sim,
BoxAgentManager.BoxAgentSource<? extends BoxCellManager> boxAgentSource,
BoxAgentManager<? extends BoxCellManager> boxAgentManager) |
Modifier and Type | Method | Description |
---|---|---|
void |
addPotential(IPotentialMolecular potential,
ISpecies[] species) |
Indicates to the PotentialMaster that the given potential should apply to
the specified species.
|
protected void |
addRangedPotential(IPotentialMolecular potential,
ISpecies species) |
|
protected abstract void |
addRangedPotentialForSpecies(IPotentialMolecular subPotential,
ISpecies[] species) |
|
BoxAgentManager<? extends BoxCellManager> |
getCellAgentManager() |
|
PotentialArrayMolecular |
getIntraPotentials(ISpecies atomType) |
|
PotentialArrayMolecular |
getRangedPotentials(ISpecies species) |
|
Simulation |
getSimulation() |
Returns the simulation associated with this PotentialMaster
|
PotentialGroup |
makePotentialGroup(int nBody) |
Returns an nBody PotentialGroup appropriate for this type of
PotentialMaster.
|
void |
removePotential(IPotentialMolecular potential) |
Removes given potential from the group.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPotential, addPotential, calculate, getPotential, getPotentials, getSpecies, isEnabled, isEnabled, isEnabled, isPotentialHard, lrcMaster, potentialAddedNotify, removePotential, setEnabled, setEnabled, setEnabled, setPotentialHard
protected final SpeciesAgentManager<PotentialArrayMolecular> rangedAgentManager
protected final SpeciesAgentManager<PotentialArrayMolecular> speciesAgentManager
protected final Simulation simulation
protected IPotential[] allPotentials
protected BoxAgentManager.BoxAgentSource<? extends BoxCellManager> boxAgentSource
protected BoxAgentManager<? extends BoxCellManager> boxAgentManager
protected PotentialMasterNbrMolecular(Simulation sim, BoxAgentManager.BoxAgentSource<? extends BoxCellManager> boxAgentSource, BoxAgentManager<? extends BoxCellManager> boxAgentManager)
public PotentialGroup makePotentialGroup(int nBody)
PotentialMaster
makePotentialGroup
in class PotentialMaster
public void addPotential(IPotentialMolecular potential, ISpecies[] species)
PotentialMaster
addPotential
in class PotentialMaster
protected abstract void addRangedPotentialForSpecies(IPotentialMolecular subPotential, ISpecies[] species)
protected void addRangedPotential(IPotentialMolecular potential, ISpecies species)
public void removePotential(IPotentialMolecular potential)
PotentialMaster
removePotential
in class PotentialMaster
public PotentialArrayMolecular getRangedPotentials(ISpecies species)
public PotentialArrayMolecular getIntraPotentials(ISpecies atomType)
public final BoxAgentManager<? extends BoxCellManager> getCellAgentManager()
public Simulation getSimulation()