public class DipoleResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DipoleResult.Unit
Dipole moment units.
|
Modifier and Type | Field and Description |
---|---|
protected static double |
DEBYE_TO_EA
Debye to eA conversion upon multiplication.
|
Constructor and Description |
---|
DipoleResult(double dipoleX,
double dipoleY,
double dipoleZ,
DipoleResult.Unit unit,
Molecule mol)
Constructor.
|
DipoleResult(double dipoleX,
double dipoleY,
double dipoleZ,
Molecule mol)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getDipole()
Returns the length of the dipole moment vector.
|
double[] |
getDipoleVector()
Returns the dipole moment vector.
|
double |
getDipoleX()
Returns the x component of the dipole moment vector.
|
double |
getDipoleY()
Returns the y component of the dipole moment vector.
|
double |
getDipoleZ()
Returns the z component of the dipole moment vector.
|
Molecule |
getMolecule()
Returns the input molecule of the dipole moment computation.
|
DipoleResult.Unit |
getUnit()
Returns the dipole moment unit.
|
void |
setUnit(DipoleResult.Unit unit)
Sets the dipole moment unit, see
DipoleResult.Unit . |
protected static final double DEBYE_TO_EA
public DipoleResult(double dipoleX, double dipoleY, double dipoleZ, Molecule mol)
DipoleResult.Unit
.dipoleX
- x component of the dipole vector.dipoleY
- y component of the dipole vector.dipoleZ
- z component of the dipole vector.mol
- Input molecule.public DipoleResult(double dipoleX, double dipoleY, double dipoleZ, DipoleResult.Unit unit, Molecule mol)
dipoleX
- x component of the dipole vector.dipoleY
- y component of the dipole vector.dipoleZ
- z component of the dipole vector.unit
- Dipole unit, see DipoleResult.Unit
.mol
- Input molecule.public double[] getDipoleVector()
public double getDipole()
public double getDipoleX()
public double getDipoleY()
public double getDipoleZ()
public Molecule getMolecule()
public void setUnit(DipoleResult.Unit unit)
DipoleResult.Unit
.unit
- public DipoleResult.Unit getUnit()
DipoleResult.Unit
.