atomic_weight
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
atomic_weight [2024/09/17 10:36] – [Application Example: Generating the Total Number of Electrons in Unit Cell] iangie | atomic_weight [2024/09/17 10:38] (current) – [Application Example: Generating Molecular Weight, and "cell_Z" the number of molecules in Unit Cell] iangie | ||
---|---|---|---|
Line 141: | Line 141: | ||
- | ==== Application Example: Generating Molecular Weight, and "Cell_Z" the number of molecules in Unit Cell ==== | + | ==== Application Example: Generating Molecular Weight, and "cell_Z" the number of molecules in Unit Cell ==== |
- | This macro has been useful to me for checking "Cell_Z" in pharmaceutical or organic crystals. For simplify, below application example is for an inorganic crystalline phase corundum.inp | + | This macro has been useful to me for checking "cell_Z" in pharmaceutical or organic crystals. For simplify, below application example is for an inorganic crystalline phase corundum.inp |
<code topas> | <code topas> | ||
Line 162: | Line 162: | ||
| | ||
- | phase_name " | + | phase_name " |
Trigonal(@ 4.7592, @ 12.992) | Trigonal(@ 4.7592, @ 12.992) | ||
site Al x | site Al x | ||
Line 172: | Line 172: | ||
r_bragg 0 | r_bragg 0 | ||
local mol_wgt = 2 * AW(" | local mol_wgt = 2 * AW(" | ||
- | local cell_Z = Round(Get(cell_mass)/ | + | local cell_Z = Round(Get(cell_mass)/ |
</ | </ | ||
atomic_weight.1726569363.txt.gz · Last modified: 2024/09/17 10:36 by iangie