A geometry projection method for continuum-based topology optimization with discrete elements