Contrib lib cellFaceSetUtilities
I am fully aware that a library consisting of one function is a ridiculous concept, but it's a start.
To compile extract it and compile with
Make sure that the lnInclude is in the INCLUDE-path when compiling programs that use the library. The library itself is automagically used because it goes to the $FOAM_USER_LIBBIN.