JavaView® v2.12

vgp.curve.elastic
Class PnElasticCurvature

java.lang.Object
  |
  +--jv.object.PsObject
        |
        +--jvx.numeric.PnOde
              |
              +--vgp.curve.elastic.PnElasticCurvature
All Implemented Interfaces:
java.lang.Cloneable, PsUpdateIf, java.io.Serializable

public class PnElasticCurvature
extends PnOde

solves curvature ode for elastic curves: K'' = b + (a-.5*K*K)*K

Version:
9.12.99, 1.00 created (ep)
See Also:
Serialized Form

Fields inherited from class jv.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS
 
Constructor Summary
PnElasticCurvature()
           
 
Method Summary
 void diffEquation(double x, double[] y, double[] dy)
          Method should be overwritten y an application with problem dependent ODE.
 void init()
          If instance has missing name then assign default name 'object_NUMBER' where number is the total number of already created instances.
 void initSolve(PgPolygon p)
           
 void nextStep()
           
 void setInitialData(double x, double[] y, double h, double len, double A, double B)
           
 void solve(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, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, update, updatePanels
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PnElasticCurvature

public PnElasticCurvature()
Method Detail

init

public void init()
Description copied from class: PsObject
If instance has missing name then assign default name 'object_NUMBER' where number is the total number of already created instances.
Overrides:
init in class PnOde

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: PnOde
Method should be overwritten y an application with problem dependent ODE.
Overrides:
diffEquation in class PnOde

initSolve

public void initSolve(PgPolygon p)

nextStep

public void nextStep()

solve

public void solve(PgPolygon p)
Overrides:
solve in class PnOde

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.