next up previous contents
Next: Other Methods on GenMesh Up: GenMesh Previous: GenMesh

Memory Methods on GenMesh

   

(GENMESH *)GRAPE(GenMesh, "new-instance")(name)

CLASS *GenMesh char *name

This method creates a new instance of class GenMesh with name name by allocating the necessary memory. The current_function-pointer of the created GenMesh is initialized and the zero-function is set to be the actual function.

   

(GENMESH *)GRAPE(mesh, "free")()

GENMESH *mesh

This method frees the instance mesh by deleting the structures allocated by new-instance, that means the GLIST *current_function, the list of functions in meshtex2html_wrap_inline3530f_data and the instance itself.

   

(GENMESH *)GRAPE(mesh, "softcopy")(copy)

GENMESH *mesh,*copy

Copies the instance mesh into copy by calling method on superclass and filling additional structure-pointers and variables, in particular the function-selector and the list of functions are copied. copy is returned.

   

(GENMESH *)GRAPE(mesh, "get-object")(obj,t)

GENMESH *mesh,*obj
double t

This method softcopies the instance mesh and its function-selector into the pointer obj and sets the time of obj to t. This obj is returned.

   

(GENMESH *)GRAPE(mesh, "copy-functions")(copy)

GENMESH *mesh,*copy

This method hardcopies the f_data list of the instance mesh to copy. If there are already some functions present in copy's f_data-list, these are removed. The instance mesh is returned completely unchanged.

   

(GENMESH *)GRAPE(mesh, "copy-function-selector")(copy)

GENMESH *mesh,*copy

The function-selector of instance copy is deleted and the one of instance mesh is copied completely to copy. The instance mesh is returned unchanged.

   

(GENMESH *)GRAPE(mesh, "clear-function-selector")()

GENMESH *mesh

This method clears every slot in the list current_function of instance mesh.


next up previous contents
Next: Other Methods on GenMesh Up: GenMesh Previous: GenMesh

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.