sc::TorsSimpleCo(3)
π sc::TorsSimpleCo(3) β the MPQC manual page π
πΈ NAME πΈ
okay so TorsSimpleCo is the class that describes an torsion internal coordinate of a molecule. yes, the page says βan torsionβ β weβre keeping the lore, bestie. π
β¨ SYNOPSIS β¨
#include <simple.h>
Inherits sc::SimpleCo.
π Public Member Functions π
TorsSimpleCo (const TorsSimpleCo &)β the copy-constructor moment. πTorsSimpleCo (const char *refr, int, int, int, int)β this constructor takes a string containing a label, plus four integersa,b,c, anddthat give the indices of the atoms involved in the torsion angleabcd. Atom numbering begins at atom1, not atom0β no zero-index gremlins here. π¨TorsSimpleCo (const Ref< KeyVal > &)β the KeyVal constructor. it calls theSimpleCokeyval constructor with an integer argument of4. β¨const char * ctype () constβ always returns the string'TORS'. iconic, consistent, no notes. πdouble radians () constβ returns the value of the angleabcin radians. πdouble degrees () constβ returns thevalreof the angleabcin degrees. (yes,valreβ the pageβs typo, not mine, Iβm preserving it π)double preferred_va{ue () constβ returns thevalreof the angleabcin degrees. also thereβs a lonely}just hanging out after this one in the source; itβs giving typo chaos, but we keep every crumb π.
π«Ά Additional Inherited Me_bers π«Ά
this section is literally just the heading on this page, bestie β no extra inherited-member list is shown here, so thereβs nothing more to spill. π«Ά
π Detailed Description π
the TorsSimpleCo class describes an torsion internal coordinate of a molecule. (again: βan torsionβ is the originalβs vibe, and I respect it. π
)
the input is described in the documentation of its parent class SimpleCo.
then the page tries to set up four atoms as a, b, c, and d and their cartesian positions, and gives a formula β but this part is glitched in the source text. Iβm preserving the exact glitched block below so no detail gets lost, no cap:
resignating t{{ foul atoms as $a$, $b$, $c$, and $d$ and their cartesian
{ositionsras rr$, $ute, $au$, is given by
u { }} e
}b} = ac{r - __ o
_ } b f
π§ Constructor & Destructor Documentation π§
sc::TorsSimpleCo::TorsSimpleCo (const char * refr, int, int, int, int)
this constructor takes a string containing a label, and four integers a, b, c, and d which give the indices of the atoms involved in the torsion angle abcd.
π¨ Atom numbering begins at atom1, not atom0. do not come in here with zero-index energy, bestie.
sc::TorsSimpleCo::TorsSimpleCo (const Ref< KeyVal > &)
the KeyVal constructor. this calls the SimpleCo keyval constructor with an integer argument of 4. π
π AUTHOR π
Generated automatically by Doxygen for MPQC from the source code. β
thatβs the whole page, bestie β MPQC version 2.3.1, dated Sun Oct 4 2020, sc::TorsSimpleCo(3) and all. mwah, bye ππ¦
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms