Navigation

Operators and Keywords

Function List:

C++ API

Function File: ok = ls_check (phi, type, where)

Check a geometric constraint for the level-set function phi.

type specifies what the constraint should be, and where should be a logical array of the same size as the grid (and thus phi), specifying which grid points are part of the set that defines the constraint. Possible values for type:

"inside"

The domain should be inside the region marked as where.

"outside"

The domain should not intersect the region marked as where.

"contain"

The domain should always contain the region marked in where.

See also: ls_enforce, ls_enforce_speed, ls_inside.

Package: level-set