Navigation

Operators and Keywords

Function List:

C++ API

Function File: geom = ls_absolute_geom (geom, XX, YY)

Extend the geometry structure geom of ls_find_geometry to include absolute coordinates. In addition to ls_find_geometry, this function has access to absolute grid-point coordinates, and uses them to set the additional geom.ispts.coord field to absolute coordinates. The format is the same as the relative coordinates in geom.ispts.incoord. Also, it adds the new entry nodes to geom, with the following fields:

n

Total number of nodes. This is the number of entries in phi.

coord

n x 2 matrix containing the absolute coordinates of each node. The nodes are numbered in the range 1–n in the internal ordering of Octave.

Currently, only 2D is supported. XX and YY should be the grid-point coordinates according to meshgrid or ndgrid.

See also: ls_find_geometry, meshgrid, ndgrid.

Package: level-set