com.xj.anylogic.engine
Class ActiveObjectIntegrationManager
java.lang.Object
com.xj.anylogic.engine.ActiveObjectIntegrationManager
public class ActiveObjectIntegrationManager
- extends java.lang.Object
This class solves a system of algebraic differential equations.
- Author:
- XJ Technologies Company Ltd. www.anylogic.com
|
Method Summary |
int |
doStep(ActiveObject ao,
double currentTime,
double TOUT,
boolean initialConditionsSolving)
Does integration step for the given active object |
int |
FEX(double T,
double[] D,
double[] A,
double[] RD,
double[] RA)
|
double |
getATOL()
|
double |
getHTOL()
|
double |
getRTOL()
|
double |
getTime()
Returns current integration time |
double |
getTTOL()
|
void |
setATOL(double atol)
|
void |
setHTOL(double htol)
|
void |
setRTOL(double rtol)
|
void |
setTime(double time)
|
void |
setTTOL(double ttol)
|
int |
SOLOUT(double time,
double[] y,
double[] x)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISTART
public int ISTART
ActiveObjectIntegrationManager
public ActiveObjectIntegrationManager(int mathDiffEqCount,
int mathAlgEqCount,
int mathFormEqCount)
- Constructor
- Parameters:
mathDiffEqCount - number of differential equationsmathAlgEqCount - number of algebraic equationsmathFormEqCount - number of formulas
FEX
public int FEX(double T,
double[] D,
double[] A,
double[] RD,
double[] RA)
SOLOUT
public int SOLOUT(double time,
double[] y,
double[] x)
getATOL
public double getATOL()
- Returns:
- Returns the aTOL.
getRTOL
public double getRTOL()
- Returns:
- Returns the rTOL.
getTTOL
public double getTTOL()
- Returns:
- Returns the tTOL.
getHTOL
public double getHTOL()
- Returns:
- Returns the hTOL.
setATOL
public void setATOL(double atol)
- Parameters:
atol - the aTOL to set
setHTOL
public void setHTOL(double htol)
- Parameters:
htol - the hTOL to set
setRTOL
public void setRTOL(double rtol)
- Parameters:
rtol - the rTOL to set
setTTOL
public void setTTOL(double ttol)
- Parameters:
ttol - the tTOL to set
doStep
public int doStep(ActiveObject ao,
double currentTime,
double TOUT,
boolean initialConditionsSolving)
- Does integration step for the given active object
- Parameters:
ao - reference to active objectcurrentTime - initial timeTOUT - final timeinitialConditionsSolving - true if functions for initial conditions should be used
- Returns:
- state of operation (e.g.
NumMethod.nmSuccess)
getTime
public double getTime()
- Returns current integration time
setTime
public void setTime(double time)
- Parameters:
time - the time to set
Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.