jvx.numeric
Class PnElementRK
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.numeric.PnGeodesicRK
|
+--jvx.numeric.PnElementRK
- All Implemented Interfaces:
- java.lang.Cloneable, PsUpdateIf, java.io.Serializable
- public class PnElementRK
- extends PnGeodesicRK
Discret Runge-Kutta method on ElementSets. Vector field is given at element centers.
ElementSet must be triangulated.
- See Also:
- Serialized Form
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, init, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PnElementRK
public PnElementRK(PgElementSet geom)
- Parameters:
geom - underlying triangulation
setVectorField
public void setVectorField(PdBaryDir[] vec)
- Sets intrinsic vector field given at element centers.
- Parameters:
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 vector
setVectorField
public void setVectorField(PgVectorField vec)
- Set intrinsic vector field as projection of
extrinsic vector field given at element centers.
- Parameters:
vec - vector field in adjacent space- See Also:
PgVectorField
eval
public void eval(int elemInd,
PdBary bary,
PdBaryDir out)
- Evaluate vector field at given point. This implementation returns
the constant vector in given element.
- Overrides:
eval in class PnGeodesicRK
- Parameters:
elemInd - 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 stored- See Also:
PnGeodesicRK.eval(int, jv.vecmath.PdBary, jv.vecmath.PdBaryDir)
The software JavaView® is copyright protected. All Rights Reserved.