Package pulse.problem.schemes.rte.dom
Class ButcherTableau
- java.lang.Object
-
- pulse.problem.schemes.rte.dom.ButcherTableau
-
- All Implemented Interfaces:
Serializable,Descriptive
public class ButcherTableau extends Object implements Descriptive, Serializable
The Butcher tableau coefficients used by the explicit Runge-Kutta solvers. Variable names correspond to the standard notations.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_TABLEAU
-
Constructor Summary
Constructors Constructor Description ButcherTableau(String name, double[][] coefs, double[] c, double[] b, double[] bHat, boolean fsal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescribe()Creates aString'describing' this object, usually for exporting purposes.VectorgetC()VectorgetEstimator()VectorgetInterpolator()SquareMatrixgetMatrix()booleanisFSAL()intnumberOfStages()StringprintTableau()voidsetC(Vector c)voidsetEstimator(Vector bHat)voidsetInterpolator(Vector b)voidsetMatrix(SquareMatrix coefs)StringtoString()
-
-
-
Field Detail
-
DEFAULT_TABLEAU
public static final String DEFAULT_TABLEAU
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ButcherTableau
public ButcherTableau(String name, double[][] coefs, double[] c, double[] b, double[] bHat, boolean fsal)
-
-
Method Detail
-
numberOfStages
public int numberOfStages()
-
getMatrix
public SquareMatrix getMatrix()
-
setMatrix
public void setMatrix(SquareMatrix coefs)
-
getEstimator
public Vector getEstimator()
-
setEstimator
public void setEstimator(Vector bHat)
-
getInterpolator
public Vector getInterpolator()
-
setInterpolator
public void setInterpolator(Vector b)
-
getC
public Vector getC()
-
setC
public void setC(Vector c)
-
isFSAL
public boolean isFSAL()
-
printTableau
public String printTableau()
-
describe
public String describe()
Description copied from interface:DescriptiveCreates aString'describing' this object, usually for exporting purposes.- Specified by:
describein interfaceDescriptive- Returns:
- by default, this will return the name of the implementing class and the date of the calculation.
-
-