Skip to content

Print static polarizability#302

Merged
marvinfriede merged 2 commits intomainfrom
print-stat-pol
Jul 12, 2025
Merged

Print static polarizability#302
marvinfriede merged 2 commits intomainfrom
print-stat-pol

Conversation

@marvinfriede
Copy link
Copy Markdown
Member

Print static polarizability in properties. Before, it was calculated but not passed to the ascii_system_properties procedure. To be exact, the static polarizability is the imaginary frequency polarizability alpha(iw) at w=1e-6.

@marvinfriede marvinfriede requested a review from Copilot July 12, 2025 14:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Print static polarizability values in the ASCII system properties output, passing the computed alpha array through all relevant routines.

  • Added alpha argument and column to ascii_system_properties
  • Marked q as contiguous in get_properties
  • Updated driver call to include the new alpha argument

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/dftd4/output.f90 Extended ascii_system_properties signature and output to include alpha
src/dftd4/disp.f90 Added contiguous attribute to the q array in get_properties
app/driver.f90 Updated ascii_system_properties calls to pass alpha
Comments suppressed due to low confidence (1)

src/dftd4/output.f90:151

  • [nitpick] The header label alpha(0) may be misleading if this represents α(iω) at ω=1e-6; consider renaming it to alpha_static or alpha(1e-6) for clarity.
      & "C8(AA)", "alpha(0)"

@marvinfriede marvinfriede merged commit 1feeff3 into main Jul 12, 2025
43 checks passed
@marvinfriede marvinfriede deleted the print-stat-pol branch July 12, 2025 14:43
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