Zephyr Scientific Library (zscilib)
|
API header file for atomics in zscilib. More...
#include <zsl/zsl.h>
Go to the source code of this file.
Functions | |
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'. More... | |
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, according to the atomic Bohr model. More... | |
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' atomic number, according to the Bohr model of the atom. More... | |
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 number, according to the Bohr model of the atom. More... | |
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 initial activity (qi), the time (t) and the radioactive decay constant (lambda). More... | |
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 Bragg's condition of constructive interferences. More... | |
API header file for atomics in zscilib.
This file contains the zscilib atomic APIs
Definition in file atomic.h.