Package ffx.numerics.multipole
Enum Class GKMultipoleOrder
- All Implemented Interfaces:
Serializable
,Comparable<GKMultipoleOrder>
,Constable
The GK tensor can be constructed for a monopole potential (GB), a dipole potential or a
quadrupole potential.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDipole potential.Monopole potential.Quadrupole potential. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
Return the multipole order.static GKMultipoleOrder
Returns the enum constant of this class with the specified name.static GKMultipoleOrder[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MONOPOLE
Monopole potential. -
DIPOLE
Dipole potential. -
QUADRUPOLE
Quadrupole potential.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOrder
public int getOrder()Return the multipole order.- Returns:
- Returns the multipole order.
-