jsitaraman / tioga

Tioga is a library for overset grid assembly on parallel distributed systems
GNU Lesser General Public License v3.0
64 stars 36 forks source link

separate inline functions for concatenated and standard node index #30

Closed ashesh2512 closed 4 years ago

ashesh2512 commented 4 years ago

Seeing as how the iblank array requires computation of the node index in a patch vs getCartReceptors which required node index of a patch concatenated to the cell indices, this pull request introduces an additional function allowing to distinguish between the two.

ashesh2512 commented 4 years ago

@jsitaraman I felt this was cleaner than having only one function and then subtracting/adding the number of cells which seemed more prone to errors.