Skip to content

Question: meta-GGA implementation in ABACUS #5372

@AsTonyshment

Description

@AsTonyshment

Details

I am reading module_hamilt_general/module_xc/xc_functional_vxc.cpp, and I am confused about meta-GGA implementation in ABACUS.

According to libxc manual https://libxc.gitlab.io/manual/libxc-5.1.x/, xc_mgga_exc_vxc is defined as follow:

void xc_mgga_exc_vxc(const xc_func_type *p, int np, double *rho, double *sigma, double *lapl, double *tau, 
     double * exc, double *vrho, double *vsigma, double *vlapl, double *vtau)

However in the ABACUS code, it seems that lapl(i.e. $$\nabla^2\rho$$) is not used:

xc_mgga_exc_vxc(&func, nrxx, rho.data(), sigma.data(), sigma.data(),
                kin_r.data(), exc.data(), vrho.data(), vsigma.data(), vlapl.data(), vtau.data());

Instead sigma(i.e. $$\nabla\rho\cdot \nabla\rho$$) is passed. Is this correct?

Have you read FAQ on the online manual http://abacus.deepmodeling.com/en/latest/community/faq.html

  • Yes, I have read the FAQ part on online manual.

Task list for Issue attackers (only for developers)

  • Understand the problem or question described by the user.
  • Check if the issue is a known problem or has been addressed in the documentation.
  • Test the issue or problem on a similar system or environment, if possible.
  • Identify the root cause or provide clarification on the user's question.
  • Provide a step-by-step guide, including any necessary resources, to resolve the issue or answer the question.
  • If the issue is related to documentation, update the documentation to prevent future confusion (optional).
  • If the issue is related to code, consider implementing a fix or improvement (optional).
  • Review and incorporate any relevant feedback from users or developers.
  • Ensure the user's issue is resolved or their question is answered and close the ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionsRaise your quesiton! We will answer it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions