File: lesson_nlo.html

package info (click to toggle)
abinit 7.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 278,292 kB
  • ctags: 19,095
  • sloc: f90: 463,759; python: 50,419; xml: 32,095; perl: 6,968; sh: 6,209; ansic: 4,705; fortran: 951; objc: 323; makefile: 43; csh: 42; pascal: 31
file content (513 lines) | stat: -rw-r--r-- 24,132 bytes parent folder | download
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
<html>
<head>
<title>Tutorial on static non-linear properties</title>
</head>
<body bgcolor="#ffffff">
<hr>
<h1>ABINIT, lesson on static non-linear properties</h1>
<h2>Electronic non-linear susceptibility, non-resonant Raman tensor, electro-optic effect.
</h2>
<hr>

<p>This lesson aims at showing how to get the following non-linear physical properties, for an insulator :
<ul>
 <li> The non-linear optical susceptibilities </li>
 <li> The Raman tensor of TO and LO modes </li>
 <li> The electro-optic coefficients </li>
</ul>
We will work on AlAs. During the preliminary steps needed to compute
non-linear properties, one will also obtain
several linear response properties :
<ul>
 <li> The Born effective charges </li>
 <li> The dielectric constant </li>
 <li> The proper piezoelectric tensor (clamped and relaxed ions) </li>
</ul>
Finally, we will also compute the derivative of the susceptibility tensor
with respect to atomic positions (Raman tensor) thanks to finite differences.

<p>
The user should have already passed through several advanced lessons
of the tutorial :
the <a href="lesson_rf1.html">lesson Response-Function 1</a>,
the <a href="lesson_rf2.html">lesson Response-Function 2</a>,
the <a href="lesson_ffield.html">lesson on Polarization and finite electric field</a>,
and the
<a href="lesson_elastic.html">lesson on Elastic properties</a>


<p>This lesson should take about 1 hour and 30 minutes. </p>

<h5>Copyright (C) 2005-2014 ABINIT group (PhG, MVeithen, XG)
<br> This file is distributed under the terms of the GNU General Public License, see
~abinit/COPYING or <a href="http://www.gnu.org/copyleft/gpl.txt">
http://www.gnu.org/copyleft/gpl.txt </a>.
<br> For the initials of contributors, see ~abinit/doc/developers/contributors.txt .
</h5>

<script type="text/javascript" src="list_internal_links.js"> </script>

<h3><b>Contents of lesson on static non-linear properties :</b></h3>

<ul>
  <li><a href="lesson_nlo.html#0">Part-0. Ground-state properties of AlAs and general parameters</a>
  <li><a href="lesson_nlo.html#1">Part-1. Linear and non-linear responses from density functional perturbation theory</a>
  <li><a href="lesson_nlo.html#2">Part-2. Finite difference computation of the Raman tensor</a>
</ul>
<hr>

<a name="0">&nbsp;</a>
<h3><b>
Part-0. Ground-state properties of AlAs and general parameters
</b></h3>

<p><i>Before beginning, you might consider to work in a different
subdirectory as for the other lessons.
Why not create "Work-NLO" in ~abinit/tests/tutorespfn/Input ?
</i>
<p>In order to save some time, you might immediately start running a calculation.
Copy the file ~abinit/tests/tutorespfn/Input/tnlo_2.in in Work-NLO.
Copy also ~abinit/tests/tutorespfn/Input/tnlo_x.files in Work-NLO, and modify it so that
all occurences of tnlo_x are replaced by tnlo_2 , then run abinit with these data.
This calculation might be one or two minutes on a PC 3GHz.

<p>
In this tutorial we will assume that the ground-state properties of AlAs have been previously obtained,
and that the corresponding convergence studies have been done.
Let us emphasize that, from our experience, accurate and trustable results for third order energy derivatives
usually require a extremely high level of convergence. So, even if it is not always very apparent here,
careful convergence studies must be explicitely performed in any practical study you could start after this tutorial.
As usual, convergence tests must be done on the property of interest (i.e. it is wrong
to determine parameters giving proper convergence on the total energy, and to use them blindly
for non-linear properties)

