Name

gf_levelset

Calling Sequence

LevelSet = gf_levelset(...)

Description

The level-set object is represented by a primary level-set and optionally a secondary level-set used to represent fractures (if p(x) is the primary level-set function and s(x) is the secondary level-set, the crack is defined by p(x)=0 and s(x)<=0: the role of the secondary is stop the crack).

  • gf_levelset(Mesh m, int d) Create a LevelSet object on a Mesh m represented by a primary function defined on a lagrange Fem of degree d.

  • gf_levelset(Mesh m, int d, string poly1) Create a LevelSet object on a Mesh m represented by a primary function defined by the polynomial expression poly1 on a lagrange Fem of degree d.

  • gf_levelset(Mesh m, int d, 'with_secondary' [, string poly2]) Create a LevelSet object on a Mesh m represented by a primary function defined by the polynomial expression poly1 and a secondary function, both on a lagrange Fem of degree d.

  • gf_levelset(Mesh m, int d, string poly1, string poly2) Create a LevelSet object on a Mesh m represented by a primary function defined by the polynomial expression poly1 and a secondary function defined by the polynomial expression poly2, both on a lagrange Fem of degree d.

See Also

gf_levelset_set, gf_levelset_get

Authors

Y. Collette