Magnetic ordering of Mn in Ca-doped NdMnO3