|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Mesh
Mesh - Discretization in one dimension TAG_Mesh_TAG
Field Summary | |
(package private) double[] |
dx
Interval sizes |
(package private) double[] |
x
Coordinates |
Constructor Summary | |
Mesh(int numberOfMeshPoints,
double meshLeft,
double meshLength)
Constructor |
Method Summary | |
double |
interval(int i)
Space to next grid point |
double[] |
intervals()
Spacing between mesh points |
double[] |
limits()
Coordinate boundaries |
double |
point(int i)
Coordinate value |
double[] |
points()
Coordinate values |
int |
size()
Grid Size |
java.lang.String |
toString()
For debugging |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
double[] x
double[] dx
Constructor Detail |
public Mesh(int numberOfMeshPoints, double meshLeft, double meshLength)
numberOfMeshPoints
- The number of mesh pointsmeshLeft
- The left coordinate of the meshmeshLength
- The width of the meshMethod Detail |
public int size()
public double[] points()
public double point(int i)
i
- The index of a coordinate
public double[] intervals()
public double interval(int i)
i
- The index of a coordinate
public double[] limits()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |