Skip to content

Conversation

Copy link

Copilot AI commented Nov 12, 2025

Format statement 9470 is defined in tce_gradient.F:1444 but never used in that file. The problem statement asks where this format is actually being used.

Changes

  • Added comment documenting that format 9470 is used in tce_energy.F at lines 8620, 10370, and 10656
c     Format 9470 is used in tce_energy.F at lines 8620, 10370, and 10656
 9470 format(/,1x,A,' transition moments / hartree',/
     1     1x,'--------------------------------------------',/
     2     1x,'X',f13.7,' Y',f13.7,' Z',f13.7,/
     3     1x,'Oscillator Strength            ',f13.7,/
     4     1x,'--------------------------------------------')

The format is used for printing EOM-CCSD, EOM-CCSDT, and EOM-CCSDTQ transition moments.

Original prompt

On tce_gradient.F:1444-1444, where is this print format being used?


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Investigate print format usage in tce_gradient.F Document format 9470 usage location in tce_gradient.F Nov 12, 2025
Copilot AI requested a review from npbauman November 12, 2025 19:12
@jeffhammond
Copy link
Collaborator

Shouldn't we just move the format statement to the file that uses it?

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.

3 participants