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

Class PnStiffMatrix

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf, PdMatrixIf
    Direct Known Subclasses:
    PnMassMatrix, PnStiffAniso, PnStiffConformal, PnStiffDiriConforming, PnStiffDiriNonConforming, PnStiffSpring


    public class PnStiffMatrix
    extends PnSparseMatrix
    Create and setup sparse representation of a stiffness matrix.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    27.03.13, 3.10 revised (kp) Methods computeStiffnessMatrix and computeRightVector moved from retargeting workshop to this class.
    10.03.05, 3.00 revised (ep) Code moved to new superclass jvx.numeric.PnSparseMatrix.
    11.03.03, 2.30 revised (kh) Static methods for matrix vector multiplication add.
    20.12.01, 2.20 revised (ep) Internationalization.
    08.11.00, 2.10 revised (kp) Number formatting replaced with PuString from Fmt.
    03.09.99, 2.00 revised (kp) Method split in subclasses.
    00.00.98, 1.00 created (kp)
    • Field Detail

      • m_noe

        public int m_noe
        Number of elements in surface.
    • Constructor Detail

      • PnStiffMatrix

        public PnStiffMatrix(PgElementSet surface)
    • Method Detail

      • init

        public void init(PgElementSet surface)
        Initializes the stiffness matrix by computing the index vector and matrix entries. Method can be used to reset the stiffness matrix. All memory allocation is done in constructor.
      • init

        public void init(PgElementSet domain,
                         PgElementSet surface)
        Initializes the stiffness matrix by computing the index vector and matrix entries. Method can be used to reset the stiffness matrix. All memory allocation is done in constructor.
      • computeStiffnessMatrix

        public static PnSparseMatrix computeStiffnessMatrix(PgElementSet geom,
                                                            boolean conforming,
                                                            PdVector weights)
        Compute the entries of the stiffness matrix either conforming or non-conforming.
        Parameters:
        conforming - Specifies whether the matrix works on conforming or non-conforming maps.
        weights - Weights for each triangle. May be null.
        Author:
        Matthias Nieser
        Version:
        27.03.13, 2.00 created (kp) Method moved from retargeting workshop to this class.
        09.09.11, 1.10 revised (mn) Added weights parameter.
        25.02.11, 1.00 created (mn) Created from PnStiffMatrixOnCovering.computeStiffnessMatrix().
      • computeRightVector

        public static PdVector computeRightVector(PgElementSet geom,
                                                  PgVectorField field,
                                                  boolean conforming,
                                                  boolean rotateGradient,
                                                  PdVector weights)
        Evaluate the right vector of the equations system Laplace(u) = div(K). TODO: this method requires element normals, must be avoid and intrinsic rotation used TODO: place of this method must be re-thought!
        Parameters:
        geom - Geometry to work on.
        field - Given vector field.
        conforming - Whether the energy should operate on the set of
        weights - Weights for each triangle. May be null.
        Author:
        Matthias Nieser
        Version:
        27.03.13, 2.00 created (kp) Method moved from retargeting workshop to this class.
        09.09.11, 1.10 revised (mn) Added weights parameter.
        25.02.11, 1.00 created (mn) Created from PnStiffMatrixOnCovering.computeRightVector.
"JavaView? v5.03.003"

"

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

Ads help maintain this website.