gf_mesh_levelset_setΒΆ

Synopsis

gf_mesh_levelset_set(mesh_levelset MLS, 'add', levelset ls)
gf_mesh_levelset_set(mesh_levelset MLS, 'sup', levelset ls)
gf_mesh_levelset_set(mesh_levelset MLS, 'adapt')

Description :

General function for modification of mesh_levelset objects.

Command list :

gf_mesh_levelset_set(mesh_levelset MLS, 'add', levelset ls)

Add a link to the levelset ls.

Only a reference is kept, no copy is done. In order to indicate that the linked mesh is cut by a levelset one has to call this method, where ls is an levelset object. An arbitrary number of levelset can be added.

WARNING

The mesh of ls and the linked mesh must be the same.

gf_mesh_levelset_set(mesh_levelset MLS, 'sup', levelset ls)

Remove a link to the levelset ls.

gf_mesh_levelset_set(mesh_levelset MLS, 'adapt')

Do all the work (cut the convexes with the levelsets).

To initialice the mesh_levelset object or to actualize it when the value of any levelset function is modified, one has to call this method.

Previous topic

gf_mesh_levelset_get

Next topic

gf_mesher_object

Download

Download GetFEM++

Main documentations

Other resources