This subroutine acts as a wrapper around the dsslib routine dssFilterMask(). It retrieves the on and off bit masks from the specified DSS filter, checks that they are the same size, and returns them in a pointer bitMaskPtr of type BitMaskT.
subroutine getBitMasksFromFilter(filter, bitMaskPtr) type(DSfilterT), intent(in) :: filter type(BitMaskT), pointer :: bitMaskPtr(:) end subroutine getBitMasksFromFilter