slm: OpenCL code base
0.1
|
Measure hillslope lengths. More...
Functions | |
__kernel void | hillslope_lengths (__global const float2 *seed_point_array, __global const bool *mask_array, __global const float2 *uv_array, __global const uint *mapping_array, __global const uint *label_array, __global float *traj_length_array) |
TBD. More... | |
Measure hillslope lengths.
__kernel void hillslope_lengths | ( | __global const float2 * | seed_point_array, |
__global const bool * | mask_array, | ||
__global const float2 * | uv_array, | ||
__global const uint * | mapping_array, | ||
__global const uint * | label_array, | ||
__global float * | traj_length_array | ||
) |
TBD.
Compiled if KERNEL_HILLSLOPE_LENGTHS is defined.
[in] | seed_point_array | list of initial streamline point vectors, one allotted to each kernel instance |
[in] | mask_array | grid pixel mask (padded), with true = masked, false = good |
[in] | uv_array | flow unit velocity vector grid (padded) |
[in,out] | mapping_array | flag grid recording status of each pixel (padded) |
[in,out] | label_array | label grid giving the ID of the subsegment to which this pixel belongs (padded); the MSB is set if left flank |
[out] | traj_length_array | list of lengths of each trajectory; one per seed_point_array vector |
Definition at line 37 of file lengths.cl.