<div dir="ltr">Hi,<br><br>I am trying to calculate 2p XAS with CP2K. I use all-electron basis set for the atom to be excited, whereas other atoms have pseudopotentials, which makes identification of orbitals a bit easier, as I can always count 1 to 5 from snapshot to snapshot.<br><br>However I was wondering whether I get the matrix elements as an average over all the 3 states or only for one of them. My input reads<br>   &XAS T <br>      XAS_METHOD TP_HH <br>      EPS_DIIS 1.0<br>      MAXSTEP 100<br>      STATE_TYPE 2P # Type of the orbitas that are excited for the xas spectra calculation (default = 1s) <br>      ATOMS_LIST  1 # Indexes of the atoms to be excited. <br>      STATE_SEARCH 5 # of states where to look for the one to be excited (default = 1)<br>      ADDED_MOS 100 # Number of additional MOS added spin up only (default = 1)<br>      &LOCALIZE T <br>        LIST  1 2 3 4 5<br>      &END LOCALIZE<br>    &END XAS<br><br>If I get the amplitudes only for one of the nearly degenerate 2p orbitals, how would I be able to do calculations all of them? Putting 3 or 4 in state search does not work, tried that. <br><br>Naturally I will add spin orbit splitting ad hoc afterwards, but I would first need to know a working input for amplitudes for ALL 3 of the 2p levels.<br><br>Thanks for help in advance,<br><br>Johannes Niskanen, PhD<br>Department of Physics<br>University of Helsinki<br></div>