public class AdditionalEquationsAndTolerances extends Object implements Externalizable
Constructor and Description |
---|
AdditionalEquationsAndTolerances()
Empty constructor for
Externalizable use. |
AdditionalEquationsAndTolerances(AdditionalEquations equationsIn)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getAbsTol()
Returns absolute tolerance vector.
|
AdditionalEquations |
getEquations()
Get the additional equations.
|
int |
getIndex1stOrder()
Returns position of equations in first order state vector.
|
int |
getIndex2ndOrder()
Returns position of equations in second order state vector.
|
double[] |
getRelTol()
Returns relative tolerance vector.
|
void |
readExternal(ObjectInput oi) |
void |
setIndex1stOrder(int index)
Set position of equations in first order state vector (initially unknown).
|
void |
setIndex2ndOrder(int index)
Set position of equations in second order state vector (initially unknown).
|
void |
setTolerances(double[] aTol,
double[] rTol)
Set tolerances (no size check).
|
void |
writeExternal(ObjectOutput oo) |
public AdditionalEquationsAndTolerances()
Externalizable
use.public AdditionalEquationsAndTolerances(AdditionalEquations equationsIn)
equationsIn
- additional equationspublic AdditionalEquations getEquations()
public void setTolerances(double[] aTol, double[] rTol)
aTol
- absoluteTolerancesrTol
- relativeTolerancespublic void setIndex1stOrder(int index)
index
- index to setpublic void setIndex2ndOrder(int index)
index
- index to setpublic double[] getAbsTol()
public double[] getRelTol()
public int getIndex1stOrder()
public int getIndex2ndOrder()
public void writeExternal(ObjectOutput oo) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput oi) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2023 CNES. All rights reserved.