Package | Description |
---|---|
org.eclipse.ice.reactor.sfr.core | |
org.eclipse.ice.reactor.sfr.core.assembly |
Modifier and Type | Method and Description |
---|---|
static AssemblyType |
AssemblyType.fromString(java.lang.String name)
Converts a String to an AssemblyType enum value.
|
static AssemblyType |
AssemblyType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssemblyType[] |
AssemblyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SFReactor.addAssembly(AssemblyType type,
SFRAssembly assembly)
Adds the specified assembly to the reactor core; returns true if the
operation was successful.
|
SFRComponent |
SFReactor.getAssemblyByLocation(AssemblyType type,
int row,
int column)
Returns the assembly of AssemblyType, at the specified (x, y)
coordinates.
|
SFRComponent |
SFReactor.getAssemblyByName(AssemblyType type,
java.lang.String name)
Returns the assembly of the specified type and name.
|
java.util.ArrayList<java.lang.Integer> |
SFReactor.getAssemblyLocations(AssemblyType type,
java.lang.String name)
Returns an ArrayList of locations within the reactor that are occupied by
the assembly matching the specified type and name.
|
java.util.ArrayList<java.lang.String> |
SFReactor.getAssemblyNames(AssemblyType type)
Returns a string ArrayList of the names of all assemblies of the
specified type.
|
int |
SFReactor.getNumberOfAssemblies(AssemblyType type)
Returns the number of assemblies of AssemblyType in the reactor.
|
boolean |
SFReactor.removeAssembly(AssemblyType type,
java.lang.String name)
Removes the specified assembly from the reactor core; returns true if the
operation was successful.
|
boolean |
SFReactor.removeAssemblyFromLocation(AssemblyType type,
int row,
int column)
Removes the assembly of AssemblyType, from the specified (x, y) location;
returns true if the operation was successful.
|
boolean |
SFReactor.setAssemblyLocation(AssemblyType type,
java.lang.String name,
int row,
int column)
Adds an assembly of the specified type and name to the reactor in the
specified location.
|
Modifier and Type | Method and Description |
---|---|
AssemblyType |
SFRAssembly.getAssemblyType()
Returns the assembly type (fuel, control or reflector).
|
Constructor and Description |
---|
SFRAssembly(java.lang.String name,
AssemblyType type,
int size)
Parameterized constructor with assembly name, type and size specified.
|