<< gf_workspace sci_getfem preliminary >>

sci_getfem >> sci_getfem > Objects

Objects

This is a description of the objects found in GetFEM.

Description

Getfem-interface objects hierarchy

Various "objects" can be manipulated by the getfem-matlab toolbox, see fig. *. The MESH and MESHFEM objects are the two most important objects.

The getfem-matlab toolbox uses its own memory management. Hence getfem++ objects are not cleared when a

--> clear all

is issued at the matlab prompt, but instead the function

--> gf_workspace('clear all')

should be used. The various getfem-matlab object can be accessed via handles (or descriptors), which are just matlab structures containing 32-bits integer identifiers to the real objects. Hence the matlab command

--> whos

does not report the memory consumption of getfem++ objects (except the marginal space used by the handle). Instead, you should use

--> gf_workspace('stats')

There are two kinds of getfem-matlab objects:

The objects MESH and MESHFEM are not independent: a MESHFEM object is always linked to a MESH object, and a MESH object can be used by several MESHFEM objects. Hence when you request the destruction of a MESH object, its destruction might be delayed until it is not used anymore by any MESHFEM (these objects waiting for deletion are listed in the anonymous workspace section of gf_workspace('stats')).

See Also

Authors

Y. Collette


Report an issue
<< gf_workspace sci_getfem preliminary >>