public enum ProfileIndex extends java.lang.Enum<ProfileIndex>
Enum Constant and Description |
---|
GAUSSIAN
Gaussian distribution - gaussian in 6D phase space
|
KV
Kapchinskij-Vladimirskij (or canonical) distribution - uniformly distributed on phase-space surface
|
NONE
No distribution profile specified - usually indicates error condition
|
PARABOLIC
Parabolic distribution - parabolic in 6D phase space
|
SEMIGAUSSIAN
Semi-Gaussian distribution - uniform in 3D configuration, gaussian in momentum
|
WATERBAG
Waterbag distribution - uniform in 6D phase space
|
Modifier and Type | Method and Description |
---|---|
static ProfileIndex |
descriptorFromIndex(int index)
Get the
ProfileDescriptor object have the given index
value. |
int |
val()
Return the index value of the current
ProfileDescriptor
object. |
static ProfileIndex |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProfileIndex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileIndex NONE
public static final ProfileIndex KV
public static final ProfileIndex WATERBAG
public static final ProfileIndex PARABOLIC
public static final ProfileIndex SEMIGAUSSIAN
public static final ProfileIndex GAUSSIAN
public static ProfileIndex[] values()
for (ProfileIndex c : ProfileIndex.values()) System.out.println(c);
public static ProfileIndex valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ProfileIndex descriptorFromIndex(int index)
ProfileDescriptor
object have the given index
value.index
- index of desired profile descriptor objectpublic int val()
ProfileDescriptor
object.