Equilibrium state of a cylindrical particle with flat ends in nematic liquid crystals.