<p>
We will adopt the following set of generic parameters (the same than in the
<a href="lesson_ffield.html">lesson on Polarization and finite electric field</a>):

<pre>
   acell               10.53
   ixc                 3
   ecut                2.8     (results with ecut = 5 are also reported
                               in the discussion)
   ecutsm              0.5
   dilatmx             1.05
   nband               4 (=number of occupied bands)
   nbdbuf              0
   ngkpt               6 6 6
   nshiftk             4
   shiftk   0.5 0.5 0.5
            0.5 0.0 0.0
            0.0 0.5 0.0
            0.0 0.0 0.5

   pseudopotentials    13al.pspnc
                       33as.pspnc
</pre>

<p>
In principle, the <a href="../input_variables/varbas.html#acell" target="kwimg">acell</a> to be used should be the one corresponding to the optimized structure
at the <a href="../input_variables/varbas.html#ecut" target="kwimg">ecut</a>, and
<a href="../input_variables/varbas.html#ngkpt" target="kwimg">ngkpt</a> combined with
<a href="../input_variables/varbas.html#nshiftk" target="kwimg">nshiftk</a> and
<a href="../input_variables/varbas.html#shiftk" target="kwimg">shiftk</a>, chosen for the calculations.
Unfortunately,  for the purpose of this tutorial, in order to limit the duration of the runs,
we have to work at an unusually low cutoff of 2.8 Ha for which the optimized lattice constant
is unrealistic and equal to 7.45 bohr (instead of the converged value of 10.64).
In what follows, the lattice constant has been arbitrarily fixed to 10.53 bohr.
For comparison, results with <a href="../input_variables/varbas.html#ecut" target="kwimg">ecut</a>=5 are also reported and, in that case,
were obtained at the optimized lattice constant of 10.64 bohr.
For those who would like to try later,
convergence tests and structural optimizations can be done using the file ~abinit/tests/tutorespfn/Input/tnlo_1.in.
Before going further, you might refresh your mind concerning the other variables :
<a href="../input_variables/varbas.html#ixc" target="kwimg">ixc</a>,
<a href="../input_variables/varrlx.html#ecutsm" target="kwimg">ecutsm</a>,
<a href="../input_variables/varrlx.html#dilatmx" target="kwimg">dilatmx</a>,
<a href="../input_variables/vargs.html#nbdbuf" target="kwimg">nbdbuf</a>.

<hr>

<a name="1">&nbsp;</a>
<h3><b>
Part-1. Linear and non-linear responses from density functional perturbation theory (DFPT)
</b></h3>

<p>As a theoretical support to this section of the tutorial, you might consider reading the following article:
<cite> <br>M. Veithen, X. Gonze, and Ph. Ghosez,
       <br>Nonlinear optical susceptibilities, Raman efficiencies,
           and electro-optic tensors from first-principles density functional perturbation theory
       <br>Phys. Rev. B 71, 125107 (2005).</cite>

<p>
In the first part of this tutorial, we will describe how to compute various
linear and non-linear responses directly connected to  second-order
and third-order derivatives of the energy, using DFPT.
From the (2n+1) theorem,  computation of energy derivatives up to third order
only requires the knowledge of the ground-state and first-order wavefunctions,
see X. Gonze and J.-P. Vigneron, PRB 39, 13120 (1989) and
 X. Gonze, Phys. Rev. A 52, 1096 (1995).
Our study will therefore include the following steps :
(i) resolution of the ground-state problem,
(ii) determination of the first-order wavefunctions
and construction of the related databases for second and third-order energy derivatives,
(iii) combination of the different databases and analysis to get the physical properties of interest.

<p>
This is closely related to what was done for the dielectric and dynamical properties,
except that an additional database for third-order energy derivatives will now be set up during the run.
Only selected third-order derivatives are implemented  at this stage
and concern responses to electric field and  atomic displacements:
<ul>
 <li>non-linear optical susceptibilities (related to a third-order derivative of the energy with respect to electric fields at clamped nuclei positions)</li>
 <li>Raman susceptibilities (mixed third-order derivative of the energy, twice with respect to electric fields
     at clamped nuclei positions, and once with respect to atomic displacement)</li>
 <li>Electro-optic coefficients (related to a third-order derivative of the energy with respect to electric fields,
     two of them being optical fields -clamped nuclei positions- and one of them being a static field -the ions are allowed to move-)</li>
</ul>

<p>Many different steps can be combined in one input file.
For the sake of clarity we have decomposed the calculation into individual inputs that are now described.

<p><b>Responses to electric fields and atomic displacements.</b>

<p>Let us examine the file tnlo_2.in .
Its purpose is to build databases
for second and third energy derivatives with respect to electric fields and atomic displacements.
You can edit it.  It is made of 5 datasets.
The first four data sets are nearly the same as for a usual linear response calculation :
(1) self-consistent calculation in the IBZ;
(2) non self-consistent calculations to get the wave-functions over the full BZ;
(3) ddk calculation,
(4) derivatives with respect to electric field and atomic displacements.
Some specific features must however be explicitely specified in order to prepare the non-linear response step (dataset 5).
First, from dataset 2 it is mandatory to specify :
<pre>
        nbdbuf  0
        nband   4 (= number of valence bands)
</pre>
<p>
Also, in dataset 4, it is required to impose
<a href="../input_variables/varfil.html#prtden" target="kwimg">prtden</a>,
and
<a href="../input_variables/varrf.html#prepanl" target="kwimg">prepanl</a>
<pre>
        prtden4    1
        prepanl4   1
</pre>
<p>
The purpose for this is
(i) to constrain
<a href="../input_variables/varbas.html#kptopt" target="kwimg">kptopt</a> = 2 even in the computation of phonons where ABINIT usually take advantages
of symmetry irrespective of kptopt and
(ii) compute the electric field derivatives in the 3 directions of space, irrespective of the symmetry.

<p>
If it was not done at the beginning of this tutorial, you can now make the run.
You can have a quick look to the output file to verify that everything is OK.
It contains the values of second and third energy derivatives.
It has however no immediate interest since the information is not presented in a very convenient format.
The relevant information is in fact also stored in the database files (DDB)
generated independently for second and third energy derivatives at the end of run steps 4 and 5.
Keep these databases that will be used later for a global and convenient analysis of the results using ANADDB.


<p><b>Responses to strain.</b>

We combine the above-mentioned computation of the response to electrid field and
atomic displacements with the response to strain. This is not at all
mandatory for the computation of the presently accessible
non-linear response coefficients. However, this was used in the above-mentioned paper by Veithen et al,
to add corrections corresponding to free boundary conditions, thanks to a
further finite difference calculation on top of linear response calculations.
The DFPT implementation of the computation of this correction is not available
at present.
<p>
You can now copy the file ~abinit/tests/tutorespfn/Input/tnlo_3.in in Work-NLO,
and modify the tnlo_x.files accordingly (or create a file tnlo_3.files - in any
case, this new file should contain tnlo_3 instead of tnlo_x or tnlo_2).
You can launch the calculation,
it might last about 1 minute on a PC 3 GHz.
The purpose of this run is to build databases
for second energy derivatives with respect to strains. You can edit tnlo_3.in .
It is made of 4 datasets :
(1) self-consistent calculation in the IBZ;
(2) non self-consistent calculations to get the wave-functions over the full BZ;
(3) ddk calculation;
(4) strain perturbation.
The ddk calculations has been included in order to access to the piezoelectric tensor.

<p>
You can have a quick look to the output tnlo_3.out, when it is ready.
It contains rigid ions elastic and piezoelectric constants as well as the internal strain coupling parameters.
This information is also stored in a database file (DDB) for further convenient analysis with ANADDB.

<p> <b>Merge of the DDB.</b>
<p>
At this stage, all the relevant energy derivatives have been obtained
and are stored in individual databases.
These must be combined with the MRGDDB merge utility in order to get a unique database tnlo_4.ddb.out.
Explicitely, you should merge the files
tnlo_2o_DS4_DDB,  tnlo_3o_DS4_DDB, and tnlo_2o_DS5_DDB . You might have a look at the
input file for MRGDDB named tnlo_4.in , and use it to perform the merge.
You already used MRGDDB previously. It might be located in ~abinit/src/98_main or another (build) directory. You might copy it, or make an alias.

<p> <b>Analysis of the DDB.</b>
<p>
We are now ready for the analysis of the results using ANADDB.
You can copy the files ~abinit/tests/tutorespfn/Input/tnlo_5.in
and ~abinit/tests/tutorespfn/Input/tnlo_5.files in Work-NLO.
You already used ANADDB previously. It is located in ~abinit/src/98_main or another (build) directory. You might copy it, or make an alias.
The present input is in principle very similar to the one you have used
for the analysis of dynamical and dielectric responses except that some new flags need to be activated.

<p>
For the strain perturbation you need to specify
<a href="../users/anaddb_help.html#elaflag" target="kwimg">elaflag</a>,
<a href="../users/anaddb_help.html#piezoflag" target="kwimg">piezoflag</a>, and
<a href="../users/anaddb_help.html#instrflag" target="kwimg">instrflag</a> :
<pre>
        elaflag 3
        piezoflag  3
        instrflag  1
</pre>

<p>
For the non-linear responses you need
<pre>
        nlflag  1
        ramansr 1
        alphon  1
        prtmbm  1
</pre>
<p>
<a href="../users/anaddb_help.html#nlflag" target="kwimg">nlflag</a>=1 activates the non-linear response.

<p>
<a href="../users/anaddb_help.html#ramansr" target="kwimg">ramansr</a>=1 will impose the sum rule on the first-order change
of the electronic dielectric susceptibility under atomic displacement,
hereafter referred to as dchi/dtau .
It is a condition of invariance of chi under translation of the whole crystal,
similar to the acoustic sum rules for phonons at Gamma or the charge neutrality sum rule on Z*.

<p>
<a href="../users/anaddb_help.html#prtmbm" target="kwimg">prtmbm</a>=1 will allow
to get the mode by mode phonon contributions of the ions to the electro-optic coefficients.

<p>
<a href="../users/anaddb_help.html#alphon" target="kwimg">alphon</a>=1 will allow
to get the previous mode by mode contribution when aligning
the eigenvectors with the cartesian axis of coordinates
(in the input, the principal axis should always be aligned with z for a convenient analysis of the results).

<p>
Finally, the second list of phonon, specified with
<a href="../users/anaddb_help.html#nph2l" target="kwimg">nph2l</a> and
<a href="../users/anaddb_help.html#qph2l" target="kwimg">qph2l</a>, must also be explicitely considered
to obtain the Raman efficiencies of longitudinal modes
(in a way similar to the computation of frequencies of longitudinal mode frequencies at Gamma):

<pre>
        # Wave vector list no. 2
        #***********************
               nph2l  1
               qph2l  1.0 0.0 0.0 0.0
</pre>

<p>
You can now run the code ANADDB. The results are in the file tnlo_5.out.
Various interesting physical properties are now directly accessible in this output in meaningful units.
You can go through the file and look in order to identify the results mention hereafter.
Note that the order in which they are given below is not the same than the order
in which they appear in the tnlo_5.out. You will have to jump between
different sections of tnlo_5.out to find them.

<p>
For comparison, we report in parenthesis (...) the values obtained with ecut = 5,
and for nonlinear reponses in brackets [...] the fully converged result as reported in PRB 71, 125107 (2005).

<br>
<ul>
<li>Born effective charge of Al:</li>
 <pre>Z*_Al = 2.043399E+00 (2.105999E+00)</pre>
<li>Optical phonon frequencies at Gamma :</li>
 <pre>
w_TO (cm^-1) = 3.694366E+02 (3.602635E+02)
w_LO (cm^-1) = 4.031189E+02 (3.931598E+02) </pre>
<li>Linear optical dielectric constant :</li>
 <pre>Electronic dielectric tensor = 9.20199931 (9.94846084) </pre>
<li>Static dielectric constant :</li>
 <pre>relaxed ion dielectric tensor = 10.95641891 (11.84823634) </pre>
</ul>
Some other quantities, as the piezoelectric coefficients,
are related to the strain response as it is more extensively discussed in the tutorial on the strain perturbation.
<ul>
<li>Proper piezoelectric coefficients :</li>
 <pre>
clamped ion (Unit:c/m^2) = -0.65029623 (-0.69401363)
relaxed ion (Unit:c/m^2) =  0.03754587 (-0.04228777) </pre>
</ul>
Finally, different quantities are related to non-linear responses.
<ul>
<li>Nonlinear optical susceptibility :
<br>They are directly provided in the output in pm/V.
 As you can see the value computed here is far from the well converged result as reported in PRB 71, 125107 (2005).</li>
<pre>
d_36 (pm/V)  = 21.175513 (32.772254) [fully converged :35] </pre>
<li>Electro-optic coefficients:
<br>As we asked for mode by mode decomposition the output provides individual contributions.
We report below a summary of the results. It concern the clamped r_63 coefficient.</li>
<pre>
        Electronic EO constant (pm/V): -1.000298328 (-1.324507791) [-1.69]
        Full Ionic EO constant (pm/V):  0.543837627 (0.533097548)  [0.64]
        Total EO constant (pm/V):      -0.456460701 (-0.791410242) [-1.05] </pre>
<li>Raman properties
<br>The code directly report the Raman susceptibilities for both transverse (TO) and longitudinal (LO) optic modes at Gamma:</li>
<pre>
        alpha(TO) = -0.008489207 (-0.009114814)
        alpha(LO) = -0.011466205 (-0.013439375) </pre>
<br>The basic quantity  to get the Raman susceptibilities are the dchi/dtau that are also reported separately :
<pre>
dchi_23/dtau_1 (Bohr^-1) of Al = -0.094488223 (-0.099889084) </pre>
<br>In  cubic semiconductors, it is usual to report the Raman polarizability of optical phonon modes at Gamma  which is defined as
<pre>
a = Omega_0 * dchi/dtau = Sqrt[mu * Omega_0] alpha </pre>
<br>
where Omega_0 is the primitive unit cell volume
(i.e. one quarter of the cubic unit cell volume, to be expressed here in Ang)
and mu is the reduced mass of the system (1/mu = 1/m_Al + 1/m_As). From the previous data, we get :
<pre>
        a(TO) (Unit: Ang^2)= -7.7233 (-8.4222112)  [-8.48]
        a(LO) (Unit: Ang^2)= -10.4317 (-12.418168) [-12.48] </pre>
</ul>




<hr>

<a name="2">&nbsp;</a>
<h3><b>
Part-2. Finite difference calculation of the Raman tensor.
</b></h3>

<p>
For comparison with the DPFT calculation,
we can compute dchi/dtau for the Al nucleus from finite differences.
In practice, this is achieved by computing the linear optical susceptibility for 3 different positions of  the Al nucleus.
This is done with the file ~abinit/tests/tutorespfn/Input/tnlo_6.in, however with the unrealistic cutoff of 2.8 Ha.
The calculation is about 2 or 3 minutes on a PC 3 GHz).
For those who want to do it you anyway, you can copy ~abinit/tests/tutorespfn/Input/tnlo_6.in in your working directory.
If you have time, you should modify the cutoff to
<a href="../input_variables/varbas.html#ecut" target="kwimg">ecut</a>=5 Ha,
 in order to obtain realistic results.
So, you might as well start the run after this modification (the run is about two times more time-consuming than with 2.8 Ha).

<p>
You can have a look at this input file. It contains 8 datasets.
We need to compute the linear optical susceptibility
(4 datasets for SC calculation in the IBZ, NSC calculation in the full BZ, ddk, ddE)
for different atomic positions.
We will do this for 2 sets of atomic positions, the reference symmetric
structure (referred to as tau=0), and a distorted structure (referred to as tau= +0.01),
for which the Al atom has been displaced to the right by 0.01 Bohr
(look at xcart to identify the differences).
In the first case, the dielectric tensor must be diagonal, isotropic, while
in the second case, a off-diagonal yz component will appear, that is an odd
function of the Al atomic displacement.
<p>
Supposing you are running the calculation, you have now time for a Belgian Beer, why not a Gouyasse ?! ...
Or you can look at the results as summarized below.
<p>
For tau = 0 :
<pre>
Dielectric tensor, in cartesian coordinates,
     j1       j2             matrix element
  dir pert dir pert     real part    imaginary part

   1    4   1    4         9.8067816714         0.0000000000
   1    4   2    4         0.0000000000         0.0000000000
   1    4   3    4         0.0000000000         0.0000000000

   2    4   1    4         0.0000000000         0.0000000000
   2    4   2    4         9.8067816716         0.0000000000
   2    4   3    4         0.0000000000         0.0000000000

   3    4   1    4         0.0000000000         0.0000000000
   3    4   2    4         0.0000000000         0.0000000000
   3    4   3    4         9.8067816716         0.0000000000

</pre>
<br>
For tau = +0.01 :
<pre>
Dielectric tensor, in cartesian coordinates,
     j1       j2             matrix element
  dir pert dir pert     real part    imaginary part

   1    4   1    4         9.8071334318         0.0000000000
   1    4   2    4         0.0000000007         0.0000000000
   1    4   3    4         0.0000000007         0.0000000000

   2    4   1    4         0.0000000003         0.0000000000
   2    4   2    4         9.8069419587         0.0000000000
   2    4   3    4        -0.0122317473         0.0000000000

   3    4   1    4         0.0000000003         0.0000000000
   3    4   2    4        -0.0122317469         0.0000000000
   3    4   3    4         9.8069419584         0.0000000000

</pre>
<br>
Note that the following results would have been obtained
for tau = -0.01 (with obvious even / odd behaviour with respect to tau of the different components,
and some very small numerical noise):
<pre>
Dielectric tensor, in cartesian coordinates,
     j1       j2             matrix element
  dir pert dir pert     real part    imaginary part

   1    4   1    4         9.8071334236         0.0000000000
   1    4   2    4        -0.0000000042         0.0000000000
   1    4   3    4        -0.0000000042         0.0000000000

   2    4   1    4        -0.0000000021         0.0000000000
   2    4   2    4         9.8069419529         0.0000000000
   2    4   3    4         0.0122317513         0.0000000000

   3    4   1    4        -0.0000000021         0.0000000000
   3    4   2    4         0.0122317492         0.0000000000
   3    4   3    4         9.8069419550         0.0000000000

</pre>
<br>
You can extract the value of dchi_23/dtau_1 for Al from the dielectric tensor (hereafter called eps)
above using the following finite-difference formula  [unit of bohr^-1] :
<pre>
 dchi_23/dtau_1= (1/4 pi) (eps_23[tau=+0.01] +eps_23[tau=0.00])/tau
               = (1/4 pi) (-0.0122317 -0.0)/(0.01)
               = -0.097336
</pre>
<p>
This value is close to that obtained at
<a href="../input_variables/varbas.html#ecut" target="kwimg">ecut</a>=5 from DFPT (-0.099889084).
When convergency is reached (beware, the k point convergence is extremely slow, much slower than for other properties), 
both approaches allow to get the right answer.
You might therefore ask which approach is the most convenient and should be used in practice.
<p>
As a guide, we can mention that the finite-difference approach give
results very similar to the DFPT ones for a similar cutoff and k-point grid.
It is however more tedious because,
individual atomic displacement must be successively considered
(heavy for complex crystals) and the results must then be converted
into appropriate units with risk of error of manipulations.
<p>
The DFPT approach is the most convenient and avoid a lot of human work.
Everything is reported together (not only dchi/dtau but also the full Raman polarizability tensors)
and in appropriate units.
It should therefore be considered as the best choice (when available, as in ABINIT).

<script type="text/javascript" src="list_internal_links.js"> </script>

</body>
</html>