Error message

  • Deprecated function: Constant PDO::MYSQL_ATTR_USE_BUFFERED_QUERY is deprecated since 8.5, use Pdo\Mysql::ATTR_USE_BUFFERED_QUERY instead in DatabaseConnection_mysql->__construct() (line 332 of /var/www/html/includes/database/mysql/database.inc).
  • Deprecated function: Constant PDO::MYSQL_ATTR_MULTI_STATEMENTS is deprecated since 8.5, use Pdo\Mysql::ATTR_MULTI_STATEMENTS instead in DatabaseConnection_mysql->__construct() (line 339 of /var/www/html/includes/database/mysql/database.inc).

Note about libxc/libnxc unpolarized functional

In a libxc or libnxc correlation functional, the current dftsw implementation always uses the functional in spin polarized form in calculations.

In the case of spin unpolarized systems with GGA, XC_POLARIZED Ec[$\rho_\uparrow$, $\rho_\downarrow$, $\sigma_{\uparrow\uparrow}$, $\sigma_{\uparrow\downarrow}$, $\sigma_{\downarrow\downarrow}$] (where $\rho_\downarrow = \rho_\uparrow$) is equivalent of XC_UNPOLARIZED Ec[$\rho_{tot}$, $\sigma_{tot}$].

$\rho_{tot}$ is twice the $\rho_\uparrow$ and $\sigma_{tot}$ is four times the $\sigma_{\uparrow\uparrow}$.
For meta-GGAs, add $\tau_{tot} = 2 \times \tau_\uparrow$ in Ec[$\rho_{tot}$,$\sigma_{tot}$,$\tau_{tot}$].