Here is a list of all files with brief descriptions:
channelheads.cl | Kernels to map provisional channel heads and the prune those not on thin channels |
computestep.cl | Compute single streamline integration step |
connect.cl | Kernels to connect discontinous and dangling channels |
countlink.cl | Kernels to (re)map thin channels, branching structure, and single outflow directions |
essentials.cl | Essential functions for streamline trajectory integration |
info.h | Dummy example header that mimics the macro parameters passed to the CL compiler |
integration.cl | Streamline trajectory integration kernel and related tracing functions |
integrationfns.cl | Adaptive 1st or 2nd order Runge-Kutta single-stepping functions |
label.cl | Kernel to map channel confluences and identify their major & minor upstream pixels |
lengths.cl | Kernel to measure distances from midslope to thin channel pixels aka hillslope length |
rng.cl | Lehmer linear-congruential random number generator functions (uint and float2 vector) |
segment.cl | Kernels to (sub)segment landscape into smallish patches from channels to ridges |
trajectory.cl | Streamline integration functions |
trajectoryfns.cl | Various functions to compute trajectories and record data along them |
writearray.cl | Functions to write to slc & slc grid arrays using atomic ops (mask-checked and not) |