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

Class PnAreaEnergy

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf


    public class PnAreaEnergy
    extends PnEnergy
    Area energy including gradient and hessian computations. Domain geometry may be missing.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    04.01.01, 1.50 revised (kp) Domain geometry may be missing.
    21.04.99, 1.00 created (kp) from PnDiriEnergy.
    • Constructor Detail

      • PnAreaEnergy

        public PnAreaEnergy()
    • 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 PnEnergy
      • initSurface

        public void initSurface(PgElementSet domain,
                                PgElementSet surface)
        Method called from energyMinimizer.minimizeStep() to update the stiffness matrix after conjugate gradient method has returned. E.g. PnDiriEnergy should copy surface into domain if in iteration mode i.e. if dimension of domain and surface are equal.
        Overrides:
        initSurface in class PnEnergy
        Version:
        26.08.99 revised (kp) Creation of stiffness matrix moved to subclasses.
      • setSurface

        public boolean setSurface(PgElementSet domain,
                                  PgElementSet surface)
        Set domain and surface, and initialize energy structure. Method is called from outside whenever domain or surface has been updated.
        Overrides:
        setSurface in class PnEnergy
        Parameters:
        domain - additional geometry used to specify maps
        surface - geometry which is usually optimized
      • eval

        public double eval(PdVector coord)
        Compute area energy of a coord vector using newly initialized stiffness matrix. Method uses the array m_store for intermediate storage and modifies its entries.
        Overrides:
        eval in class PnEnergy
        Parameters:
        coord - Coordinate vector with list of doubles
        Returns:
        double Energy of coordinate vector
        See Also:
        PnEnergy
        Author:
        Konrad Polthier
        Version:
        21.04.99, 2.00 revised (kp)
        21.04.99, 1.00 created (kp) Derived from PnDiriEnergy.eval()
      • evalGradient

        public PdVector evalGradient(PdVector coord,
                                     PdVector gradient)
        Evaluate Area gradient of a coord vector using the stiffness matrix of a PnArea instance.
        Overrides:
        evalGradient in class PnEnergy
        Parameters:
        coord - Coordinate vector with list of doubles
        gradient - Gradient vector to be modified
        See Also:
        PnEnergy
        Author:
        Konrad Polthier
        Version:
        21.04.99, 2.00 revised (kp)
        21.04.99, 1.00 created (kp) Derived from PnDiriEnergy.evalGradient()
      • evalHessian

        public PdMatrix evalHessian(PdMatrix hessian)
        Compute Hessian of Area energy of a coord vector using the stiffness matrix. If argument is null, then a new matrix of full size is created and returned. Size of argument is enlarged if necessary. Boundary and deleted vertices are not considered.
        Overrides:
        evalHessian in class PnEnergy
        Parameters:
        hessian - Empty hessian of Area energy
        Returns:
        Hessian of Area energy
        See Also:
        PnEnergy
        Author:
        Konrad Polthier
        Version:
        21.04.99, 2.00 revised (kp)
        21.04.99, 1.00 created (kp) Derived from PnDiriEnergy.evalHessian()
"JavaView? v5.03.003"

"

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

You see the box below because you did not login.