Skip to content

Refactor xc-grid functions#486

Open
YutingDuan111 wants to merge 27 commits into
merzlab:masterfrom
YutingDuan111:xc-grid-before-pr-rebase
Open

Refactor xc-grid functions#486
YutingDuan111 wants to merge 27 commits into
merzlab:masterfrom
YutingDuan111:xc-grid-before-pr-rebase

Conversation

@YutingDuan111

Copy link
Copy Markdown
Collaborator

Feature: Implement SG-2, SG-3 standard grids and custom EML grids

Description

This PR introduces the SG-2 and SG-3 standard quadrature grids with pruning, based on the implementation described by Dasgupta and Herbert (J. Comput. Chem. 38, 869-882 (2017)). It also adds support for custom EML (Euler-Maclaurin + Lebedev) grids.

Key Changes

  • quick_gridpoints_module.f90:
    • Added SG-2 and SG-3 pruning tables and radial/angular quadrature logic.
    • Added double-exponential quadrature logic for SG-2/SG-3.
    • Added gridformLBDAngular for custom EML grid configurations.
  • quick_method_module.f90:
    • Added new user input flags: useEML, eml_radial, and eml_angular.
    • Updated parser for iSG variable to support states 2 (SG-2) and 3 (SG-3).

@YutingDuan111 YutingDuan111 requested review from agoetz and vtripath65 May 9, 2026 01:20
Comment thread src/modules/quick_gridpoints_module.f90
Comment thread src/modules/quick_gridpoints_module.f90
Comment thread src/modules/quick_gridpoints_module.f90 Outdated
Comment thread src/modules/quick_gridpoints_module.f90
Comment thread src/modules/quick_gridpoints_module.f90 Outdated

@vtripath65 vtripath65 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very small changes needed. Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants