next up previous contents index
Next: Utility Functions Up: List_Of_Inst Previous: Memory Methods on List_Of_Inst

Other Methods on List-Of-Inst

 

GRAPE(list, "activate_send")()
GRAPE(list, "deactivate_send")()
        LIST_OF_INST *list
Add/remove the ACTIVE bit for all objects in the list. This flag is used in

GRAPE(list, "universal")(method)
    LIST_OF_INST *list
char *method
Send method to all active objects (ACTIVE bit set in flags[i]).

GRAPE(list, "interpol")(list1, list2, factor)
GRAPE(list, "interpol_fac")(list1, list2, fac1, fac2)
        LIST_OF_INST *list
LIST_OF_INST *list1, *list2
double factor, fac1, fac2
Interpolate the two List_Of_Inst instances list1 and list2 with factor: list = (1 - factor) * list1 + factor * list2 or with factors fac1 and fac2: list = fac1 * list1 + fac2 * list2. If necessary new memory is allocated for list.

GRAPE(list, "get_info")(xlist)
    LIST_OF_INST *list
XLIST *xlist
Create info xlist entries for a List_Of_Inst instance. Entries are class, name, refcount, number of objects and class and flag for each object.



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.