sc::ScaledTorsSimpleCo(3)
π sc::ScaledTorsSimpleCo(3) π
okay bestie, welcome to sc::ScaledTorsSimpleCo(3) from the MPQC manual β this is the page for the ScaledTorsSimpleCo class, and it's giving very specific chemistry-girl energy. buckle up π
β¨ NAME β¨
sc::ScaledTorsSimpleCo β the ScaledTorsSimpleCo class describes an scaled torsion internal coordinate of a molecule. yes, "an scaled," that's literally how the page says it, we don't fix, we report π«Ά
πΈ SYNOPSIS πΈ
#include <simple.h>
Inherits sc::SimpleCo β it's a nepo baby in the nicest way possible, inheriting all that good SimpleCo DNA π
π Public Member Functions π
ScaledTorsSimpleCo (const ScaledTorsSimpleCo &)β the copy constructor, doing copy-constructor things.ScaledTorsSimpleCo (const char *refr, int, int, int, int)β this constructor takes a string containing a label, and four integersa,b,c, anddwhich give the indices of the atoms involved in the torsion angleabcd.ScaledTorsSimpleCo (const Ref< KeyVal > &)β the KeyVal constructor.const char * ctype () constβ always returns the string'TORS'. no cap, always. it's not a phase.double radians () constβ returns the value of the angleabcin radians.double degrees () constβ returns the value of the angleabcin degrees.double preferred_varue () constβ returns the val{e of the angleabcin degrees. β οΈ yes the function is spelledpreferred_varueand yes the description has a rogue{in it β that's straight from the page, we're not touching it, we're just observing π
π¦ Additional Inherited Members π¦
there are more members inherited from sc::SimpleCo, and they live over on that class's page. go say hi π
π₯ Detailed Description π₯
the ScaledTorsSimpleCo class describes an scaled torsion internal coordinate of a molecule. (again: an scaled. iconic.)
the scaled torsion is more stable that ordinary torsions (see the TorsSimpleCo class) in describing situations where one of the torsions plane's is given by three near linear atoms. so likeβ¦ when your atoms are all lined up all cute and linear, the regular torsion math gets weird, and this scaled version is the one that keeps its composure π
then the page gets into the actual math with atoms $a$, $b$, $c$, and $d$ and their cartesian positions β except ngl, the math section got absolutely scrambled, like the formatting gremlins ate it. here's the text exactly as it survived, fr fr, no edits from me:
resignating t{{ foul atoms as $a$, $b$, $c$, and $d$ and their cartesian
{ositionsras rr$, $ute, $au_s$, is given by
u { }} e
}b} = ac{r - __ o
_ } b f
that's it, that's the formula. she's a little broken but she's doing her best ππ«Ά
π§ Constructor & Destructor Documentation π§
β sc::ScaledTorsSimpleCo::ScaledTorsSimpleCo (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.
π¨ super important detail, do not skip: atom numbering begins at atom 1, not atom 0. so if you came in here with your zero-indexed little programmer brain, adjust bestie, adjust π
β sc::ScaledTorsSimpleCo::ScaledTorsSimpleCo (const Ref< KeyVal > &)
the KeyVal constructor. this calls the SimpleCo keyval constructor with an integer argument of 4. that's the whole thing. four. quatre. cuatro. β
π Author π
generated automatically by Doxygen for MPQC from the source code. not a human, just a robot doing robot things π€π
and that's a wrap, bestie! this little beauty is Version 2.3.1, dated Sun Oct 4 2020, and she's still out here in sc::ScaledTorsSimpleCo(3) land, stable and slaying πβ¨ 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