File: node6.html

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (182 lines) | stat: -rw-r--r-- 5,866 bytes parent folder | download | duplicates (3)
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2019.2 (Released June 5, 2019) -->
<HTML lang="EN">
<HEAD>
<TITLE>4.1 Plotting selected quantities</TITLE>
<META NAME="description" CONTENT="4.1 Plotting selected quantities">
<META NAME="keywords" CONTENT="user_guide">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
<META NAME="Generator" CONTENT="LaTeX2HTML v2019.2">

<LINK REL="STYLESHEET" HREF="user_guide.css">

<LINK REL="next" HREF="node7.html">
<LINK REL="previous" HREF="node5.html">
<LINK REL="next" HREF="node7.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A
 HREF="node7.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 
<A
 HREF="node5.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 
<A
 HREF="node5.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html54"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node7.html">4.2 Band structure, Fermi</A>
<B> Up:</B> <A
 HREF="node5.html">4 Usage</A>
<B> Previous:</B> <A
 HREF="node5.html">4 Usage</A>
 &nbsp; <B>  <A ID="tex2html55"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A ID="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><UL>
<LI><A ID="tex2html56"
  HREF="node6.html#SECTION00051010000000000000">4.1.0.1 Planar averages</A>
<LI><A ID="tex2html57"
  HREF="node6.html#SECTION00051020000000000000">4.1.0.2 All-electron charge</A>
<LI><A ID="tex2html58"
  HREF="node6.html#SECTION00051030000000000000">4.1.0.3 About Bader's analysis</A>
</UL></UL>
<!--End of Table of Child-Links-->
<HR>

<H2><A ID="SECTION00051000000000000000">
4.1 Plotting selected quantities</A>
</H2>

<P>
The main postprocessing code <TT>pp.x</TT> extracts the specified data
from the data files produced by <TT>PWscf</TT> (<TT>pw.x</TT> executable) or <TT>CP</TT> 
(<TT>cp.x</TT> executable); prepares data for plotting by writing them into 
formats that can be read by several plotting programs.

<P>
Quantities that can be read or calculated are:
<BLOCKQUOTE>
charge density
<BR>
spin polarization
<BR>
various potentials
<BR>
local density of states at <I>E</I><SUB>F</SUB>
<BR>
local density of electronic entropy
<BR>
STM images
<BR>
selected squared wavefunction
<BR>
ELF (electron localization function)
<BR>
RDG (reduced density gradient)
<BR>
integrated local density of states

</BLOCKQUOTE>
Various types of plotting (along a line, on a plane, three-dimensional, polar)
and output formats (including the popular cube format) can be specified.
Moreover data can be saved to an intermediate (formatted) file so that
more data set can be summed or subracted in a later run.
The output files can be directly read by the free plotting system Gnuplot
(1D or 2D plots), or by code <TT>plotrho.x</TT> that comes with <TT>PostProc</TT> 
and produces PostScript 2D plots,
or by advanced plotting software XCrySDen and gOpenMol (3D plots).

<P>
See file <TT>Doc/INPUT_PP.*</TT> for a detailed description of the input
for code <TT>pp.x</TT>.
See Example 01 for an example of a charge density plot, Example 03
for an example of STM image simulation.

<P>

<H4><A ID="SECTION00051010000000000000">
4.1.0.1 Planar averages</A>
</H4>
Code <TT>plan_avg.x</TT> calculates planar averages of Kohn-Sham orbitals.
Code <TT>average.x</TT> calculates planar averages of quantities calculated
by <TT>pp.x</TT> (e.g. potentials, charge, magnetization densities).
Note that <TT>average.x</TT> reads the intermediate file produced
by <TT>pp.x</TT>, not data files produced by <TT>pw.x</TT>. Examples of usage 
of <TT>average.x</TT> can be found in <TT>WorkFct_example/</TT> 
and in <TT>dipole_example/</TT>.

<P>

<H4><A ID="SECTION00051020000000000000">
4.1.0.2 All-electron charge</A>
</H4>
<TT>pawplot.x</TT> produces plots of the all-electron charge
for PAW calculations.

<P>

<H4><A ID="SECTION00051030000000000000">
4.1.0.3 About Bader's analysis</A>
</H4>
In <TT>http://theory.cm.utexas.edu/henkelman/code/bader/</TT> 
one can find a software that performs Bader's analysis starting 
from charge on a regular grid. One should use PAW to compute the
charge density. The required "cube" format can be produced using 
<TT>pp.x</TT> (info by G. Lapenna who has successfully used this 
technique, but adds: ``Problems occur with polar X-H bonds or in
all cases where the zero-flux of density comes too close to atoms 
described with pseudo-potentials"). This code should perform 
decomposition into Voronoi polyhedra as well, in place of obsolete
code  <TT>voronoy.x</TT> (removed from distribution since v.4.2).
Alternatively, you can use <I>CRITIC2</I>, available at
<TT>https://github.com/aoterodelaroza/critic2</TT>, which can
read directly <TT>pw.x</TT> output and ``XSF'' files. <I>CRITIC2</I>
functionaly include Bader's AIM, ELF, laplacian of density and
potentials, non-covalente interaction (NCI) plots and much more.

<P>
<HR>
<!--Navigation Panel-->
<A
 HREF="node7.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 
<A
 HREF="node5.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 
<A
 HREF="node5.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html54"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node7.html">4.2 Band structure, Fermi</A>
<B> Up:</B> <A
 HREF="node5.html">4 Usage</A>
<B> Previous:</B> <A
 HREF="node5.html">4 Usage</A>
 &nbsp; <B>  <A ID="tex2html55"
  HREF="node1.html">Contents</A></B> 
<!--End of Navigation Panel-->

</BODY>
</HTML>