DipoleSource
public class DipoleSourceWater extends java.lang.Object implements DipoleSource
Modifier and Type | Field | Description |
---|---|---|
protected Vector |
dipole |
|
protected double |
dipoleStrength |
Constructor | Description |
---|---|
DipoleSourceWater(Space space) |
Modifier and Type | Method | Description |
---|---|---|
Vector |
getDipole(IMolecule molecule) |
Returns the dipole of the given molecule.
|
double |
getDipoleStrength() |
Returns the dipole strength.
|
void |
setDipoleStrength(double newDipoleStrength) |
Sets the strength (magnitude) of the dipole.
|
protected double dipoleStrength
protected final Vector dipole
public DipoleSourceWater(Space space)
public void setDipoleStrength(double newDipoleStrength)
public double getDipoleStrength()
public Vector getDipole(IMolecule molecule)
DipoleSource
getDipole
in interface DipoleSource