1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Description of input structure — BAGEL Manual</title>
<link rel="stylesheet" href="../_static/override.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Nuclear gradient and derivative coupling" href="force.html" />
<link rel="prev" title="Nuclear gradients and related functionalities" href="grad.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="force.html" title="Nuclear gradient and derivative coupling"
accesskey="N">next</a></li>
<li class="right" >
<a href="grad.html" title="Nuclear gradients and related functionalities"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">BAGEL Manual</a> »</li>
<li class="nav-item nav-item-1"><a href="../user-manual.html" ><strong>BAGEL user manual</strong></a> »</li>
<li class="nav-item nav-item-2"><a href="grad.html" accesskey="U">Nuclear gradients and related functionalities</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="description-of-input-structure">
<span id="methods"></span><h1>Description of input structure<a class="headerlink" href="#description-of-input-structure" title="Permalink to this headline">¶</a></h1>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>One key feature that is heavily used in the nuclear gradients and relevant functionalities in Bagel is to use method array within the force (or optimize, or hessian) section. Since this array allow for quite a bit of flexibility in the input, several examples are given below to demonstrate its use.</p>
</div>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
<p>In a force calculation, the methods can be nested in the followoing way. This is particularly useful for performing a CASPT2 gradient calculation where a CASSCF calculation must also be performed. The options for CASPT2 are specified in the smith block, while the CASSCF parameters (in this case nstate, nact, and nclosed) are specified outside of the smith block.</p>
<div class="highlight-javascript notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">"title"</span> <span class="o">:</span> <span class="s2">"force"</span><span class="p">,</span>
<span class="s2">"method"</span> <span class="o">:</span> <span class="p">[</span> <span class="p">{</span>
<span class="s2">"title"</span> <span class="o">:</span> <span class="s2">"caspt2"</span><span class="p">,</span>
<span class="s2">"smith"</span> <span class="o">:</span> <span class="p">{</span>
<span class="s2">"method"</span> <span class="o">:</span> <span class="s2">"caspt2"</span><span class="p">,</span>
<span class="s2">"shift"</span> <span class="o">:</span> <span class="mf">0.2</span><span class="p">,</span>
<span class="s2">"frozen"</span> <span class="o">:</span> <span class="kc">true</span>
<span class="p">},</span>
<span class="s2">"nstate"</span> <span class="o">:</span> <span class="mi">3</span><span class="p">,</span>
<span class="s2">"nact"</span> <span class="o">:</span> <span class="mi">7</span><span class="p">,</span>
<span class="s2">"nclosed"</span> <span class="o">:</span> <span class="mi">44</span>
<span class="p">}</span> <span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>The same calculation could also be performed by setting up the input specifying both CASSCF and CASPT2 within in the method array but by first requesting a CASSCF calculation and subsequently asking for a CASPT2 calculation.</p>
<div class="highlight-javascript notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">"title"</span> <span class="o">:</span> <span class="s2">"force"</span><span class="p">,</span>
<span class="s2">"method"</span> <span class="o">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">"title"</span> <span class="o">:</span> <span class="s2">"casscf"</span><span class="p">,</span>
<span class="s2">"nstate"</span> <span class="o">:</span> <span class="mi">3</span><span class="p">,</span>
<span class="s2">"nact"</span> <span class="o">:</span> <span class="mi">7</span><span class="p">,</span>
<span class="s2">"nclosed"</span> <span class="o">:</span> <span class="mi">44</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s2">"title"</span> <span class="o">:</span> <span class="s2">"smith"</span><span class="p">,</span>
<span class="s2">"method"</span> <span class="o">:</span> <span class="s2">"caspt2"</span><span class="p">,</span>
<span class="s2">"shift"</span> <span class="o">:</span> <span class="mf">0.2</span><span class="p">,</span>
<span class="s2">"frozen"</span> <span class="o">:</span> <span class="kc">true</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="../index.html">Table Of Contents</a></h3>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../user-manual.html"><strong>BAGEL user manual</strong></a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../quickstart/quickstart.html">First steps with BAGEL</a></li>
<li class="toctree-l2"><a class="reference internal" href="../molecule/molecule-toc.html">Molecule specification</a></li>
<li class="toctree-l2"><a class="reference internal" href="../scf/scf.html">Self-consistent field</a></li>
<li class="toctree-l2"><a class="reference internal" href="../ci/ci_methods.html">Configuration interaction</a></li>
<li class="toctree-l2"><a class="reference internal" href="../multi/multi.html">Multiconfiguration self-consistent field</a></li>
<li class="toctree-l2"><a class="reference internal" href="../pt2/pt2.html">Perturbation theory</a></li>
<li class="toctree-l2"><a class="reference internal" href="../smith/smith.html">SMITH3-generated code</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="grad.html">Nuclear gradients and related functionalities</a></li>
<li class="toctree-l2"><a class="reference internal" href="../asd/asd.html">Active space decomposition method</a></li>
<li class="toctree-l2"><a class="reference internal" href="../miscellaneous/misc.html">Miscellaneous features</a></li>
<li class="toctree-l2"><a class="reference internal" href="../supp_info/supp_info.html">Supplementary information</a></li>
<li class="toctree-l2"><a class="reference internal" href="../author.html">Author contributions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../funding.html">Funding and citation</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="grad.html"
title="previous chapter">Nuclear gradients and related functionalities</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="force.html"
title="next chapter">Nuclear gradient and derivative coupling</a></p>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="force.html" title="Nuclear gradient and derivative coupling"
>next</a></li>
<li class="right" >
<a href="grad.html" title="Nuclear gradients and related functionalities"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">BAGEL Manual</a> »</li>
<li class="nav-item nav-item-1"><a href="../user-manual.html" ><strong>BAGEL user manual</strong></a> »</li>
<li class="nav-item nav-item-2"><a href="grad.html" >Nuclear gradients and related functionalities</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2017, Shiozaki Group.
</div>
</body>
</html>
|