Skip to content

[Refactor] Shorten verbose names in module_gint#7336

Merged
mohanchen merged 3 commits into
deepmodeling:developfrom
dzzz2001:gint-rename
May 13, 2026
Merged

[Refactor] Shorten verbose names in module_gint#7336
mohanchen merged 3 commits into
deepmodeling:developfrom
dzzz2001:gint-rename

Conversation

@dzzz2001
Copy link
Copy Markdown
Collaborator

@dzzz2001 dzzz2001 commented May 13, 2026

Summary

Pure rename refactor in source/source_lcao/module_gint — no behavior change.

  • Function renames: drop redundant verb prefixes and noise tokens, e.g. transfer_hr_gint_to_hRhr_gint_to_hR, transfer_dm_2d_to_gintdm_2d_to_gint, *_sparseMatrix*_sparse, init_atom_pair_start_end_idx_init_atom_pair_idx_, get_max_atoms_num_per_bgridget_max_atoms_per_bgrid.
  • Member renames: shorten verbose member names across gint_info, phi_operator, meshgrid_info, and related CUDA kernels.

dzzz2001 and others added 3 commits May 12, 2026 16:48
Drop redundant verb prefixes and noise tokens: transfer_hr_gint_to_hR ->
hr_gint_to_hR, transfer_dm_2d_to_gint -> dm_2d_to_gint, *_sparseMatrix ->
*_sparse, init_atom_pair_start_end_idx_ -> init_atom_pair_idx_,
get_max_atoms_num_per_bgrid -> get_max_atoms_per_bgrid. Pure rename, no
behavior change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mohanchen mohanchen added Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0 labels May 13, 2026
@mohanchen mohanchen merged commit f2d3265 into deepmodeling:develop May 13, 2026
15 checks passed
@dzzz2001 dzzz2001 deleted the gint-rename branch May 13, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants