SAW: Standard Atomic Weights

Description

The module ciaaw__saw_2021 is automatically generated with a simple parser written in Python.

The latest standard atomic weights were released in 2021 by the ciaaw. All the values for the atomic weights are provided as double precision reals in a derived type saw_type.

The standard atomic weights (or realtive atomic mass),, are extracted from table 1 Prohaska et al. 2022. For the elements that feature an interval for the standard atomic weight, the mean value and the uncertainty are computed using formulas defined in Van der Veen et al. 2021.

The standard atomic weights are a dimensionless quantity and thus they need to be multiplied by the molar mass constant in order to get the value in . See codata for physical constants.

Example

program example_in_f
    use ciaaw
    implicit none

    type(saw_type) :: elmt

    print '(A)', '########### CIAAW VERSION ##########'
    print *, "version ", get_version()  

    print '(A)', '########### CIAAW SAW ##########'
    elmt = H
    print '(A, A)', 'Element: ', elmt%element
    print '(A, A)', 'Symbol: ', elmt%symbol
    print '(A, I3)', 'Z: ', elmt%z
    print '(A, F23.16)', 'standard atomic weight max: ', elmt%saw_max
    print '(A, F23.16)', 'standard atomic weight min: ', elmt%saw_min
    print '(A, F23.16)', 'standard atomic weight: ', elmt%saw
    print '(A, F23.16)', 'standard atomic weight uncertainty: ', elmt%saw_u
    print '(A, F23.16)', 'abredged standard atomic weight: ', elmt%asaw
    print '(A, F23.16)', 'abredged standard atomic weight uncertainty: ', elmt%asaw_u
    print '(A)', '' 
    elmt = F
    print '(A, A)', 'Element: ', elmt%element
    print '(A, A)', 'Symbol: ', elmt%symbol
    print '(A, I3)', 'Z: ', elmt%z
    print '(A, F23.16)', 'standard atomic weight max: ', elmt%saw_max
    print '(A, F23.16)', 'standard atomic weight min: ', elmt%saw_min
    print '(A, F23.16)', 'standard atomic weight: ', elmt%saw
    print '(A, F23.16)', 'standard atomic weight uncertainty: ', elmt%saw_u
    print '(A, F23.16)', 'abredged standard atomic weight: ', elmt%asaw
    print '(A, F23.16)', 'abredged standard atomic weight uncertainty: ', elmt%asaw_u

end program