<< gf_util sci_getfem Objects >>

sci_getfem >> sci_getfem > gf_workspace

gf_workspace

Getfem workspace management function. Getfem uses its own workspaces in Matlab, independently of the matlab workspaces (this is due to some limitations in the memory management of matlab objects). By default, all getfem variables belong to the root getfem workspace. A function can create its own workspace by invoking gf_workspace('push') at its beginning. When exiting, this function MUST invoke gf_workspace('pop') (you can use matlab exceptions handling to do this cleanly when the function exits on an error).

Calling Sequence

gf_workspace('push')
gf_workspace('pop',  [,i,j, ...])
gf_workspace('stat')
gf_workspace('stats')
gf_workspace('keep', i[,j,k...])
gf_workspace('keep all')
gf_workspace('clear')
gf_workspace('clear all')
gf_workspace('class name', i)

Description

Getfem workspace management function. Getfem uses its own workspaces in Matlab, independently of the matlab workspaces (this is due to some limitations in the memory management of matlab objects). By default, all getfem variables belong to the root getfem workspace. A function can create its own workspace by invoking gf_workspace('push') at its beginning. When exiting, this function MUST invoke gf_workspace('pop') (you can use matlab exceptions handling to do this cleanly when the function exits on an error).

Command list

See Also

Authors

Y. Collette


Report an issue
<< gf_util sci_getfem Objects >>