JavaView® v2.12

jvx.numeric
Class PnStiffMatrix

java.lang.Object
  |
  +--jv.object.PsObject
        |
        +--jvx.numeric.PnStiffMatrix
All Implemented Interfaces:
java.lang.Cloneable, PsUpdateIf, java.io.Serializable
Direct Known Subclasses:
PnStiffConformal, PnStiffDiriConforming, PnStiffDiriNonConforming, PnStiffSpring

public class PnStiffMatrix
extends PsObject

Create and setup sparse representation of a stiffness matrix.

Version:
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)
Author:
Konrad Polthier
See Also:
Serialized Form

Field Summary
 int m_noe
          Number of triangles of surface.
 int m_nop
          Number of free variables, i.e. edge length of full stiffness matrix.
 PiVector[] m_sindx
          For each row of the full stiffness matrix exists an array listing the column position of each non-zero entry.
 PiVector m_snoe
          Count number of entries in each line of the sparse stiffness matrix, i.e. count number of connected edges and add 1 for itself (the diagonal entry).
 PdVector[] m_stiff
          For each row of the full stiffness matrix exists an array listing the non-zero values.
 
Fields inherited from class jv.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS
 
Constructor Summary
PnStiffMatrix(PgElementSet surface)
           
 
Method Summary
 void init(PgElementSet surface)
          Initializes the stiffness matrix by computing the index vector and matrix entries.
 void init(PgElementSet domain, PgElementSet surface)
          Initializes the stiffness matrix by computing the index vector and matrix entries.
 java.lang.String toString()
          Create a full matrix and print all components in a multi-line string representation.
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, init, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, update, updatePanels
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_nop

public int m_nop
Number of free variables, i.e. edge length of full stiffness matrix.

m_noe

public int m_noe
Number of triangles of surface.

m_snoe

public PiVector m_snoe
Count number of entries in each line of the sparse stiffness matrix, i.e. count number of connected edges and add 1 for itself (the diagonal entry).

m_sindx

public PiVector[] m_sindx
For each row of the full stiffness matrix exists an array listing the column position of each non-zero entry.
See Also:
m_stiff

m_stiff

public PdVector[] m_stiff
For each row of the full stiffness matrix exists an array listing the non-zero values. The instance variable m_sindx has stored the column index. Therefore, the double component s[i][j] of the full stiffness matrix is store in m_stiff[i][_j] if m_sindx[i][_j] == j.
See Also:
m_sindx
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.

toString

public java.lang.String toString()
Create a full matrix and print all components in a multi-line string representation.
Overrides:
toString in class PsObject

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.