2022-12-30 11:29:07 -05:00
|
|
|
# Change Log AtomicWeight
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
|
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
|
|
|
|
|
|
2023-10-17 13:50:25 -04:00
|
|
|
## [0.2.1] - 2023-10-17
|
|
|
|
- update readme.md
|
|
|
|
|
|
|
|
|
2023-04-15 14:15:18 -04:00
|
|
|
## [0.2.0] - 2023-04-15
|
|
|
|
- use new weight factor 201.3868 to reduce maximum relative error
|
|
|
|
- create **elements_uint16.h** file.
|
|
|
|
- move **ATOMIC_WEIGHT_FACTOR** to **elements_uint16.h** file.
|
|
|
|
- create **elements_name.h** file with full element names. Uses ~1670 bytes of RAM.
|
|
|
|
so will **NOT** work on all boards.
|
|
|
|
- add related constants
|
|
|
|
- **AVOGADRO** = 6.02214076e+23; number of particles in one mole.
|
|
|
|
- **DALTON** = 1.66053907e-24; weight of one nucleon in grams.
|
|
|
|
- **ELEKTRON_VOLT_JOULE** = 1.602176565e-19; eV in Joule
|
|
|
|
- **ELEKTRON_VOLT_GRAM** = 1.7826619e-39; eV in grams
|
|
|
|
- **DALTON_EV** = 931.4940954e12 = DALTON / ELEKTRON_VOLT_GRAM
|
|
|
|
- **DALTON_JOULE** = 1.036427015e5 = DALTON / ELEKTRON_VOLT_JOULE
|
|
|
|
- update unit tests.
|
|
|
|
- update readme.md
|
|
|
|
- update keywords.txt.
|
|
|
|
|
2023-10-17 13:50:25 -04:00
|
|
|
----
|
2023-04-15 14:15:18 -04:00
|
|
|
|
2023-04-14 07:34:00 -04:00
|
|
|
## [0.1.5] - 2023-04-13
|
|
|
|
- add **moles2grams(formula, moles)**
|
|
|
|
- add **grams2moles(formula, grams)**
|
|
|
|
- add example.
|
|
|
|
- add guarding with **size** parameter in **weight()**
|
|
|
|
- improved usage **abbrev**(name) versus **el**(index).
|
|
|
|
- improved readme.md.
|
|
|
|
- add define for **ATOMIC_WEIGHT_MAX_SPLIT_LIST**
|
|
|
|
- update keywords.txt.
|
|
|
|
- minor edits.
|
|
|
|
|
2023-04-12 10:52:57 -04:00
|
|
|
## [0.1.4] - 2023-04-12
|
|
|
|
- add **splitElements()** split a formula in an internal list of elements.
|
|
|
|
- add **element()** access to split elements. See example.
|
|
|
|
- add **count()** to count atoms in a formula.
|
|
|
|
- add **atomPercentage()** to calculate percentage of atoms of an element.
|
|
|
|
- add examples.
|
2023-04-14 07:34:00 -04:00
|
|
|
- update readme.md
|
2023-04-12 10:52:57 -04:00
|
|
|
- update keywords.txt
|
|
|
|
- minor edits.
|
|
|
|
|
2023-01-02 07:02:36 -05:00
|
|
|
## [0.1.3] - 2023-01-01
|
|
|
|
- refactor interface
|
|
|
|
- add **weight(formula, element)**
|
|
|
|
- add **massPercentage(formula, element)**
|
|
|
|
- fix version number in .cpp
|
|
|
|
- update readme.md.
|
|
|
|
- update keywords.txt
|
|
|
|
|
2022-12-31 12:30:42 -05:00
|
|
|
## [0.1.2] - 2023-01-01
|
|
|
|
- add weight(formula) group () support
|
|
|
|
- rewrote example
|
|
|
|
- update readme.md.
|
|
|
|
- add unit tests
|
|
|
|
|
2022-12-31 11:38:51 -05:00
|
|
|
## [0.1.1] - 2022-12-30
|
|
|
|
- fix offset in some functions
|
|
|
|
- move code to .cpp file
|
|
|
|
- add **float weight(char \* formula)**
|
|
|
|
- refactor and clean up a bit.
|
|
|
|
- update readme.md.
|
|
|
|
|
2022-12-30 11:29:07 -05:00
|
|
|
## [0.1.0] - 2022-12-30
|
|
|
|
- initial release
|
|
|
|
- renamed class from AtomicWeight to PTOE.
|
|
|
|
- add **find(abbrev)**
|
|
|
|
- add examples.
|
|
|
|
- update readme.md.
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
## [0.0.1] - 2022-03-09
|
|
|
|
- first light (not released)
|