Skip to content

Add raw_weights field to XCTask for pre-partition quadrature weights#190

Open
tvogels wants to merge 1 commit intowavefunction91:masterfrom
tvogels:feature/xc-task-raw-weights-master
Open

Add raw_weights field to XCTask for pre-partition quadrature weights#190
tvogels wants to merge 1 commit intowavefunction91:masterfrom
tvogels:feature/xc-task-raw-weights-master

Conversation

@tvogels
Copy link
Copy Markdown

@tvogels tvogels commented Mar 31, 2026

Adds a raw_weights vector to XCTask that preserves the original quadrature weights before molecular partition scaling. With this change, neural network functionals can make use of atomic grids for internal integration.

The merge and merge_with helpers are updated to propagate raw_weights when present.

Adds a raw_weights vector to XCTask that preserves the original quadrature weights before molecular partition scaling. With this change, neural network functionals can make use of atomic grids for internal integration.

The merge and merge_with helpers are updated to propagate raw_weights
when present.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tvogels tvogels marked this pull request as ready for review March 31, 2026 08:12
@wavefunction91
Copy link
Copy Markdown
Owner

@tvogels Thanks. What's the use case for this? That's a lot of storage for large problems. Could be O(GB).

@awvwgk awvwgk added the Skala Related to the Skala exchange-correlation functional label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skala Related to the Skala exchange-correlation functional

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants