| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectShapeFunction
Abstract class for a describing initial shapes
Solution.discretize(ShapeFunction)| Field Summary | |
| protected  double | amplitudeThe shape's vertical offset | 
| protected  double | curvatureThe shape's curvature | 
| protected  double | positionThe shape's abscissa | 
| protected  double | slopeThe shape's slope | 
| protected  double | widthThe shape's width | 
| Constructor Summary | |
| ShapeFunction() | |
| Method Summary | |
| abstract  double | getValue(double xa)Evaluates the shape for a real argument | 
| abstract  double | getValue(Mesh mesh,
         double xa)Evaluates the shape on a discrete mesh point position. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected double position
protected double amplitude
protected double width
protected double slope
protected double curvature
| Constructor Detail | 
public ShapeFunction()
| Method Detail | 
public abstract double getValue(double xa)
xa - The argument
public abstract double getValue(Mesh mesh,
                                double xa)
mesh - The mesh attributesxa - The argument
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||