Multi-mJ, side-pumped, polarization coupled Nd:YAG Porro-prism laser in active and passive Q-switching regime