|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvolatileprototypes.fvlib.Solver
volatileprototypes.fvlib.BehaviorSpringRelaxation
public final class BehaviorSpringRelaxation
Nested Class Summary |
---|
Nested classes/interfaces inherited from class volatileprototypes.fvlib.Solver |
---|
Solver.Caller |
Field Summary |
---|
Fields inherited from class volatileprototypes.fvlib.Solver |
---|
xs |
Constructor Summary | |
---|---|
BehaviorSpringRelaxation()
Constructor, generates a new class instance. |
|
BehaviorSpringRelaxation(java.util.ArrayList<Link> linksin)
Constructor, generates a new class instance using a copy of the supplied Link ArrayList. |
|
BehaviorSpringRelaxation(Link[] linksin)
Constructor, generates a new class instance using the supplied Link array. |
Method Summary | |
---|---|
Link[] |
getL()
Get the current Link array. |
protected int |
getNumCPUs()
|
BehaviorSpringRelaxation |
setFast(boolean fin)
Sets whether to use a faster solver or the normal one. |
BehaviorSpringRelaxation |
setL(java.util.ArrayList<Link> linksin)
Sets the object's Link array using a copy of the supplied ArrayList. |
BehaviorSpringRelaxation |
setL(Link[] linksin)
Sets the object's Link array using the supplied array. |
protected void |
stepFunction(int step,
int offset)
|
Methods inherited from class volatileprototypes.fvlib.Solver |
---|
finalizeFunction, step |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BehaviorSpringRelaxation()
public BehaviorSpringRelaxation(java.util.ArrayList<Link> linksin)
linksin
- An ArrayList containing Link objects with which the object's list will be initialized.public BehaviorSpringRelaxation(Link[] linksin)
linksin
- An array containing Link objects with which the object's array will be initialized.Method Detail |
---|
protected int getNumCPUs()
getNumCPUs
in class Solver
public BehaviorSpringRelaxation setL(java.util.ArrayList<Link> linksin)
linksin
- The ArrayList containing Link objects.
public BehaviorSpringRelaxation setL(Link[] linksin)
linksin
- The array containing Link objects.
public Link[] getL()
public final BehaviorSpringRelaxation setFast(boolean fin)
fin
- A boolean representing whether to use fast sqrt.
protected final void stepFunction(int step, int offset)
stepFunction
in class Solver
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |