sc::AtomInfo(3)
π sc::AtomInfo β MPQC manual page, bestie π
Hiii welcome to sc::AtomInfo(3) from the MPQC manual β manual name folded in right here, no boring header line needed. This page is all about atoms: radii, colors, masses, names, symbols, and turning strings into atomic numbers. Slay. π
πΈ NAME πΈ
sc::AtomInfo β the AtomInfo class provides information about atoms. That's the naming moment, and yes, it's giving βI contain atom factsβ energy. Periodt.
β¨ SYNOPSIS β¨
#include <atominfo.h>
Inherits sc::SavableState.
π«Ά Public Member Functions π«Ά
AtomInfo (const Ref< KeyVal > &)β TheAtomInfoKeyValconstructor is used to generate anAtomInfoobject from the input. Constructor glow-up viaKeyVal.AtomInfo (StateIn &)β constructor fromStateIn; the page gives it no extra description down here.void save_data_state (StateOut &s)β Save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.double vdw_radius (int Z) constβ These return various measures of the atom's radius; this is thevdw_radiusone.double bragg_radius (int Z) constβ These return various measures of the atom's radius; this is thebragg_radiusone.double atomic_radius (int Z) constβ These return various measures of the atom's radius; this is theatomic_radiusone.double maxprob_radius (int Z) constβ These return various measures of the atom's radius; this is themaxprob_radiusone.double ip (int Z) constβ Returns the atomization potential for atomic numberZ.double vdw_radius_scale () constβ Return the scale factor for the VdW radii.double bragg_radius_scale () constβ Return the scale factor for the Bragg radii.double atomic_radius_scale () constβ Return the scale factor for the atomic radii.double maxprob_radius_scale () constβ Return the scale factor for the maximum probability radii.double rgb (int Z, int color) constβ These return information about the color of the atom for visualization programs.double red (int Z) constβ These return information about the color of the atom for visualization programs.double green (int Z) constβ These return information about the color of the atom for visualization programs.double blue (int Z) constβ These return information about the color of the atom for visualization programs.double mass (int Z) constβ This returns the mass of the most abundant isotope.std::string name (int Z)β This returns the full name of the element.std::string symbol (int Z)β This returns the symbol for the element.int string_to_Z (const std::string &, int allow_exceptions=1)β This converts a name or symbol to the atomic number.
π§ Additional Inherited Members π§
This is the inherited-members zone for sc::SavableState β the page doesn't list extra details down here, bestie.
π¦ Detailed Description π¦
The AtomInfo class provides information about atoms. Iconic.
The information is kept in a file named atominfo.kv in the SC library directory. That information can be overridden by the user. No cap β user override is allowed.
π Constructor & Destructor Documentation π
sc::AtomInfo::AtomInfo (const Ref< KeyVal > &)
The AtomInfo KeyVal constructor is used to generate an AtomInfo object from the input. Default values will be read in from the atominfo.kv file in library directory. These can be overridden by specifying the keyword below. The library file is also read using a KeyVal constructor syntax, so consult that file for an example. π
The KeyVal keyword lineup
The original header is KeywordTypeDefaultDescription; here's that info as the keyword tea, with every type and default kept intact:
mass:unitβ typestring, defaultamu. The unit to be used for masses. See theUnitsclass for more information about units.mass:symbolβ typedouble, defaultlibrary value. The mass associated with the given atomic symbol.vdw_radius:unitβ typestring, defaultbohr. The unit to be used for van der Waals radii. See theUnitsclass for more information about units.vdw_radius:scaling_factorβ typedouble, default1.0. The scaling factor to be used for all van der Waals radii, including library values.vdw_radius:symbolβ typedouble, defaultlibrary value. The van der Waals radius associated with the given atomic symbol.atomic_radius:unitβ typestring, defaultbohr. The unit to be used for atomic radii. See theUnitsclass for more information about units.atomic_radius:scaling_factorβ typedouble, default1.0. The scaling factor to be used for all atomic radii, including library values.atomic_radius:symbolβ typedouble, defaultlibrary value. The atomic radius associated with the given atomic symbol.bragg_radius:unitβ typestring, defaultbohr. The unit to be used for Bragg radii. See theUnitsclass for more information about units.bragg_radius:scaling_factorβ typedouble, default1.0. The scaling factor to be used for all Bragg radii, including library values.bragg_radius:symbolβ typedouble, defaultlibrary value. The Bragg radius associated with the given atomic symbol.maxprob_radius:unitβ typestring, defaultbohr. The unit to be used for maximum probability radii. See theUnitsclass for more information about units.maxprob_radius:scaling_factorβ typedouble, default1.0. The scaling factor to be used for all maximum probability radii, including library values.maxprob_radius:symbolβ typedouble, defaultlibrary value. The maximum probability radius associated with the given atomic symbol.ip:unitβ typestring, defaultHartree. The unit to be used for ionization potentials. See theUnitsclass for more information about units.ip:symbolβ typedouble, defaultlibrary value. The ionization potential for the given atom.rgb:symbolβ typedouble[3], defaultlibrary value. A vector with the red, green, and blue values used to color each atom. Each element is between 0 (off) and 1 (on).
π₯ Member Function Documentation π₯
void sc::AtomInfo::save_data_state (StateOut &) [virtual]
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.
Reimplemented from sc::SavableState.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
MPQC source/version check: version 2.3.1, date Sun Oct 4 2020 β that's the footer folded into a cute little sign-off at the very end. Bye bestie, go measure some atoms! πβ¨
π¦ 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