next up previous contents index
Next: Display Methods on Amandus Up: Amandus Previous: The Amandus Structure

Memory Methods on Amandus

 

   (AMANDUS * ) GRAPE(Amandus, "new-instance")(name)
CLASS * Amandus
char * name
Create an Amandus instance with name name. First "new-instance" on the superclass Explicit is called and then the CNODEs needed for the computation are allocated. The memory for the geometries has to be allocated by calling "list-alloc", the weier_f function pointers are initialized by "get-weier-f" which is called when an Amandus description file is read.

   GRAPE(amandus, "free")()
AMANDUS * amandus
Delete an instance of class Amandus. First "list-free" is called and the CNODEs are deleted, then "free" on the superclass is called. See 5.4.4.1 for more information on "delete"/"free".

   tex2html_wrap44932    tex2html_wrap44934
AMANDUS * amandus
Both methods extend the superclass methods, they allocate/free the newton geometry for an Amandus instance. "list-alloc" creates num_of_frames frames for newton, the domain_parm values determine how many points are allocated for each frame.



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.