next up previous contents index
Next: Memory Methods on Surface Up: Surface Previous: The Surface Structure

Reflection_Control

 

Class Surface provides methods to reflect the time-dependent geometries on (time-dependent) planar or straight symmetry lines, points, normals or circles. The Reflection_Control instance reflect handles the reflection type and selection of objects for the reflection:

 

#CLASS Reflection_Control : Root {
  int type;         /* bitwise flag for reflection type:
                         REFL_ALL (no object selection if set),
                         REFL_AUTOMATIC (type guessed if set),
                         REFL_PLANAR, REFL_LINE, REFL_POINT,
                         REFL_NORMAL, REFL_CIRCLE (fixed type) */
  int obj;          /* bitwise flag for objects to be reflected:
                         REFL_MODEL, REFL_GEOMETRY, REFL_DOMAIN,
                         REFL_GAUSS, REFL_CONJUGATE, REFL_NEWTON */
  int last_obj_index;
  int object_index, bdy_index, bdy2_index;
};

The Surface project (see section 8.2.3) provides an interface which allows to select type and objects, and to select boundary curves of the Geom2d instances (which are used to store the data of the geometries) for the reflections.

To be able to reflect a time-dependent geometry only the indices of the selected boundary curve(s) are used, they are stored in the ..._index variables.

There are only two methods on Reflection_Control:

   tex2html_wrap44762    tex2html_wrap44764
REFLECTION_CONTROL * rflctrl
SURFACE * surface
"init" is used to initialize the type and obj with the values selected in the user-interface. "reflect-init" just calls "init" on surface-> reflect, it is called on the current Surface when the reflect configuration layer shown in figure 8.17 is closed.

   GRAPE(rflctrl, "xdr")(xdrp)
REFLECTION_CONTROL * rflctrl
XDR * xdrp
Read the rflctrl variables from or write them to the XDR stream xdrp. This method should not be called directly, refer to 5.7 (expecially 5.7.3) for details.



SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.