sc::MolecularFormula(3)

๐Ÿ“ฆ
version 2.3.1 ยท 4 versions
, in ubuntu jammy

๐Ÿ’– sc::MolecularFormula(3) ๐Ÿ’–

Okay bestie, this is the sc::MolecularFormula(3) page from the MPQC manual, section 3 โ€” and yes, itโ€™s giving โ€œC++ class that does exactly what it says on the tin.โ€ ๐ŸŽ€


๐ŸŒธ NAME ๐ŸŒธ

sc::MolecularFormula โ€” the MolecularFormula class is used to calculate the molecular formula of a Molecule. No cap, thatโ€™s the whole name vibe. ๐Ÿ’…

โœจ SYNOPSIS โœจ

#include <formula.h>

๐Ÿซถ Public Member Functions ๐Ÿซถ

Constructors. The argument must be nonnull. ๐Ÿšซ

  • MolecularFormula (const Ref< Molecule > &m) โ€” constructor. ๐Ÿ’–
  • MolecularFormula (const Molecule *m) โ€” constructor.
  • const char * formula () const โ€” returns a null terminated string containing the molecular formula. โœจ
  • int natomtypes () โ€” returns the number of atomtypes. ๐Ÿ”ข
  • int Z (int itype) โ€” returns atomic number of given atomtypeindex. โš›๏ธ
  • int nZ (int itype) โ€” returns number of atoms of given atomtypeindex. ๐Ÿงฎ

๐Ÿ“ Detailed Description ๐Ÿ“

The MolecularFormula class is used to calculate the molecular formula of a Molecule. Thatโ€™s the main character energy right there. ๐Ÿ‘‘

There is only one constructor which takes Ref<Molecule> as input. (The synopsis also lists the const Molecule *m constructor โ€” both are up there, so donโ€™t come for me. ๐Ÿ’€)

๐Ÿ‘‘ Author ๐Ÿ‘‘

Generated automatically by Doxygen for MPQC from the source code. So nobody hand-wrote this little beauty โ€” Doxygen did its thing, periodt. ๐Ÿค–๐Ÿ’–


๐Ÿ’– Thatโ€™s a wrap, bestie! This page is from MPQC, version 2.3.1, dated Sun Oct 4 2020. Slay responsibly. ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from