gf_delete

Purpose

Deletion of a mesh or mesh_fem object.

Synopsis

gf_delete(hobj I,[hobj J,hobj K,...])

Description

gf_delete(hobj I,[hobj J, hobj K,...]) : delete an existing getfem object from memory. I should be a descriptor given by gf_mesh(), gf_mesh_im(), gf_slice() etc.

Note that if another object uses I, then object I will be deleted only when both have been asked for deletion. Only objects listed in the output of gf_workspace('stats') can be deleted (for example gf_fem objects cannot be destroyed). You may also use gf_workspace('clear all') to erase everything at once. remark: instead of passing a list of handles, you may pass an array of object handles.

See Also