Source code for landlab.grid.linkstatus

#! /usr/bin/env python
from enum import IntEnum, unique

import numpy as np

from .nodestatus import NodeStatus

[docs] @unique class LinkStatus(IntEnum): """Define the link types""" #: Indicate a link is *active*, and can carry flux ACTIVE = 0 #: Indicate a link has a fixed (gradient) value, & behaves as a boundary FIXED = 2 #: Indicate a link is *inactive*, and cannot carry flux INACTIVE = 4