Name

gf_mesh_im_set — General function for modifying mesh_im objects

Calling Sequence

gf_mesh_im_set(MIM, 'integ', { integ im | int IMDEGREE }, [, ivec CVIDX])
gf_mesh_im_set(MIM, 'adapt')
    

Description

  • gf_mesh_im_set(MIM, 'integ', im [, CVIDX]) : set im as the integration method for all the convexes listed in CVIDX in the mesh linked to MF. If CVIDX is not used, the im is assigned to all convexes.

  • gf_mesh_im_set(MIM, 'integ', IM_DEGREE [, CVIDX]) : assign a classical approximate integration method of order at least IM_DEGREE on the listed convexes. If IM_DEGREE=-1, then the dummy integration method 'IM_NONE' is used.

  • gf_mesh_im_set(MIM, 'adapt') For a mesh_im levelset object only. Adapt the integration methods to a change of the levelset function.

Examples

 
mim = gf_mesh_im(m);
// set an integration method of order 5 on all convexes
gf_mesh_im_set(mim,'integ',5); 
// change the integration for convexes 5 6 9
gf_mesh_im_set(mim,'integ',gf_integ('IM_TRIANGLE(13)'),[6 5 9]);
 

See Also

gf_mesh_im_get, gf_mesh_im

Authors

Y. Collette