JavaView® v2.00.008

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

Discret Runge-Kutta method on ElementSets. Vector field is given at vertices. ElementSet must be triangulated.

Version:
18.09.00, 1.10 revised (ep) added method setVectorField(PgVectorField).
21.11.99, 1.00 created (ep)
See Also:
Serialized Form

Field Summary
protected  PdBaryDir[][] m_vec
          Intrinsic vector field given at vertices [elementindex][localvertexindex].
 
Fields inherited from class jvx.numeric.PnGeodesicRK
m_fast, m_geom, m_lastLength, m_outpoly
 
Fields inherited from class jv.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, m_infoPanel, m_name, m_panelList, m_parent, m_tag, m_updateList, NUM_TAGS
 
Constructor Summary
PnVertexRK(PgElementSet geom)
           
 
Method Summary
 void eval(int elemInd, PdBary bary, PdBaryDir out)
          Returns barycentric interpolation between vectors at vertices.
 void setVectorField(PdBaryDir[][] vec)
          Set intrinsic vector field given at vertices.
 void setVectorField(PgVectorField vec)
          Set intrinsic vector field as projection of extrinsic vector field given at vertices.
 
Methods inherited from class jvx.numeric.PnGeodesicRK
getStepLength, getStepPolygon, nextStep, prepareSolve, rungeKutta, setFirstOrder, setFourthOrder, setGeometry, solve
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_vec

protected PdBaryDir[][] m_vec
Intrinsic vector field given at vertices [elementindex][localvertexindex].
Constructor Detail

PnVertexRK

public PnVertexRK(PgElementSet geom)
Parameters:
geom - underlying triangulation
Method Detail

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 evaluated
bary - barycentric coordinates of the point in which the vector field will be evaluated
out - output: in this PdBaryDir the evaluated direction will be stored

JavaView® v2.00.008

The software JavaView® is copyright protected. All Rights Reserved.