Documentation of 'jvx.numeric.PnElementRK' Java class
PnElementRK ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.numeric

Class PnElementRK

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf


    public class PnElementRK
    extends PnGeodesicRK
    Discrete Runge-Kutta solver on triangular element sets for integration of an element based vector field. Vector field is given at element centers. ElementSet must be triangulated.
    See Also:
    Serialized Form
    Author:
    Eike Preuß
    Version:
    22.01.03, 1.10 revised (ep) Inversion of the direction of integration added.
    • Constructor Detail

      • PnElementRK

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

      • 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)
        Sets 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)
        Evaluates vector field at given point. This implementation returns the constant vector in given element.
        Specified by:
        eval in class PnGeodesicRK
        Parameters:
        elemInd - element on which the vector field will be evaluated
        bary - barycentric coordinates of the point at which the vector field will be evaluated
        out - output: in this PdBaryDir the evaluated direction will be stored
        See Also:
        PnGeodesicRK
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

Ads help maintain this website.