Optimization of the target of an accelerator-driven neutron source through Monte Carlo numerical simulation of neutron and gamma transport by the PRIZMA code.