OOF2: The Manual

Name

XYFunction (FuncTwoVectorFieldInit) — Initialize a two-vector field with a function of x and y.

Synopsis

FuncTwoVectorFieldInit(fx,fy)

Details

  • Base class: TwoVectorFieldInit
  • Parameters:

    fx
    The x component of the field as a function of x and y Type: A string defining a function of x and y.
    fy
    The y component of the field as a function of x and y Type: A string defining a function of x and y.

Description

FuncTwoVectorFieldInit objects are used as the initializer argument in the OOF.Mesh.Initialize command when assigning initial values to two-dimensional vector fields on a Mesh. The fx and fy parameters must be valid Python expression which depend on the variables x and y. These functions will be used to initialize the x and y components of the field at each point in the Mesh.

Examples.  All of the following are legal values for fx or fy:


/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */