  Besides the well-known existence of Andreev bound states, the zero-energy
local density of states at the boundary of a d-wave superconductor strongly
depends on the boundary geometry itself. In this work, we examine the influence
of both a simple wedge-shaped boundary geometry and a more complicated
polygonal or faceted boundary structure on the local density of states. For a
wedge-shaped boundary geometry, we find oscillations of the zero-energy density
of states in the corner of the wedge, depending on the opening angle of the
wedge. Furthermore, we study the influence of a single Abrikosov vortex
situated near a boundary, which is of either macroscopic or microscopic
roughness.
