<div dir="ltr"><div>    IF (dft_control%multiplicity == 0) THEN</div><div>         IF (MODULO(nelectron, 2) == 0) THEN</div><div>            dft_control%multiplicity = 1</div><div>         ELSE</div><div>            dft_control%multiplicity = 2</div><div>         END IF</div><div>      END IF</div><div><br></div><div>the default zero is just a place holder - gets replaced by 1 or 2 if unrestricted and even / odd number of electrons.</div><div><br></div><div>Matt</div><br>On Tuesday, April 30, 2019 at 10:50:03 AM UTC+1, Torstein Fjermestad wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear Matt, <div><br></div><div>The part you quote from the manual is very clear. </div><div>What confuses me is that two lines further down it says "<span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Default value: </span><big style="font-family:monospace;font-size:13px;text-transform:uppercase;color:rgb(0,0,0)">0"</big></div><div>The multiplicity cannot be zero, so I wonder what the value 0 of the keyword MULTIPLICITY means. </div><div><br></div><div>Thanks in advance for clarification. </div><div>Regards,</div><div>Torstein</div><div>  </div><div><br>mandag 29. april 2019 17.19.19 UTC skrev Matt W følgende:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>the online reference manual says</div><div><br></div><div><div>"MULTIPLICITY {Integer}</div><div>Two times the total spin plus one. Specify 3 for a triplet, 4 for a quartet, and so on. Default is 1 (singlet) for an even number and 2 (doublet) for an odd number of electrons. "</div><div><br></div><div>so [2S + 1] is the multiplicity you give for multiplicity. Where S is the total spin angular momentum of the system you want to model.</div><div><br></div><div>Matt</div><div><br></div><div><br></div>On Monday, April 29, 2019 at 5:26:24 PM UTC+1, Torstein Fjermestad wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all, <div> </div><div>In the Cp2k manual, the explanation for the keyword "MULTIPLICITY" is as follows: "<em style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Default is 1 (singlet) for an even number and 2 (doublet) for an odd number of electrons."</em></div><div><font color="#000000" face="Times New Roman" size="3"><br></font></div><div><font color="#000000" face="Times New Roman" size="3">But then two lines further down, it says: "</font><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Default value: </span><big style="font-family:monospace;font-size:13px;text-transform:uppercase;color:rgb(0,0,0)">0"</big></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">What does MULTIPLICITY 0 means? </span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Thanks in advance for your clarification.  </span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Regards,</span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Torstein</span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><br></span></div></div></blockquote></div></div></blockquote></div></div></blockquote></div>