public class MechSystemBase.ConstraintForceStateSaver extends java.lang.Object implements HasNumericState
| Constructor and Description |
|---|
ConstraintForceStateSaver() |
| Modifier and Type | Method and Description |
|---|---|
void |
getInitialState(NumericState nstate) |
void |
getState(DataBuffer data)
Saves state information for this component by adding data to the
supplied DataBuffer.
|
boolean |
hasState()
Returns
true if this component currently holds state. |
void |
setState(DataBuffer data)
Restores the state for this component by reading from the supplied
data buffer, starting at the current buffer offsets.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadvanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, numAuxVars, requiresAdvance, setAuxVarStatepublic boolean hasState()
HasNumericStatetrue if this component currently holds state. This
allows the presence of state to depend on the component's configuration.hasState in interface HasNumericStatetrue if this component holds statepublic void getInitialState(NumericState nstate)
public void getState(DataBuffer data)
HasNumericStategetState in interface HasNumericStatedata - buffer for storing the state values.public void setState(DataBuffer data)
HasNumericStatesetState in interface HasNumericStatedata - buffer containing the state information