Documentation of 'jvx.numeric.PnOde' Java class
PnOde ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.numeric

Class PnOde

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf
    Direct Known Subclasses:
    PnElasticCurvature, PnElasticOde, PnOdeExpr, PnSurfaceOde


    public class PnOde
    extends PsObject
    Basic ode class with solver. User should override the method diffEquation with his own ode and then call solve(PgPolygon).
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    02.10.99, 1.10 revised (kp) Moved to jvx.numeric from vgp.tutor.ode.
    00.00.98, 1.00 created (kp)
    • Constructor Detail

      • PnOde

        public PnOde()
    • 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 PsObject
      • setOrder

        public void setOrder(int order)
      • setInitialData

        public void setInitialData(double x,
                                   double[] y,
                                   double h,
                                   double len)
      • diffEquation

        public void diffEquation(double x,
                                 double[] y,
                                 double[] dy)
        Method should be overwritten y an application with problem dependent ODE.
      • solve

        public static boolean solve(PgPolygon p,
                                    PnOde anOde,
                                    double xStart,
                                    double[] yStart,
                                    double h,
                                    double xLength)
        Ode solver of an initial value problem performing a number of RK steps.
      • rungeKutta

        public static void rungeKutta(PnOde anOde,
                                      double x,
                                      double[] y,
                                      double h,
                                      double[] yOut)
        4th order Runge-Kutta method.
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

You see the box below because you did not login.