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

Class PnDiriEnergy

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf
    Direct Known Subclasses:
    PnAreaVolEnergy, PnHodgeU, PnHodgeW


    public class PnDiriEnergy
    extends PnEnergy
    Dirichlet energy including gradient and hessian computations.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    06.06.99, 2.00 revised (kp) Now a subclass of PnEnergy.
    17.04.99, 1.01 revised (kp) Method 'evalGradient' moved from class PnDiriGradient.
    16.12.97, 1.00 created (kp)
    • Constructor Detail

      • PnDiriEnergy

        public PnDiriEnergy()
    • 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
      • 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
      • evalHessian

        public PdMatrix evalHessian(PdMatrix hessian)
        Compute full hessian of Diri 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 energy
        Returns:
        Hessian of energy
        Author:
        Konrad Polthier
        Version:
        17.04.99, 1.01 revised (kp)
        17.04.99, 1.00 created (kp)
"JavaView? v5.03.003"

"

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

Ads help maintain this website.