PotentialCalculation
public class PotentialCalculationMoleculeAgentSumMinusIdeal extends java.lang.Object implements PotentialCalculation
Modifier and Type | Field | Description |
---|---|---|
protected double |
bJ |
|
protected double |
bmu |
|
protected double |
bt |
|
protected Vector |
ei |
|
protected Vector |
ej |
|
protected double |
J |
|
protected AtomLeafAgentManager<MoleculeAgent> |
leafAgentManager |
|
protected double |
mu |
|
protected int |
nMax |
Constructor | Description |
---|---|
PotentialCalculationMoleculeAgentSumMinusIdeal(Space space,
double dipoleMagnitude,
double interactionS,
double beta,
int nMax,
AtomLeafAgentManager<MoleculeAgent> leafAgentManager) |
Modifier and Type | Method | Description |
---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Method giving the specific calculation performed by this class.
|
void |
zeroSum() |
protected Vector ei
protected Vector ej
protected final double mu
protected final double J
protected final double bt
protected final double bJ
protected final double bmu
protected int nMax
protected AtomLeafAgentManager<MoleculeAgent> leafAgentManager
public PotentialCalculationMoleculeAgentSumMinusIdeal(Space space, double dipoleMagnitude, double interactionS, double beta, int nMax, AtomLeafAgentManager<MoleculeAgent> leafAgentManager)
public void doCalculation(IAtomList atoms, IPotentialAtomic potential)
PotentialCalculation
doCalculation
in interface PotentialCalculation
atoms
- IAtomSet the atom sets for which the calculation is performed.potential
- The potential used to apply the action defined by this class.public void zeroSum()