|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjabble.stencils.StencilUtils
public class StencilUtils
Utility class to set the Point for all stencils. Instead of passing the Point to each stencil, you'll need to use the StencilUtils.setPoint(Point) method. All stencils in the libraries will get the point from there.
| Method Summary | |
|---|---|
static double[] |
calculateTaylorCoeff(int nPoints,
double nStep)
|
static double[][] |
calculateTaylorMatrix(int nPoints,
int firstOffset)
|
static double[] |
getDiff()
|
static Point |
getPoint()
Returns the Point at which all stencils will calculate the value of their respective operator. |
static void |
setDiffFields(Field... dFields)
|
static void |
setPoint(Point point)
Make all the stencils calculate the oeprators at the given Point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setPoint(Point point)
point - A Point on the Grid.public static Point getPoint()
public static void setDiffFields(Field... dFields)
public static double[] getDiff()
public static double[] calculateTaylorCoeff(int nPoints,
double nStep)
public static double[][] calculateTaylorMatrix(int nPoints,
int firstOffset)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||