public class PnElementRK extends PnGeodesicRK
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 |
|---|
PnElementRK(PgElementSet geom) |
| Modifier and Type | Method and Description |
|---|---|
void |
eval(int elemInd,
PdBary bary,
PdBaryDir out)
Evaluates vector field at given point.
|
void |
setVectorField(PdBaryDir[] vec)
Sets intrinsic vector field given at element centers.
|
void |
setVectorField(PgVectorField vec)
Sets intrinsic vector field as projection of
extrinsic vector field given at element centers.
|
eval, getInvertDirection, getStepLength, nextStep, prepareSolve, setFirstOrder, setFourthOrder, setGeometry, setInvertDirection, solve, solve, solveaddInspector, 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, toString, update, updatePanelspublic PnElementRK(PgElementSet geom)
geom - underlying triangulationpublic void setVectorField(PdBaryDir[] vec)
vec - array of intrinsic vectors that are interpreted to
begin in the center of the element. The position of a vector
in array vec equals the global element index of
the element that contains the vectorpublic void setVectorField(PgVectorField vec)
vec - vector field in adjacent spacePgVectorFieldpublic void eval(int elemInd,
PdBary bary,
PdBaryDir out)
eval in class PnGeodesicRKelemInd - element on which the vector field will be evaluatedbary - barycentric coordinates of the point at which the vector field will be evaluatedout - output: in this PdBaryDir the evaluated direction will be storedPnGeodesicRK"