CLAG(1)
π 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:
- 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 fileFILE71β Transformed one-electron integralsFILE72β Transformed two-electron integralsFILE73β One-Particle Density MatrixFILE74β Two-Particle Density Matrix
π FILES UPDATED π
these ones get touched. changed. upgraded. glow-up'd π«Ά
FILE75β Lagrangianoutput.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
0prints nothing (silent queen π) - a value of
1prints calculated ci energy and the various components of the ci energy - a value of
2prints the one- and two-electron contributions to the MO lagrangian as well as the MO lagrangian - a value of
3prints the one-particle density matrix - a value of
4prints the two-particle density matrix
- a value of
π¨ 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β ifTRUE, 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)
- one-electron integrals (
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
- debian bookworm: psi3 3.4.0-6+b3
- ubuntu jammy: psi3 3.4.0-6ubuntu1
- ubuntu noble: psi3 3.4.0-6ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms