next up previous contents index
Next: wNGXhalf, wNGZhalf Up: Pre-compiler flags overview, parallel Previous: REAL_to_DBLE (VASP.3.X only)   Contents   Index

N.B. This document is no longer maintained, please visit our wiki.

NGXhalf, NGZhalf

For charge densities and potentials, half the storage can be saved if one of these flags is used, since

$\displaystyle A_q = A^*_{-q}$   and$\displaystyle \quad A_r = A^*_r.
$

To use a real to complex FFT you must specify -DNGXhalf for the serial version and -DNGZhalf for the parallel version. If -DNGXhalf is specified for the serial version the real to complex FFT is "simulated" by a complex to complex FFT.

Mind: If this flag is changed in the makefile, recompile all *.F files. This can be done typing

touch *.F
make vasp



N.B. Requests for support are to be addressed to: vasp.materialphysik@univie.ac.at