public class CMLControlBlockAdapter extends CMLStaticBlockAdapter implements ICMLControlBlock
ICMLStaticBlock.StaticBlockType
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
protected double |
stateX |
type, u
Constructor and Description |
---|
CMLControlBlockAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getState()
get block state as a string for debug info
|
double |
getStateX()
Get the state variable
|
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setDX_dt(double x)
set dx/dt
|
void |
setStateX(double x)
set state variable
|
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
debugInfo, eulerStep1, eulerStep2, getType, getU, getU0, getU0, getY, initStateU0, initStateY0, setParameter, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eulerStep1, eulerStep2, getU, getU0, getU0, getY, initStateU0, initStateY0, setParameter
public static final long serialVersionUID
protected double stateX
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class CMLStaticBlockAdapter
java.io.IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class CMLStaticBlockAdapter
java.io.IOException
public java.lang.String getState()
getState
in class CMLStaticBlockAdapter
public double getStateX()
ICMLControlBlock
getStateX
in interface ICMLControlBlock
public void setStateX(double x)
setStateX
in interface ICMLControlBlock
public void setDX_dt(double x)
setDX_dt
in interface ICMLControlBlock