public class PnTranslationRK extends PnGeodesicRK
PnGeodesicRK
,
Serialized FormHAS_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 |
---|
PnTranslationRK(PgElementSet geom)
Initializes runge-kutta.
|
Modifier and Type | Method and Description |
---|---|
void |
eval(int elemInd,
PdBary bary,
PdBaryDir out)
Returns barycentric interpolation between representations of vectors given at
vertices.
|
void |
setVectorField(int[] origElem,
PdBaryDir[] origDir,
int[] origLocVertInd)
Sets vector field and calculates needed data.
|
eval, getInvertDirection, getStepLength, nextStep, prepareSolve, setFirstOrder, setFourthOrder, setGeometry, setInvertDirection, solve, solve, solve
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, toString, update, updatePanels
public PnTranslationRK(PgElementSet geom)
geom
- underlying geometrysetVectorField(int[], jv.vecmath.PdBaryDir[], int[])
public void setVectorField(int[] origElem, PdBaryDir[] origDir, int[] origLocVertInd)
origElem
- for every vertex the element in which origDir liesorigDir
- for every vertex the vector on an elementorigLocVertInd
- local vertex index of the base vertex of vector in origElempublic void eval(int elemInd, PdBary bary, PdBaryDir out)
eval
in class PnGeodesicRK
elemInd
- element in 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 storedPnElementRK.eval(int, jv.vecmath.PdBary, jv.vecmath.PdBaryDir)
,
PnVertexRK.eval(int, jv.vecmath.PdBary, jv.vecmath.PdBaryDir)
,
eval(int, jv.vecmath.PdBary, jv.vecmath.PdBaryDir)
"