Zephyr Scientific Library (zscilib)
atomic.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020 Kevin Townsend (KTOWN)
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
22 #ifndef ZEPHYR_INCLUDE_ZSL_ATOMIC_H_
23 #define ZEPHYR_INCLUDE_ZSL_ATOMIC_H_
24 
25 #include <zsl/zsl.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
41 int zsl_phy_atom_nucl_radius(uint8_t a, zsl_real_t *r);
42 
54 int zsl_phy_atom_bohr_orb_radius(uint8_t z, uint8_t n, zsl_real_t *r);
55 
68 int zsl_phy_atom_bohr_orb_vel(uint8_t z, uint8_t n, zsl_real_t *v);
69 
82 int zsl_phy_atom_bohr_orb_ener(uint8_t z, uint8_t n, zsl_real_t *e);
83 
99  zsl_real_t *qf);
100 
115 int zsl_phy_atom_bragg(uint8_t n, zsl_real_t theta, zsl_real_t lambda,
116  zsl_real_t *d);
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 
122 #endif /* ZEPHYR_INCLUDE_ZSL_ATOMIC_H_ */
123  /* End of atomic group */
zsl_phy_atom_bohr_orb_vel
int zsl_phy_atom_bohr_orb_vel(uint8_t z, uint8_t n, zsl_real_t *v)
Calculates the velocity in kilometers per second of an electron in the n-th orbit of an atom with 'z'...
zsl_phy_atom_bragg
int zsl_phy_atom_bragg(uint8_t n, zsl_real_t theta, zsl_real_t lambda, zsl_real_t *d)
Calculates the average distance in meters between the atoms of a crystalline system according to the ...
zsl_phy_atom_bohr_orb_ener
int zsl_phy_atom_bohr_orb_ener(uint8_t z, uint8_t n, zsl_real_t *e)
Calculates the energy in electronvolts of an electron in the n-th orbit of an atom with 'z' atomic nu...
zsl_phy_atom_nucl_radius
int zsl_phy_atom_nucl_radius(uint8_t a, zsl_real_t *r)
Calculates an approximation of the nuclear radius of an atom of mass number 'a'.
zsl.h
API header file for zscilib.
zsl_phy_atom_rad_decay
int zsl_phy_atom_rad_decay(zsl_real_t qi, zsl_real_t t, zsl_real_t lambda, zsl_real_t *qf)
Calculates the radioactive activity in becquerels of a sample of radioactive material based on the in...
zsl_real_t
double zsl_real_t
Definition: zsl.h:51
zsl_phy_atom_bohr_orb_radius
int zsl_phy_atom_bohr_orb_radius(uint8_t z, uint8_t n, zsl_real_t *r)
Calculates the radius of the orbit of an electron in the n-th orbit of an atom with 'z' atomic number...