mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
docs: ISQ part 4 released
This commit is contained in:
@ -24,6 +24,7 @@ In this series, we will describe:
|
||||
- Part 1 - Introduction
|
||||
- [Part 2 - Problems when ISQ is not used](isq-part-2-problems-when-isq-is-not-used.md)
|
||||
- [Part 3 - Modelling ISQ](isq-part-3-modelling-isq.md)
|
||||
- [Part 4 - Implementing ISQ](isq-part-4-implemeting-isq.md)
|
||||
|
||||
## Terms and Definitions
|
||||
|
||||
|
@ -26,6 +26,7 @@ library on just units or dimensions.
|
||||
- [Part 1 - Introduction](isq-part-1-introduction.md)
|
||||
- Part 2 - Problems when ISQ is not used
|
||||
- [Part 3 - Modelling ISQ](isq-part-3-modelling-isq.md)
|
||||
- [Part 4 - Implementing ISQ](isq-part-4-implemeting-isq.md)
|
||||
|
||||
|
||||
## Limitations of units-only solutions
|
||||
|
@ -25,6 +25,7 @@ language.
|
||||
- [Part 1 - Introduction](isq-part-1-introduction.md)
|
||||
- [Part 2 - Problems when ISQ is not used](isq-part-2-problems-when-isq-is-not-used.md)
|
||||
- Part 3 - Modelling ISQ
|
||||
- [Part 4 - Implementing ISQ](isq-part-4-implemeting-isq.md)
|
||||
|
||||
|
||||
## Dimension is not enough to describe a quantity
|
||||
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
draft: true
|
||||
date: 2024-10-28
|
||||
authors:
|
||||
- mpusz
|
||||
@ -189,12 +188,16 @@ inline constexpr auto Gibbs_function = Gibbs_energy;
|
||||
Again, the first parameter of `quantity_spec` determines the position in the tree. If a second
|
||||
argument is provided, it denotes a recipe for this quantity.
|
||||
|
||||
With the above simple definitions we've automatically addressed our _energy_-related issues from
|
||||
the [Various quantities of the same dimension and kinds](isq-part-2-problems-when-isq-is-not-used.md#various-quantities-of-the-same-dimension-and-kinds)
|
||||
chapter of the "Part 2" article.
|
||||
|
||||
|
||||
## Modeling a hierarchy of kind _dimensionless_
|
||||
|
||||
As the last example for this article, let's try to model and implement quantities of dimension one,
|
||||
often also called dimensionless quantities. This [quantity hierarchy](../../appendix/glossary.md#quantity-hierarchy)
|
||||
that contains more than one [quantity kind](../../appendix/glossary.md#kind) and more than one unit in its tree:
|
||||
contains more than one [quantity kind](../../appendix/glossary.md#kind) and more than one unit in its tree:
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
@ -238,8 +241,9 @@ but still allow the usage of `one` and its scaled versions for such quantities.
|
||||
|
||||
!!! note
|
||||
|
||||
`dimensionless` is a special quantity, and it is predefined in the library's framework
|
||||
(there is no way for the user to define it).
|
||||
`dimensionless` is a special quantity which serves as an identity element in quantity
|
||||
equations. It is predefined in the library's framework and there is no way for the user to
|
||||
define it or something similar to it.
|
||||
|
||||
|
||||
## To be continued...
|
||||
|
Reference in New Issue
Block a user