vgp.curve.elastic
Class PnElasticCurvature
- java.lang.Object
-
- jv.object.PsObject
-
- jvx.numeric.PnOde
-
- vgp.curve.elastic.PnElasticCurvature
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, PsUpdateIf
public class PnElasticCurvature extends PnOde
Solves curvature ode for elastic curves: K'' = b + (a-.5*K*K)*K- See Also:
- Serialized Form
- Author:
- Eike Preuß
- Version:
- 9.12.99, 1.00 created (ep)
-
-
Field Summary
-
Fields inherited from class jv.object.PsObject
HAS_BOUNDARY_PANEL, HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGS
-
-
Constructor Summary
Constructors Constructor and Description PnElasticCurvature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddiffEquation(double x, double[] y, double[] dy)Method should be overwritten y an application with problem dependent ODE.voidinit()If instance has missing name then assign default name 'Object_NUMBER' where number is the total number of already created instances.voidinitSolve(PgPolygon p)voidnextStep()voidsetInitialData(double x, double[] y, double h, double len, double A, double B)voidsolve(PgPolygon p)-
Methods inherited from class jvx.numeric.PnOde
rungeKutta, setInitialData, setOrder, solve
-
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, update, updatePanels
-
-
-
-
Method Detail
-
init
public void init()
Description copied from class:PsObjectIf instance has missing name then assign default name 'Object_NUMBER' where number is the total number of already created instances.
-
setInitialData
public void setInitialData(double x, double[] y, double h, double len, double A, double B)
-
diffEquation
public void diffEquation(double x, double[] y, double[] dy)Description copied from class:PnOdeMethod should be overwritten y an application with problem dependent ODE.- Overrides:
diffEquationin classPnOde
-
initSolve
public void initSolve(PgPolygon p)
-
nextStep
public void nextStep()
-
-
"