|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.object.PsObject
jvx.numeric.PnSparseMatrix
jvx.numeric.PnStiffMatrix
jvx.numeric.PnMassMatrix
Mass matrix of triangulated surface and functions linear in each triangle. To recompute the matrix after position of vertices changed call init. If combinatorics change a constructor must be called again.
A diagonalization method is available useLumpedMass.
| Field Summary |
| Fields inherited from class jvx.numeric.PnStiffMatrix |
m_noe |
| Fields inherited from class jvx.numeric.PnSparseMatrix |
m_nop, m_sindx, m_snoe, m_stiff |
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGS |
| Constructor Summary | |
PnMassMatrix(PgElementSet surface)
Constructor computes mass matrix with respect to the actual surface. |
|
PnMassMatrix(PgElementSet surface,
boolean useLumped)
Constructor computes mass matrix with respect to the actual surface. |
|
| Method Summary | |
PnBiconjugateGradient |
getSolver()
Get class that computes the inverse mass matrix. |
void |
init(PgElementSet surface)
Initializes the stiffness matrix by computing the index vector and matrix entries. |
boolean |
isUsingLumpedMass()
Check if usage of the lumped mass matrix is enabled. |
PdVector[] |
multInvMassMatrix(PdVector[] vec)
Multiply vertex-based vector field with inverse mass matrix. |
static PdMatrix[] |
multInvMassMatrix(PgElementSet geom,
PdMatrix[] tensor,
boolean useLumped)
Multiply vertex-based tensor field with inverse mass matrix. |
static PdVector[] |
multInvMassMatrix(PgElementSet geom,
PdVector[] vec,
boolean useLumped)
Multiply vertex-based vector field with inverse mass matrix. |
static PdVector |
multInvMassMatrix(PgElementSet geom,
PdVector vec,
boolean useLumped)
Multiply vertex-based function with inverse mass matrix. |
void |
useLumpedMass(boolean flag)
Enable/Disable usage of the lumped mass matrix. |
| Methods inherited from class jvx.numeric.PnStiffMatrix |
init |
| Methods inherited from class jvx.numeric.PnSparseMatrix |
diagonalSolve, getIndex, leftMult, leftMult, multScalar, rightMult, rightMult, toString |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, init, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PnMassMatrix(PgElementSet surface)
public PnMassMatrix(PgElementSet surface,
boolean useLumped)
useLumpedMass.
| Method Detail |
public void init(PgElementSet surface)
init in class PnStiffMatrixpublic void useLumpedMass(boolean flag)
public boolean isUsingLumpedMass()
public PnBiconjugateGradient getSolver()
multInvMassMatrix(PdVector[]),
multInvMassMatrix(PgElementSet, PdMatrix[], boolean),
multInvMassMatrix(PgElementSet, PdVector[], boolean)public PdVector[] multInvMassMatrix(PdVector[] vec)
vec - Length of the array must equal the number of vertices of the surface, the mass matrix is computed from.
All vector must have the same length.
public static PdVector multInvMassMatrix(PgElementSet geom,
PdVector vec,
boolean useLumped)
vec - vector specifies a function value for each vertex of the geometry.
public static PdVector[] multInvMassMatrix(PgElementSet geom,
PdVector[] vec,
boolean useLumped)
vec - length of the array must equal the number of vertices of the surface, the mass matrix is computed from.
All vector must have the same length.
public static PdMatrix[] multInvMassMatrix(PgElementSet geom,
PdMatrix[] tensor,
boolean useLumped)
Only usage of lumped mass matrix is implemented yet.
tensor - length of the array must equal the number of vertices of the surface, the mass matrix is computed from.
All vector must have the same length.
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||