jvx.numeric
Class PnVertexRK
java.lang.Object
jv.object.PsObject
jvx.numeric.PnGeodesicRK
jvx.numeric.PnVertexRK
- All Implemented Interfaces:
- java.lang.Cloneable, PsUpdateIf, java.io.Serializable
- public class PnVertexRK
- extends PnGeodesicRK
Discrete Runge-Kutta method on element sets. Vector field is given at vertices.
Element set must be triangulated.
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class jvx.numeric.PnGeodesicRK |
eval, getInvertDirection, getStepLength, getStepPolygon, nextStep, prepareSolve, setFirstOrder, setFourthOrder, setGeometry, setInvertDirection, solve |
| 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, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PnVertexRK
public PnVertexRK(PgElementSet geom)
- Parameters:
geom - underlying triangulation
setVectorField
public void setVectorField(PdBaryDir[][] vec)
- Set intrinsic vector field given at vertices.
- Parameters:
vec - [elementindex][localvertexindex]
setVectorField
public void setVectorField(PgVectorField vec)
- Set intrinsic vector field as projection of
extrinsic vector field given at vertices.
- Parameters:
vec - vector field in adjacent space- See Also:
PgVectorField
eval
public void eval(int elemInd,
PdBary bary,
PdBaryDir out)
- Returns barycentric interpolation between vectors at vertices.
- Overrides:
eval in class PnGeodesicRK
- Parameters:
elemInd - element in which the vector field will be evaluatedbary - barycentric coordinates of the point in which the vector field will be evaluatedout - output: in this PdBaryDir the evaluated direction will be stored- See Also:
PnElementRK.eval(int, jv.vecmath.PdBary, jv.vecmath.PdBaryDir),
eval(int, jv.vecmath.PdBary, jv.vecmath.PdBaryDir),
PnTranslationRK.eval(int, jv.vecmath.PdBary, jv.vecmath.PdBaryDir)
The software JavaView© is copyright protected. All Rights Reserved.