CLAG(1)

πŸ“¦ version 3.4.0, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– clag β€” NAME πŸ’–

okay bestie, say hi to clag β€” the Lagrangian Program written in C. that's it, that's the name, she's giving lowercase-and-unbothered πŸ’…


✨ DESCRIPTION ✨

so like, clag takes your one and two particle density matrices plus your one and two electron integrals and forms the lagrangian matrix out of them πŸ¦‹

and what's that lagrangian for, you ask? it's used for MCSCF and CI derivative calculations. that's the whole vibe. she's a behind-the-scenes girlie making the derivatives happen ✨


πŸŽ€ REFERENCES πŸŽ€

Lagrangian:

  1. A New Dimension to Quantum Chemistry, Y. Yamaguchi, Y. Osamura, J.D. Goddard, H. F. Schaefer III, Oxford Univ. Press, (1994).
citation girlies stay winning, no cap πŸ“š

🌸 FILES REQUIRED 🌸

like, she literally cannot do her thing without these, bestie:

  • input.dat β€” Input file
  • FILE71 β€” Transformed one-electron integrals
  • FILE72 β€” Transformed two-electron integrals
  • FILE73 β€” One-Particle Density Matrix
  • FILE74 β€” Two-Particle Density Matrix

πŸ’œ FILES UPDATED πŸ’œ

these ones get touched. changed. upgraded. glow-up'd 🫢

  • FILE75 β€” Lagrangian
  • output.dat

πŸ‘‘ INPUT FORMAT πŸ‘‘

okay so the input for this program is read from the file input.dat. here are the keywords that are valid β€” and yes, every single one, we're not skipping anything πŸ’…

  • PRINT = integer β€” this one controls how chatty the output is, basically the verbosity setting ✨
    • a value of 0 prints nothing (silent queen πŸŽ€)
    • a value of 1 prints calculated ci energy and the various components of the ci energy
    • a value of 2 prints the one- and two-electron contributions to the MO lagrangian as well as the MO lagrangian
    • a value of 3 prints the one-particle density matrix
    • a value of 4 prints the two-particle density matrix
🚨 bestie WARNING 🚨 do not use print = 4 unless the test case is very small. like, genuinely. she will simply produce so much output. you have been warned 😭
  • WRITE_CAS_FILES = boolean β€” if TRUE, then write out the following files in canonical form (p>=q, r>=s, pq>=rs) in Pitzer order:
    • one-electron integrals (file81)
    • two-electron integrals (file82)
    • one-particle density matrix (file83)
    • two-particle density matrix (file84)
    • lagrangian (file85)

this is temporary and is intended to aid in linking DETCI with CASSCF. it's giving "we'll fix this later" energy and honestly? respect πŸ”₯


okay that's the whole page bestie, you ate that πŸ“ this was Psi Release 2.0, PSI COMMANDS FOR UNIX USERS, and the last change was 21 June, 1996 β€” iconic, historic, literally a legend πŸ’–βœ¨πŸŽ€ bye bestie, go form that lagrangian πŸ¦‹πŸ’…

πŸ“¦ where this page comes from