sc::MolecularFormula(3)
๐ 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 givenatomtypeindex. โ๏ธint nZ (int itype)โ returns number of atoms of givenatomtypeindex. ๐งฎ
๐ 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
- 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