<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>Starting from an up-to-date cp2k source tree, you'd have to make a few modifications to <span style="font-family:courier new,monospace">xc_b97.F</span>. <br>
</div>First, add your parameter values as a new array and give it a name like the other two that are already there (~line 54).<br></div>You will also need to give your parameter set a number, ~line 602 in <span style="font-family:courier new,monospace">input_constants.F</span>, and "USE" that in <span style="font-family:courier new,monospace">xc_b97.F</span> (~line 28).<br>
<br></div>Then you can go through <span style="font-family:courier new,monospace">xc_b97.F</span>, searching for all occurrences of "xc_b97_orig", and add appropriate "CASE" instructions for your own parametrization. Mostly it should be enough to copy-paste and switch out the variable names, and perhaps the lit. reference.<br>
<br></div>Finally, in order to make your parametrization available from the input file, you will need to appropriately modify lines 580--584 in<span style="font-family:courier new,monospace"> input_cp2k_xc.F</span>, simply adding one more element to the enum_* arrays and adapting the "description". (also "USE" the new input constant at the beginning of the file.)<br>
<br></div><div>I hope that's all. Then recompile and hope for the best :)<br><br>Ralph<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 7:41 PM, August Melcher <span dir="ltr"><<a href="mailto:august...@gmail.com" target="_blank">august...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the help, but I am still confused about how to add a new parameterization for the BECKE97 functional. You said I am supposed to follow the lead from other parameterizations, so I assume that means I should look at the files where the functional is parameterized and base it off of those. However I am not sure where to find these files and how to make sure that once I have created the new parameterization file the input file can recognize it. Can I specify a file path after PARAMETERIZATION?<div>
<div class="h5"><br><br>On Tuesday, March 4, 2014 12:30:36 PM UTC-8, August Melcher wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div>
<br></div><div><font face="arial, sans-serif">I would like to implement the <span style="font-size:small;line-height:42.2400016784668px">ùB97X-V functional as presented in this paper: </span></font><font face="arial, sans-serif"><span style="line-height:42.2400016784668px"><a href="http://www.ncbi.nlm.nih.gov/pubmed/24430168" target="_blank">http://www.ncbi.nlm.<u></u>nih.gov/pubmed/24430168</a></span></font></div>
<div>I am relatively new to CP2K so I apologize if this is a trivial question, but would someone mind assisting me in implementing this functional?</div><div><br></div><div>Thanks,</div><div>August</div></div></blockquote>
</div></div></div><div><div class="h5">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+uns...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="http://groups.google.com/group/cp2k" target="_blank">http://groups.google.com/group/cp2k</a>.<br></div></div>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</blockquote></div><br></div>