Warning: Trying to access array offset on value of type null in /home/site/wwwroot/lib/plugins/move/action/rename.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/actions.php on line 38
atomic_weight [topas wiki]

User Tools

Site Tools


atomic_weight

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
atomic_weight [2024/09/17 10:36] – [Application Example: Generating the Total Number of Electrons in Unit Cell] iangieatomic_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:
        
    STR(R_-3_C)    STR(R_-3_C)
-      phase_name "Corundum"+      phase_name "Corundum Al2O3"
       Trigonal(@ 4.7592, @ 12.992)       Trigonal(@ 4.7592, @ 12.992)
       site Al    x          y 0       z @ 0.35228  occ Al     beq @ 0.32        site Al    x          y 0       z @ 0.35228  occ Al     beq @ 0.32 
Line 172: Line 172:
       r_bragg 0       r_bragg 0
       local mol_wgt = 2 * AW("Al") + 3 * AW("O");: 101.961276 'User types in this equation from the known molecular formula.       local mol_wgt = 2 * AW("Al") + 3 * AW("O");: 101.961276 'User types in this equation from the known molecular formula.
-      local cell_Z = Round(Get(cell_mass)/mol_wgt);:6 ' Molecule number in cell is automatically updated after refinement.+      local cell_Z = Round(Get(cell_mass)/mol_wgt);:6 ' The number of molecules in unit cell is automatically updated after refinement.
 </code>   </code>  
  
atomic_weight.1726569363.txt.gz · Last modified: 2024/09/17 10:36 by iangie