geom(1)
π geom(1) β bestie, let's analyze some molecular geometry π
okay so this is the page for geom, section 1 of the manual, and honestly? it's a whole vibe. it reads a molecular geometry input in Cartesian coordinates and tells you everything about it. iconic behavior fr fr. π¦
β¨ NAME β¨
geom β analyzes a molecular geometry input in Cartesian coordinates. periodt. π
πΈ DESCRIPTION πΈ
so the program geom reads a set of Cartesian coordinates and, from them, figures out:
- bond distances (in Bohr and angstrom, she gives you both, queen)
- bond angles
- torsional angles
- out-of-plane angles (optional, only if you ask nicely)
- moments of inertia
- rotational constants
that's the whole gig. no cap. π₯
π FILES REQUIRED π
bestie you need this:
input.dat - Input file
and one of the following:
geom.dat - geometry file
file11.dat - PSI-format geometry/gradient file
like, pick one, either is fine, we're flexible. π«Ά
π FILES GENERATED π
she makes you this:
geom.out - file containing the analysis
that's your receipt, keep it. π§Ύβ¨
π INPUT OPTIONS π
the geom program has the following options, and yes we're going through all of them because every single one matters:
-hβ print help information (aka these very options). your little safety net. π-aces [filename]β read the input in an ACES output format, where each line has the atomic symbol, the atomic number, and Cartesian coordinates (in Bohr). the optional argument is the name of the geometry input file, and it defaults togeom.dat.-qchem [filename]β read the input in a QCHEM output format, with each line made of the atom number, the atomic symbol, and Cartesian coordinates (in Angstroms). the optional argument is the geometry input file name, defaulting togeom.dat.-xyz [filename]β read the input in an XYZ output format. first line = the number of atoms, second line = a comment line, and then every line after that has the atomic symbol plus the Cartesian X, Y and Z coordinates (in Angstroms). the optional argument is the geometry input file name, and yeah, it defaults togeom.dattoo.-oopβ print out-of-plane angles. the anglea-b-c-dis defined as the angle formed by the vectora-dand the plane defined by atomsb,c, andd. geometry girlies stay winning. πDO_OOP = booleanβ same thing as the command-line switch-oopup above. twin sisters basically.ISOTOPES = matrix of reals/stringsβ used to specify masses for the calculation of the center of mass and rotational constants. one array is provided for each isotopomer to be calculated. the arrays can mix floating point numbers with strings that designate isotopes. if this array isn't given andfile11.datis present, then the masses get obtained by converting the atomic numbers infile11. and if masses aren't given byISOTOPESor byfile11, then no mass-related quantities will be calculated. so like, give her the masses or she's not doing the mass math, simple as that. π-g [filename]β read Cartesian coordinates from a file other thanfile11.dat. if you don't give a filename, the default isgeom.dat. the alternative file is assumed to be in a format similar to that of PSI'sgeom.dat. heads up though: since such files don't contain atomic numbers, the moments of inertia and rotational constants are not calculated if this option is used. so you're trading vibes for data, iykyk. πREAD_GEOM = booleanβ this option ininput.dattellsgeomto read the geometry fromgeom.datin the PSIgeom.datformat.-aβ print parameters for all pair distances. all of them. every pair. she's thorough. π₯PRINT_ALL_DIST = booleanβ same as the-aflag described above.-d distanceβ only print parameters involving pairs of atoms that are less than distance Bohr apart. the default value is4.0Bohr. (so-d= keep it close, bestie.)PRINT_DISTANCE = valueβ same as the-dflag described above.-angstromβ the input coordinates are in angstroms, not bohr. speak her language. πANGSTROM = booleanβ ifTRUE, the input coordinates are in angstroms instead of bohr. the default isFALSE.
π§ the little example (aka the moment) π§
the following example is for calculating the geometrical information for water with several different isotopes. the geometry is read from geom.dat rather than from file11.dat.
geom: (
read_geom = true
isotopes = (
(O H H)
(O D D)
(O18 1.007825 1.007825)
) )
look at her. three isotopomers, one adorable little input block. slay. πβ¨
tiny reminder: if you skipISOTOPESandfile11.datisn't around either, those mass-related quantities justβ¦ don't happen. not a bug, just the rules. π«Ά
and that's the whole page, bestie!! this was geom(1) from the manual, dated 5 June, 1998 β yes she's a 90s baby and she ATE π
π. go analyze something gorgeous. mwah. ππ¦π
π¦ 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