landlab.grid.nodestatus

class NodeStatus[source]

Bases: IntEnum

Define the boundary-type codes

CLOSED = 4

Indicate a boundary node is closed

CORE = 0

Indicate a node is core.

FIXED_GRADIENT = 2

Indicate a boundary node is has a fixed gradient.

FIXED_VALUE = 1

Indicate a boundary node is has a fixed values.

LOOPED = 3

Indicate a boundary node is wrap-around.

classmethod __contains__(value)

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members.

__dir__()

Returns public methods and other interesting attributes.

classmethod __getitem__(name)

Return the member matching name.

classmethod __iter__()

Return members in definition order.

classmethod __len__()

Return the number of members (no aliases)

__new__(value)