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

Class PnHodgeW

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


    public class PnHodgeW
    extends PnDiriEnergy
    Energy to obtain potential function u.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    05.09.00, 1.10 revised (ep) Boundary conditions on/off switch added.
    05.09.00, 1.05 revised (ep) m_gradFi changed to protected and added method getGradFi.
    27.03.00, 1.01 revised (ep) Boundary restrictions.
    24.11.99, 1.00 created (kp)
    • Constructor Detail

      • PnHodgeW

        public PnHodgeW()
    • 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 PnDiriEnergy
      • 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. PnHodgeW should copy surface into domain if in iteration mode i.e. if dimension of domain and surface are equal.
        Overrides:
        initSurface in class PnDiriEnergy
        Version:
        02.08.00, 1.10 revised (kp) Initialization of m_stiffMatrix removed since done in superclass.
      • 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 PnDiriEnergy
        Parameters:
        domain - additional geometry used to specify maps
        surface - geometry which is usually optimized
        Version:
        02.08.00, 1.10 revised (kp) Creation of m_stiffMatrix removed since done in superclass.
      • setVectorField

        public void setVectorField(PgVectorField vf)
        Set vector field. Method is called from outside whenever vector field has been updated.
      • eval

        public double eval(PdVector coord)
        Compute 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:
        25.11.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:
        27.03.00, 1.01 revised (ep) Gradient is set to zero on boundary.
        25.11.99, 1.00 created (kp) Derived from PnDiriEnergy.evalGradient()
      • getJGradFi

        public PdVector[][] getJGradFi()
"JavaView? v5.03.003"

"

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

Ads help maintain this website.