|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectShapeFunction
ShapeNumerical
ShapeNumerical -- A function (interpolated) from numerical data
Solution.discretize(ShapeFunction)| Field Summary | |
private Mesh |
myMesh
Numerical function abscissa |
private Solution |
mySolution
Numerical function values |
| Fields inherited from class ShapeFunction |
amplitude_, position_, wavelength_, width_ |
| Constructor Summary | |
ShapeNumerical(Solution solution)
Creates an instance of the class |
|
| Method Summary | |
double |
getSampling(Mesh mesh,
int index)
Returns initial distribution of samplers |
double |
getValue(Mesh mesh,
int index)
Returns the shape on a discrete mesh point position. |
Complex |
getValueC(Mesh mesh,
int index)
Evaluates complex shape on a discrete mesh point position. |
boolean |
isComplex()
Test if the function is complex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Mesh myMesh
private Solution mySolution
| Constructor Detail |
public ShapeNumerical(Solution solution)
solution - Values defining the shape numerically| Method Detail |
public boolean isComplex()
isComplex in class ShapeFunction
public double getValue(Mesh mesh,
int index)
getValue in class ShapeFunctionmesh - The mesh coordinates. Now Ignored.index - The mesh index
public Complex getValueC(Mesh mesh,
int index)
getValueC in class ShapeFunctionmesh - The mesh coordinatesindex - The mesh index
public double getSampling(Mesh mesh,
int index)
getSampling in class ShapeFunctionmesh - The mesh coordinatesindex - The mesh index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||