Skip to content

Commit

Permalink
Merge pull request #9 from aziziph/main
Browse files Browse the repository at this point in the history
pseudo wiki
  • Loading branch information
aziziph authored Jun 27, 2024
2 parents baa0a09 + 9029e7c commit 3a9926a
Show file tree
Hide file tree
Showing 14 changed files with 2,474 additions and 0 deletions.
199 changes: 199 additions & 0 deletions docs/File_format_Norm_Conserving_Pseudopotentials.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" crossorigin="anonymous" />
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="./styles_wiki.css"
rel="stylesheet"> <!-- Link to your external CSS file -->
<meta charset="UTF-8">
<title>File Format for Norm-Conserving Pseudopotentials</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin-left: 200px;
}
.sectionedit1 {
font-size: 1.5em;
margin-top: 0;
}
.level3 {
margin-top: 10px;
}
.code {
background-color: #f0f0f0;
padding: 10px;
margin: 10px 0;
white-space: pre-wrap;
}
.co0 {
color: green;
}
.shell {
color: blue;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
</head>
<body>
<div id="topheader">
<div class="shortcut">
<a href="./index.html">
<div class="icon-container">
<img alt="ABINIT" class="shortcut-img" src="./logo/logo.png" title="" />
<span class="title"></span>
</div>
</a>
</div>
<div class="shortcut">
<a href="./pseudopotential.html">
<div class="icon-container">
<img alt="Pseudo and atomic data" class="shortcut-img" src="./img/Pseudos.png" title="Pseudo & atomic data" />
<span class="title">Pseudos &amp; PAW data</span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://docs.abinit.org/variables">
<div class="icon-container">
<img alt="input variables" class="shortcut-img" src="./img/input_variables.png" title="Input variables" />
<span class="title">Input variables </span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://docs.abinit.org/tutorial/">
<div class="icon-container">
<img alt="Tutorials" class="shortcut-img" src="./img/Tutorials.png" title="Tutorials" />
<span class="title">Tutorials </span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://discourse.abinit.org/">
<div class="icon-container">
<img alt="Forum" class="shortcut-img" src="./img/Forum.png" title="Forum" />
<span class="title">Forum </span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://wiki.abinit.org/doku.php?id=start">
<div class="icon-container">
<img alt="Wiki" class="shortcut-img" src="./img/wiki.png" title="Wiki" />
<span class="title">Wiki </span>
</div>
</a>
</div>
<div class="shortcut">
<a href="./download.html">
<div class="icon-container">
<img alt="Download" class="shortcut-img" src="./img/Download.png" title="Download" />
<span class="title">Download </span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://docs.abinit.org/installation/">
<div class="icon-container">
<img alt="Compile" class="shortcut-img" src="./img/Compile.png" title="Compile" />
<span class="title">Compile </span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://github.com/abinit">
<div class="icon-container">
<img alt="GitHub" class="shortcut-img" src="./img/git.png"
title="GitHub" />
<span class="title"></span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://gui.abinit.org/">
<div class="icon-container">
<img alt="GUI" class="shortcut-img" src="./img/gui.png"
title="GUI" />
<span class="title"></span>
</div>
</a>
</div>
<div class="shortcut">
<a href="https://github.com/abinit/abipy">
<div class="icon-container">
<img alt="abipy" class="shortcut-img" src="./img/abipy.png"
title="abipy" />
<span class="title"></span>
</div>
</a>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<div class="separator-line1"></div>
<div class="container">
<h1 class="sectionedit1" id="file_format_for_norm-conserving_pseudopotentials">File Format for Norm-Conserving Pseudopotentials</h1>
<div class="level1">
<p>The pseudopotential files consist of a number of header lines, followed by the data on a radial grid. The three first lines of the header have the same format and meaning for all norm-conserving pseudopotential files that can be read by ABINIT. They are:</p>
<pre class="code">
title (single 80 character line)
zatom, zion, pspdat
pspcod, pspxc, lmax, lloc, mmax, r2well
</pre>
<p>The data may be located anywhere on the line as long as it is provided in the order indicated (it is read with free format). In the case of Si with lmax=2, the header may look like the following 10 lines:</p>
<pre class="code">
Si Fri Oct 08 11:18:59 1993
14.00000 4.00000 930920 zatom, zion, pspdat
1 1 2 2 2001 .00050 pspcod,pspxc,lmax,lloc,mmax,r2well
</pre>
<p>The first line is free, and might contain information useful for the pseudopotential generator only. In the present case, it means that this silicon pseudopotential was created in 1993. The next two lines are important for ABINIT, with the following meaning:</p>
<pre class="code">
zatom : atomic number of the atom (14 for Si)
zion : number of valence electrons (4 for Si)
pspdat : code revision date (930920 for this case)
pspcod : identifier for the pseudopotential format
pspxc : the choice of exchange-correlation, coherent with the ABINIT nomenclature
lmax : highest angular momentum for which a pseudopotential is defined, which is also used for the local potential
lloc : angular momentum used for the local potential
mmax : number of grid points
r2well : prefactor of a harmonic well sometimes used to bind electrons which would otherwise be unbound in lda (usually 0.000)
</pre>
<p>At this point, differences might appear in the different file formats, that are described in the following pages:</p>
</div>
</div>
<ul>
<li class="level1"><div class="li"> <a href="./psp1_format.html"
target="_blank"
class="wikilink1"
style="color: #F18F34;"
title="developers:pseudos:psp1_format" data-wiki-id="developers:pseudos:psp1_format">psp1_format</a></div>
</li>
<li class="level1"><div class="li"> <a
href="./psp3_format.html" target="_blank"
style="color: #F18F34;"
class="wikilink1" title="developers:pseudos:psp3_format" data-wiki-id="developers:pseudos:psp3_format">psp3_format</a></div>
</li>
<li class="level1"><div class="li"> <a href="./psp45_format.html"
target="_blank"
style="color: #F18F34;"
class="wikilink1" title="developers:pseudos:psp45_format" data-wiki-id="developers:pseudos:psp45_format">psp45_format</a></div>
</li>
<li class="level1"><div class="li"> <a href="./psp5_spinorbit_format.html"
target="_blank"
style="color: #F18F34;"
class="wikilink1" title="developers:pseudos:psp5_spinorbit_format" data-wiki-id="developers:pseudos:psp5_spinorbit_format">psp5_spinorbit_format</a></div>
</li>
<li class="level1"><div class="li"> <a href="./psp6_format.html" target="_blank"
style="color: #F18F34;"
class="wikilink1" title="developers:pseudos:psp6_format" data-wiki-id="developers:pseudos:psp6_format">psp6_format</a></div>
</li>
<li class="level1"><div class="li"> <a href="./psp8_format.html" target="_blank"
style="color: #F18F34;"
class="wikilink1" title="developers:pseudos:psp8_format" data-wiki-id="developers:pseudos:psp8_format">psp8_format</a></div>
</li>
</ul>


</body>
</html>
41 changes: 41 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: " en-US" }}">

<head>
<meta charset="UTF-8">

{% seo %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style"
type="text/css" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
{% include head-custom.html %}
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>

<body>
<a id="skip-to-content" href="#content">Skip to the content.</a>

<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default:
site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
{% endif %}
</header>

<main id="content" class="main-content" role="main">
{{ content }}
</main>
</body>

</html>
Loading

0 comments on commit 3a9926a

Please sign in to comment.