# gf_mesh_im_set¶

Synopsis

gf_mesh_im_set(mesh_im MI, 'integ',{integ im|int im_degree}[, ivec CVids])


Description :

General function for modifying mesh_im objects

Command list :

gf_mesh_im_set(mesh_im MI, 'integ',{integ im|int im_degree}[, ivec CVids])

Set the integration method.

Assign an integration method to all convexes whose #ids are listed in CVids. If CVids is not given, the integration is assigned to all convexes. It is possible to assign a specific integration method with an integration method handle im obtained via gf_integ(‘IM_SOMETHING’), or to let getfem choose a suitable integration method with im_degree (choosen such that polynomials of $$\text{degree} \leq \text{im\_degree}$$ are exactly integrated. If im_degree=-1, then the dummy integration method IM_NONE will be used.)

gf_mesh_im_set(mesh_im MI, 'adapt')

For a mesh_im levelset object only. Adapt the integration methods to a change of the levelset function.