hostile design; anti-homeless architecture
Refers to urban design elements intentionally installed to deter certain behaviors, especially sleeping or loitering by homeless people. Often carries a critical or negative connotation.
The armrests on the park bench are an example of hostile design.