public class PnStiffMatrix extends PnSparseMatrix
Modifier and Type | Field and Description |
---|---|
int |
m_noe
Number of elements in surface.
|
USE_LARGER_BUFFER
HAS_BOUNDARY_PANEL, 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 and Description |
---|
PnStiffMatrix(PgElementSet surface) |
Modifier and Type | Method and Description |
---|---|
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).
|
static PnSparseMatrix |
computeStiffnessMatrix(PgElementSet geom,
boolean conforming,
PdVector weights)
Compute the entries of the stiffness matrix either conforming or
non-conforming.
|
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.
|
add, add, addDiagonal, addDiagonal, addEntry, addNew, appendEntry, clear, clearColumn, clearRow, compress, concatMatrices, copy, copyNew, deleteColumn, deleteRow, extractRows, getColIndex, getColIndices, getColIndices, getDiagIndex, getEntries, getEntries, getEntry, getEntrySparse, getIndex, getNumCols, getNumEntries, getNumEntries, getNumRows, isEqualTo, isSquare, leftMultMatrix, leftMultVector, leftMultVector, leftMultVector, leftMultVector, multMatrices, multQuadratic, multScalar, multScalar, removeZeros, rightMultMatrix, rightMultVector, rightMultVector, rightMultVector, rightMultVector, setEntry, setEntrySparse, setNumEntries, setRow, setSize, setSize, setSize, sortEntries, sub, subNew, toPdMatrix, toShortString, toString, transpose, transpose, transposeNew, transposeNew, validate, vstackSparseMatrices
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
public PnStiffMatrix(PgElementSet surface)
public void init(PgElementSet surface)
public void init(PgElementSet domain, PgElementSet surface)
public static PnSparseMatrix computeStiffnessMatrix(PgElementSet geom, boolean conforming, PdVector weights)
conforming
- Specifies whether the matrix works on conforming or non-conforming maps.weights
- Weights for each triangle. May be null.public static PdVector computeRightVector(PgElementSet geom, PgVectorField field, boolean conforming, boolean rotateGradient, PdVector weights)
geom
- Geometry to work on.field
- Given vector field.conforming
- Whether the energy should operate on the set ofweights
- Weights for each triangle. May be null."