cwpearson / stencil

A prototype MPI/CUDA stencil communication library
Boost Software License 1.0
10 stars 3 forks source link

interface to retrieve lower bound and upper bound of DistributedDomain #4

Open cwpearson opened 4 years ago

cwpearson commented 4 years ago

A program may need to know which region of the DistributedDomain it has. Add get_lb() and get_ub() methods to return Dim3s with the coordinates for the corner in the smallest and largest dimension.