Physical Quantities  v1.0.0
C++ library of physical quantities, physical models, and units of measure for scientific computing. https://github.com/acodcha/phq
Loading...
Searching...
No Matches
VolumeRate.hpp
Go to the documentation of this file.
1// Copyright © 2020-2024 Alexandre Coderre-Chabot
2//
3// This file is part of Physical Quantities (PhQ), a C++ library of physical quantities, physical
4// models, and units of measure for scientific computing.
5//
6// Physical Quantities is hosted at:
7// https://github.com/acodcha/phq
8//
9// Physical Quantities is licensed under the MIT License:
10// https://mit-license.org
11//
12// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
13// associated documentation files (the "Software"), to deal in the Software without restriction,
14// including without limitation the rights to use, copy, modify, merge, publish, distribute,
15// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
16// furnished to do so, subject to the following conditions:
17// - The above copyright notice and this permission notice shall be included in all copies or
18// substantial portions of the Software.
19// - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
20// BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
22// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM
23// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
25#ifndef PHQ_UNIT_VOLUME_RATE_HPP
26#define PHQ_UNIT_VOLUME_RATE_HPP
27
28#include <cstddef>
29#include <cstdint>
30#include <functional>
31#include <map>
32#include <ostream>
33#include <string_view>
34#include <unordered_map>
35
36#include "../Base.hpp"
37#include "../Dimension/ElectricCurrent.hpp"
38#include "../Dimension/Length.hpp"
39#include "../Dimension/LuminousIntensity.hpp"
40#include "../Dimension/Mass.hpp"
41#include "../Dimension/SubstanceAmount.hpp"
42#include "../Dimension/Temperature.hpp"
43#include "../Dimension/Time.hpp"
44#include "../Dimensions.hpp"
45#include "../Unit.hpp"
46#include "../UnitSystem.hpp"
47
48namespace PhQ {
49
50namespace Unit {
51
52/// \brief Volume rate units. Can represent a time rate of change of a volume or a volume flow rate.
53enum class VolumeRate : int8_t {
54 /// \brief Cubic metre per second (m^3/s) volume rate unit.
56
57 /// \brief Cubic metre per minute (m^3/min) volume rate unit.
59
60 /// \brief Cubic metre per hour (m^3/hr) volume rate unit.
62
63 /// \brief Cubic nautical mile per second (nmi^3/s) volume rate unit.
65
66 /// \brief Cubic nautical mile per minute (nmi^3/min) volume rate unit.
68
69 /// \brief Cubic nautical mile per hour (nmi^3/hr) volume rate unit.
71
72 /// \brief Cubic mile per second (mi^3/s) volume rate unit.
74
75 /// \brief Cubic mile per minute (mi^3/min) volume rate unit.
77
78 /// \brief Cubic mile per hour (mi^3/hr) volume rate unit.
80
81 /// \brief Cubic kilometre per second (km^3/s) volume rate unit.
83
84 /// \brief Cubic kilometre per minute (km^3/min) volume rate unit.
86
87 /// \brief Cubic kilometre per hour (km^3/hr) volume rate unit.
89
90 /// \brief Cubic yard per second (yd^3/s) volume rate unit.
92
93 /// \brief Cubic yard per minute (yd^3/min) volume rate unit.
95
96 /// \brief Cubic yard per hour (yd^3/hr) volume rate unit.
98
99 /// \brief Cubic foot per second (ft^3/s) volume rate unit.
101
102 /// \brief Cubic foot per minute (ft^3/min) volume rate unit.
104
105 /// \brief Cubic foot per hour (ft^3/hr) volume rate unit.
107
108 /// \brief Cubic decimetre per second (dm^3/s) volume rate unit.
110
111 /// \brief Cubic decimetre per minute (dm^3/min) volume rate unit.
113
114 /// \brief Cubic decimetre per hour (dm^3/hr) volume rate unit.
116
117 /// \brief Litre per second (L/s) volume rate unit.
119
120 /// \brief Litre per minute (L/min) volume rate unit.
122
123 /// \brief Litre per hour (L/hr) volume rate unit.
125
126 /// \brief Cubic inch per second (in^3/s) volume rate unit.
128
129 /// \brief Cubic inch per minute (in^3/min) volume rate unit.
131
132 /// \brief Cubic inch per hour (in^3/hr) volume rate unit.
134
135 /// \brief Cubic centimetre per second (cm^3/s) volume rate unit.
137
138 /// \brief Cubic centimetre per minute (cm^3/min) volume rate unit.
140
141 /// \brief Cubic centimetre per hour (cm^3/hr) volume rate unit.
143
144 /// \brief Millilitre per second (mL/s) volume rate unit.
146
147 /// \brief Millilitre per minute (mL/min) volume rate unit.
149
150 /// \brief Millilitre per hour (mL/hr) volume rate unit.
152
153 /// \brief Cubic millimetre per second (mm^3/s) volume rate unit.
155
156 /// \brief Cubic millimetre per minute (mm^3/min) volume rate unit.
158
159 /// \brief Cubic millimetre per hour (mm^3/hr) volume rate unit.
161
162 /// \brief Cubic milliinch per second (mil^3/s) volume rate unit.
164
165 /// \brief Cubic milliinch per minute (mil^3/min) volume rate unit.
167
168 /// \brief Cubic milliinch per hour (mil^3/hr) volume rate unit.
170
171 /// \brief Cubic micrometre per second (μm^3/s) volume rate unit.
173
174 /// \brief Cubic micrometre per minute (μm^3/min) volume rate unit.
176
177 /// \brief Cubic micrometre per hour (μm^3/hr) volume rate unit.
179
180 /// \brief Cubic microinch per second (μin^3/s) volume rate unit.
182
183 /// \brief Cubic microinch per minute (μin^3/min) volume rate unit.
185
186 /// \brief Cubic microinch per hour (μin^3/hr) volume rate unit.
188};
189
190} // namespace Unit
191
192/// \brief Standard time-rate of volume unit: cubic metre per second (m^3/s).
193template <>
194inline constexpr const Unit::
195 VolumeRate Standard<Unit::VolumeRate>{Unit::VolumeRate::CubicMetrePerSecond};
196
197/// \brief Physical dimension set of time-rate of volume units.
198template <>
199inline constexpr const Dimensions RelatedDimensions<Unit::VolumeRate>{
200 Dimensions{Dimension::Time{-1}, Dimension::Length{3}, Dimension::Mass{0},
201 Dimension::ElectricCurrent{0}, Dimension::Temperature{0},
202 Dimension::SubstanceAmount{0}, Dimension::LuminousIntensity{0}}
203};
204
205inline std::ostream& operator<<(std::ostream& stream, const Unit::VolumeRate unit) {
206 stream << Abbreviation(unit);
207 return stream;
208}
209
210namespace Internal {
211
212template <>
213inline const std::map<UnitSystem, Unit::VolumeRate> ConsistentUnits<Unit::VolumeRate>{
218};
219
220template <>
221inline const std::map<Unit::VolumeRate, UnitSystem> RelatedUnitSystems<Unit::VolumeRate>{
226};
227
228// clang-format off
229
230template <>
231inline const std::map<Unit::VolumeRate, std::string_view> Abbreviations<Unit::VolumeRate>{
277};
278
279template <>
280inline const std::unordered_map<std::string_view, Unit::VolumeRate> Spellings<Unit::VolumeRate>{
357 {"milliinch^3/min", Unit::VolumeRate::CubicMilliinchPerMinute },
363 {"millinch^3/hr", Unit::VolumeRate::CubicMilliinchPerHour },
365 {"milliinch^3/hr", Unit::VolumeRate::CubicMilliinchPerHour },
366 {"milliinch3/hr", Unit::VolumeRate::CubicMilliinchPerHour },
395};
396
397// clang-format on
398
399template <>
400template <typename NumericType>
401inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerSecond>::
402 FromStandard(NumericType& /*value*/) noexcept {}
403
404template <>
405template <typename NumericType>
406inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerSecond>::
407 ToStandard(NumericType& /*value*/) noexcept {}
408
409template <>
410template <typename NumericType>
411inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerMinute>::
412 FromStandard(NumericType& value) noexcept {
413 value *= static_cast<NumericType>(60.0L);
414}
415
416template <>
417template <typename NumericType>
418inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerMinute>::
419 ToStandard(NumericType& value) noexcept {
420 value /= static_cast<NumericType>(60.0L);
421}
422
423template <>
424template <typename NumericType>
425inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerHour>::
426 FromStandard(NumericType& value) noexcept {
427 value *= static_cast<NumericType>(3600.0L);
428}
429
430template <>
431template <typename NumericType>
432inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerHour>::ToStandard(
433 NumericType& value) noexcept {
434 value /= static_cast<NumericType>(3600.0L);
435}
436
437template <>
438template <typename NumericType>
439inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerSecond>::
440 FromStandard(NumericType& value) noexcept {
441 value /= (static_cast<NumericType>(1852.0L) * static_cast<NumericType>(1852.0L)
442 * static_cast<NumericType>(1852.0L));
443}
444
445template <>
446template <typename NumericType>
447inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerSecond>::
448 ToStandard(NumericType& value) noexcept {
449 value *= static_cast<NumericType>(1852.0L) * static_cast<NumericType>(1852.0L)
450 * static_cast<NumericType>(1852.0L);
451}
452
453template <>
454template <typename NumericType>
455inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerMinute>::
456 FromStandard(NumericType& value) noexcept {
457 value *= static_cast<NumericType>(60.0L)
458 / (static_cast<NumericType>(1852.0L) * static_cast<NumericType>(1852.0L)
459 * static_cast<NumericType>(1852.0L));
460}
461
462template <>
463template <typename NumericType>
464inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerMinute>::
465 ToStandard(NumericType& value) noexcept {
466 value *= static_cast<NumericType>(1852.0L) * static_cast<NumericType>(1852.0L)
467 * static_cast<NumericType>(1852.0L) / static_cast<NumericType>(60.0L);
468}
469
470template <>
471template <typename NumericType>
472inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerHour>::
473 FromStandard(NumericType& value) noexcept {
474 value *= static_cast<NumericType>(3600.0L)
475 / (static_cast<NumericType>(1852.0L) * static_cast<NumericType>(1852.0L)
476 * static_cast<NumericType>(1852.0L));
477}
478
479template <>
480template <typename NumericType>
481inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerHour>::
482 ToStandard(NumericType& value) noexcept {
483 value *= static_cast<NumericType>(1852.0L) * static_cast<NumericType>(1852.0L)
484 * static_cast<NumericType>(1852.0L) / static_cast<NumericType>(3600.0L);
485}
486
487template <>
488template <typename NumericType>
489inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerSecond>::
490 FromStandard(NumericType& value) noexcept {
491 value /= (static_cast<NumericType>(1609.344L) * static_cast<NumericType>(1609.344L)
492 * static_cast<NumericType>(1609.344L));
493}
494
495template <>
496template <typename NumericType>
497inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerSecond>::
498 ToStandard(NumericType& value) noexcept {
499 value *= static_cast<NumericType>(1609.344L) * static_cast<NumericType>(1609.344L)
500 * static_cast<NumericType>(1609.344L);
501}
502
503template <>
504template <typename NumericType>
505inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerMinute>::
506 FromStandard(NumericType& value) noexcept {
507 value *= static_cast<NumericType>(60.0L)
508 / (static_cast<NumericType>(1609.344L) * static_cast<NumericType>(1609.344L)
509 * static_cast<NumericType>(1609.344L));
510}
511
512template <>
513template <typename NumericType>
514inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerMinute>::
515 ToStandard(NumericType& value) noexcept {
516 value *= static_cast<NumericType>(1609.344L) * static_cast<NumericType>(1609.344L)
517 * static_cast<NumericType>(1609.344L) / static_cast<NumericType>(60.0L);
518}
519
520template <>
521template <typename NumericType>
522inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerHour>::
523 FromStandard(NumericType& value) noexcept {
524 value *= static_cast<NumericType>(3600.0L)
525 / (static_cast<NumericType>(1609.344L) * static_cast<NumericType>(1609.344L)
526 * static_cast<NumericType>(1609.344L));
527}
528
529template <>
530template <typename NumericType>
531inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerHour>::ToStandard(
532 NumericType& value) noexcept {
533 value *= static_cast<NumericType>(1609.344L) * static_cast<NumericType>(1609.344L)
534 * static_cast<NumericType>(1609.344L) / static_cast<NumericType>(3600.0L);
535}
536
537template <>
538template <typename NumericType>
539inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerSecond>::
540 FromStandard(NumericType& value) noexcept {
541 value *= static_cast<NumericType>(1.0E-9L);
542}
543
544template <>
545template <typename NumericType>
546inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerSecond>::
547 ToStandard(NumericType& value) noexcept {
548 value *= static_cast<NumericType>(1.0E9L);
549}
550
551template <>
552template <typename NumericType>
553inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerMinute>::
554 FromStandard(NumericType& value) noexcept {
555 value *= static_cast<NumericType>(60.0L) / static_cast<NumericType>(1.0E9L);
556}
557
558template <>
559template <typename NumericType>
560inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerMinute>::
561 ToStandard(NumericType& value) noexcept {
562 value *= static_cast<NumericType>(1.0E9L) / static_cast<NumericType>(60.0L);
563}
564
565template <>
566template <typename NumericType>
567inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerHour>::
568 FromStandard(NumericType& value) noexcept {
569 value *= static_cast<NumericType>(3600.0L) / static_cast<NumericType>(1.0E9L);
570}
571
572template <>
573template <typename NumericType>
574inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerHour>::
575 ToStandard(NumericType& value) noexcept {
576 value *= static_cast<NumericType>(1.0E9L) / static_cast<NumericType>(3600.0L);
577}
578
579template <>
580template <typename NumericType>
581inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerSecond>::
582 FromStandard(NumericType& value) noexcept {
583 value /= (static_cast<NumericType>(0.9144L) * static_cast<NumericType>(0.9144L)
584 * static_cast<NumericType>(0.9144L));
585}
586
587template <>
588template <typename NumericType>
589inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerSecond>::
590 ToStandard(NumericType& value) noexcept {
591 value *= static_cast<NumericType>(0.9144L) * static_cast<NumericType>(0.9144L)
592 * static_cast<NumericType>(0.9144L);
593}
594
595template <>
596template <typename NumericType>
597inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerMinute>::
598 FromStandard(NumericType& value) noexcept {
599 value *= static_cast<NumericType>(60.0L)
600 / (static_cast<NumericType>(0.9144L) * static_cast<NumericType>(0.9144L)
601 * static_cast<NumericType>(0.9144L));
602}
603
604template <>
605template <typename NumericType>
606inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerMinute>::
607 ToStandard(NumericType& value) noexcept {
608 value *= static_cast<NumericType>(0.9144L) * static_cast<NumericType>(0.9144L)
609 * static_cast<NumericType>(0.9144L) / static_cast<NumericType>(60.0L);
610}
611
612template <>
613template <typename NumericType>
614inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerHour>::
615 FromStandard(NumericType& value) noexcept {
616 value *= static_cast<NumericType>(3600.0L)
617 / (static_cast<NumericType>(0.9144L) * static_cast<NumericType>(0.9144L)
618 * static_cast<NumericType>(0.9144L));
619}
620
621template <>
622template <typename NumericType>
623inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerHour>::ToStandard(
624 NumericType& value) noexcept {
625 value *= static_cast<NumericType>(0.9144L) * static_cast<NumericType>(0.9144L)
626 * static_cast<NumericType>(0.9144L) / static_cast<NumericType>(3600.0L);
627}
628
629template <>
630template <typename NumericType>
631inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerSecond>::
632 FromStandard(NumericType& value) noexcept {
633 value /= (static_cast<NumericType>(0.3048L) * static_cast<NumericType>(0.3048L)
634 * static_cast<NumericType>(0.3048L));
635}
636
637template <>
638template <typename NumericType>
639inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerSecond>::
640 ToStandard(NumericType& value) noexcept {
641 value *= static_cast<NumericType>(0.3048L) * static_cast<NumericType>(0.3048L)
642 * static_cast<NumericType>(0.3048L);
643}
644
645template <>
646template <typename NumericType>
647inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerMinute>::
648 FromStandard(NumericType& value) noexcept {
649 value *= static_cast<NumericType>(60.0L)
650 / (static_cast<NumericType>(0.3048L) * static_cast<NumericType>(0.3048L)
651 * static_cast<NumericType>(0.3048L));
652}
653
654template <>
655template <typename NumericType>
656inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerMinute>::
657 ToStandard(NumericType& value) noexcept {
658 value *= static_cast<NumericType>(0.3048L) * static_cast<NumericType>(0.3048L)
659 * static_cast<NumericType>(0.3048L) / static_cast<NumericType>(60.0L);
660}
661
662template <>
663template <typename NumericType>
664inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerHour>::
665 FromStandard(NumericType& value) noexcept {
666 value *= static_cast<NumericType>(3600.0L)
667 / (static_cast<NumericType>(0.3048L) * static_cast<NumericType>(0.3048L)
668 * static_cast<NumericType>(0.3048L));
669}
670
671template <>
672template <typename NumericType>
673inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerHour>::ToStandard(
674 NumericType& value) noexcept {
675 value *= static_cast<NumericType>(0.3048L) * static_cast<NumericType>(0.3048L)
676 * static_cast<NumericType>(0.3048L) / static_cast<NumericType>(3600.0L);
677}
678
679template <>
680template <typename NumericType>
681inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerSecond>::
682 FromStandard(NumericType& value) noexcept {
683 value *= static_cast<NumericType>(1000.0L);
684}
685
686template <>
687template <typename NumericType>
688inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerSecond>::
689 ToStandard(NumericType& value) noexcept {
690 value *= static_cast<NumericType>(0.001L);
691}
692
693template <>
694template <typename NumericType>
695inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerMinute>::
696 FromStandard(NumericType& value) noexcept {
697 value *= static_cast<NumericType>(60.0L) / static_cast<NumericType>(0.001L);
698}
699
700template <>
701template <typename NumericType>
702inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerMinute>::
703 ToStandard(NumericType& value) noexcept {
704 value *= static_cast<NumericType>(0.001L) / static_cast<NumericType>(60.0L);
705}
706
707template <>
708template <typename NumericType>
709inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerHour>::
710 FromStandard(NumericType& value) noexcept {
711 value *= static_cast<NumericType>(3600.0L) / static_cast<NumericType>(0.001L);
712}
713
714template <>
715template <typename NumericType>
716inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerHour>::
717 ToStandard(NumericType& value) noexcept {
718 value *= static_cast<NumericType>(0.001L) / static_cast<NumericType>(3600.0L);
719}
720
721template <>
722template <typename NumericType>
723inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::LitrePerSecond>::FromStandard(
724 NumericType& value) noexcept {
725 value *= static_cast<NumericType>(1000.0L);
726}
727
728template <>
729template <typename NumericType>
730inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::LitrePerSecond>::ToStandard(
731 NumericType& value) noexcept {
732 value *= static_cast<NumericType>(0.001L);
733}
734
735template <>
736template <typename NumericType>
737inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::LitrePerMinute>::FromStandard(
738 NumericType& value) noexcept {
739 value *= static_cast<NumericType>(60.0L) / static_cast<NumericType>(0.001L);
740}
741
742template <>
743template <typename NumericType>
744inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::LitrePerMinute>::ToStandard(
745 NumericType& value) noexcept {
746 value *= static_cast<NumericType>(0.001L) / static_cast<NumericType>(60.0L);
747}
748
749template <>
750template <typename NumericType>
751inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::LitrePerHour>::FromStandard(
752 NumericType& value) noexcept {
753 value *= static_cast<NumericType>(3600.0L) / static_cast<NumericType>(0.001L);
754}
755
756template <>
757template <typename NumericType>
758inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::LitrePerHour>::ToStandard(
759 NumericType& value) noexcept {
760 value *= static_cast<NumericType>(0.001L) / static_cast<NumericType>(3600.0L);
761}
762
763template <>
764template <typename NumericType>
765inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerSecond>::
766 FromStandard(NumericType& value) noexcept {
767 value /= (static_cast<NumericType>(0.0254L) * static_cast<NumericType>(0.0254L)
768 * static_cast<NumericType>(0.0254L));
769}
770
771template <>
772template <typename NumericType>
773inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerSecond>::
774 ToStandard(NumericType& value) noexcept {
775 value *= static_cast<NumericType>(0.0254L) * static_cast<NumericType>(0.0254L)
776 * static_cast<NumericType>(0.0254L);
777}
778
779template <>
780template <typename NumericType>
781inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerMinute>::
782 FromStandard(NumericType& value) noexcept {
783 value *= static_cast<NumericType>(60.0L)
784 / (static_cast<NumericType>(0.0254L) * static_cast<NumericType>(0.0254L)
785 * static_cast<NumericType>(0.0254L));
786}
787
788template <>
789template <typename NumericType>
790inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerMinute>::
791 ToStandard(NumericType& value) noexcept {
792 value *= static_cast<NumericType>(0.0254L) * static_cast<NumericType>(0.0254L)
793 * static_cast<NumericType>(0.0254L) / static_cast<NumericType>(60.0L);
794}
795
796template <>
797template <typename NumericType>
798inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerHour>::
799 FromStandard(NumericType& value) noexcept {
800 value *= static_cast<NumericType>(3600.0L)
801 / (static_cast<NumericType>(0.0254L) * static_cast<NumericType>(0.0254L)
802 * static_cast<NumericType>(0.0254L));
803}
804
805template <>
806template <typename NumericType>
807inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerHour>::ToStandard(
808 NumericType& value) noexcept {
809 value *= static_cast<NumericType>(0.0254L) * static_cast<NumericType>(0.0254L)
810 * static_cast<NumericType>(0.0254L) / static_cast<NumericType>(3600.0L);
811}
812
813template <>
814template <typename NumericType>
815inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerSecond>::
816 FromStandard(NumericType& value) noexcept {
817 value *= static_cast<NumericType>(1.0E6L);
818}
819
820template <>
821template <typename NumericType>
822inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerSecond>::
823 ToStandard(NumericType& value) noexcept {
824 value *= static_cast<NumericType>(1.0E-6L);
825}
826
827template <>
828template <typename NumericType>
829inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerMinute>::
830 FromStandard(NumericType& value) noexcept {
831 value *= static_cast<NumericType>(60.0L) * static_cast<NumericType>(1.0E6L);
832}
833
834template <>
835template <typename NumericType>
836inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerMinute>::
837 ToStandard(NumericType& value) noexcept {
838 value *= static_cast<NumericType>(1.0E-6L) / static_cast<NumericType>(60.0L);
839}
840
841template <>
842template <typename NumericType>
843inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerHour>::
844 FromStandard(NumericType& value) noexcept {
845 value *= static_cast<NumericType>(3600.0L) * static_cast<NumericType>(1.0E6L);
846}
847
848template <>
849template <typename NumericType>
850inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerHour>::
851 ToStandard(NumericType& value) noexcept {
852 value *= static_cast<NumericType>(1.0E-6L) / static_cast<NumericType>(3600.0L);
853}
854
855template <>
856template <typename NumericType>
857inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerSecond>::
858 FromStandard(NumericType& value) noexcept {
859 value *= static_cast<NumericType>(1.0E6L);
860}
861
862template <>
863template <typename NumericType>
864inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerSecond>::
865 ToStandard(NumericType& value) noexcept {
866 value *= static_cast<NumericType>(1.0E-6L);
867}
868
869template <>
870template <typename NumericType>
871inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerMinute>::
872 FromStandard(NumericType& value) noexcept {
873 value *= static_cast<NumericType>(60.0L) * static_cast<NumericType>(1.0E6L);
874}
875
876template <>
877template <typename NumericType>
878inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerMinute>::
879 ToStandard(NumericType& value) noexcept {
880 value *= static_cast<NumericType>(1.0E-6L) / static_cast<NumericType>(60.0L);
881}
882
883template <>
884template <typename NumericType>
885inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerHour>::
886 FromStandard(NumericType& value) noexcept {
887 value *= static_cast<NumericType>(3600.0L) * static_cast<NumericType>(1.0E6L);
888}
889
890template <>
891template <typename NumericType>
892inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerHour>::ToStandard(
893 NumericType& value) noexcept {
894 value *= static_cast<NumericType>(1.0E-6L) / static_cast<NumericType>(3600.0L);
895}
896
897template <>
898template <typename NumericType>
899inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerSecond>::
900 FromStandard(NumericType& value) noexcept {
901 value *= static_cast<NumericType>(1.0E9L);
902}
903
904template <>
905template <typename NumericType>
906inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerSecond>::
907 ToStandard(NumericType& value) noexcept {
908 value *= static_cast<NumericType>(1.0E-9L);
909}
910
911template <>
912template <typename NumericType>
913inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerMinute>::
914 FromStandard(NumericType& value) noexcept {
915 value *= static_cast<NumericType>(60.0L) * static_cast<NumericType>(1.0E9L);
916}
917
918template <>
919template <typename NumericType>
920inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerMinute>::
921 ToStandard(NumericType& value) noexcept {
922 value *= static_cast<NumericType>(1.0E-9L) / static_cast<NumericType>(60.0L);
923}
924
925template <>
926template <typename NumericType>
927inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerHour>::
928 FromStandard(NumericType& value) noexcept {
929 value *= static_cast<NumericType>(3600.0L) * static_cast<NumericType>(1.0E9L);
930}
931
932template <>
933template <typename NumericType>
934inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerHour>::
935 ToStandard(NumericType& value) noexcept {
936 value *= static_cast<NumericType>(1.0E-9L) / static_cast<NumericType>(3600.0L);
937}
938
939template <>
940template <typename NumericType>
941inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerSecond>::
942 FromStandard(NumericType& value) noexcept {
943 value /= (static_cast<NumericType>(0.0000254L) * static_cast<NumericType>(0.0000254L)
944 * static_cast<NumericType>(0.0000254L));
945}
946
947template <>
948template <typename NumericType>
949inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerSecond>::
950 ToStandard(NumericType& value) noexcept {
951 value *= static_cast<NumericType>(0.0000254L) * static_cast<NumericType>(0.0000254L)
952 * static_cast<NumericType>(0.0000254L);
953}
954
955template <>
956template <typename NumericType>
957inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerMinute>::
958 FromStandard(NumericType& value) noexcept {
959 value *= static_cast<NumericType>(60.0L)
960 / (static_cast<NumericType>(0.0000254L) * static_cast<NumericType>(0.0000254L)
961 * static_cast<NumericType>(0.0000254L));
962}
963
964template <>
965template <typename NumericType>
966inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerMinute>::
967 ToStandard(NumericType& value) noexcept {
968 value *= static_cast<NumericType>(0.0000254L) * static_cast<NumericType>(0.0000254L)
969 * static_cast<NumericType>(0.0000254L) / static_cast<NumericType>(60.0L);
970}
971
972template <>
973template <typename NumericType>
974inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerHour>::
975 FromStandard(NumericType& value) noexcept {
976 value *= static_cast<NumericType>(3600.0L)
977 / (static_cast<NumericType>(0.0000254L) * static_cast<NumericType>(0.0000254L)
978 * static_cast<NumericType>(0.0000254L));
979}
980
981template <>
982template <typename NumericType>
983inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerHour>::
984 ToStandard(NumericType& value) noexcept {
985 value *= static_cast<NumericType>(0.0000254L) * static_cast<NumericType>(0.0000254L)
986 * static_cast<NumericType>(0.0000254L) / static_cast<NumericType>(3600.0L);
987}
988
989template <>
990template <typename NumericType>
991inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerSecond>::
992 FromStandard(NumericType& value) noexcept {
993 value *= static_cast<NumericType>(1.0E18L);
994}
995
996template <>
997template <typename NumericType>
998inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerSecond>::
999 ToStandard(NumericType& value) noexcept {
1000 value *= static_cast<NumericType>(1.0E-18L);
1001}
1002
1003template <>
1004template <typename NumericType>
1005inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerMinute>::
1006 FromStandard(NumericType& value) noexcept {
1007 value *= static_cast<NumericType>(60.0L) * static_cast<NumericType>(1.0E18L);
1008}
1009
1010template <>
1011template <typename NumericType>
1012inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerMinute>::
1013 ToStandard(NumericType& value) noexcept {
1014 value *= static_cast<NumericType>(1.0E-18L) / static_cast<NumericType>(60.0L);
1015}
1016
1017template <>
1018template <typename NumericType>
1019inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerHour>::
1020 FromStandard(NumericType& value) noexcept {
1021 value *= static_cast<NumericType>(3600.0L) * static_cast<NumericType>(1.0E18L);
1022}
1023
1024template <>
1025template <typename NumericType>
1026inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerHour>::
1027 ToStandard(NumericType& value) noexcept {
1028 value *= static_cast<NumericType>(1.0E-18L) / static_cast<NumericType>(3600.0L);
1029}
1030
1031template <>
1032template <typename NumericType>
1033inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerSecond>::
1034 FromStandard(NumericType& value) noexcept {
1035 value /= (static_cast<NumericType>(0.0000000254L) * static_cast<NumericType>(0.0000000254L)
1036 * static_cast<NumericType>(0.0000000254L));
1037}
1038
1039template <>
1040template <typename NumericType>
1041inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerSecond>::
1042 ToStandard(NumericType& value) noexcept {
1043 value *= static_cast<NumericType>(0.0000000254L) * static_cast<NumericType>(0.0000000254L)
1044 * static_cast<NumericType>(0.0000000254L);
1045}
1046
1047template <>
1048template <typename NumericType>
1049inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerMinute>::
1050 FromStandard(NumericType& value) noexcept {
1051 value *= static_cast<NumericType>(60.0L)
1052 / (static_cast<NumericType>(0.0000000254L) * static_cast<NumericType>(0.0000000254L)
1053 * static_cast<NumericType>(0.0000000254L));
1054}
1055
1056template <>
1057template <typename NumericType>
1058inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerMinute>::
1059 ToStandard(NumericType& value) noexcept {
1060 value *= static_cast<NumericType>(0.0000000254L) * static_cast<NumericType>(0.0000000254L)
1061 * static_cast<NumericType>(0.0000000254L) / static_cast<NumericType>(60.0L);
1062}
1063
1064template <>
1065template <typename NumericType>
1066inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerHour>::
1067 FromStandard(NumericType& value) noexcept {
1068 value *= static_cast<NumericType>(3600.0L)
1069 / (static_cast<NumericType>(0.0000000254L) * static_cast<NumericType>(0.0000000254L)
1070 * static_cast<NumericType>(0.0000000254L));
1071}
1072
1073template <>
1074template <typename NumericType>
1075inline constexpr void Conversion<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerHour>::
1076 ToStandard(NumericType& value) noexcept {
1077 value *= static_cast<NumericType>(0.0000000254L) * static_cast<NumericType>(0.0000000254L)
1078 * static_cast<NumericType>(0.0000000254L) / static_cast<NumericType>(3600.0L);
1079}
1080
1081template <typename NumericType>
1082inline const std::map<Unit::VolumeRate,
1083 std::function<void(NumericType* const, const std::size_t size)>>
1084 MapOfConversionsFromStandard<Unit::VolumeRate, NumericType>{
1086 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerSecond>::
1087 FromStandard<NumericType> },
1089 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerMinute>::
1090 FromStandard<NumericType> },
1092 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerHour>::
1093 FromStandard<NumericType> },
1095 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerSecond>::
1096 FromStandard<NumericType> },
1098 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerMinute>::
1099 FromStandard<NumericType> },
1101 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerHour>::
1102 FromStandard<NumericType> },
1104 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerSecond>::
1105 FromStandard<NumericType> },
1107 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerMinute>::
1108 FromStandard<NumericType> },
1110 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerHour>::
1111 FromStandard<NumericType> },
1113 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerSecond>::
1114 FromStandard<NumericType> },
1116 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerMinute>::
1117 FromStandard<NumericType> },
1119 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerHour>::
1120 FromStandard<NumericType> },
1122 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerSecond>::
1123 FromStandard<NumericType> },
1125 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerMinute>::
1126 FromStandard<NumericType> },
1128 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerHour>::
1129 FromStandard<NumericType> },
1131 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerSecond>::
1132 FromStandard<NumericType> },
1134 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerMinute>::
1135 FromStandard<NumericType> },
1137 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerHour>::
1138 FromStandard<NumericType> },
1140 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerSecond>::
1141 FromStandard<NumericType> },
1143 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerMinute>::
1144 FromStandard<NumericType> },
1146 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerHour>::
1147 FromStandard<NumericType> },
1149 Conversions<Unit::VolumeRate, Unit::VolumeRate::LitrePerSecond>::FromStandard<NumericType>},
1151 Conversions<Unit::VolumeRate, Unit::VolumeRate::LitrePerMinute>::FromStandard<NumericType>},
1153 Conversions<Unit::VolumeRate, Unit::VolumeRate::LitrePerHour>::FromStandard<NumericType> },
1155 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerSecond>::
1156 FromStandard<NumericType> },
1158 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerMinute>::
1159 FromStandard<NumericType> },
1161 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerHour>::
1162 FromStandard<NumericType> },
1164 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerSecond>::
1165 FromStandard<NumericType> },
1167 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerMinute>::
1168 FromStandard<NumericType> },
1170 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerHour>::
1171 FromStandard<NumericType> },
1173 Conversions<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerSecond>::
1174 FromStandard<NumericType> },
1176 Conversions<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerMinute>::
1177 FromStandard<NumericType> },
1179 Conversions<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerHour>::
1180 FromStandard<NumericType> },
1182 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerSecond>::
1183 FromStandard<NumericType> },
1185 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerMinute>::
1186 FromStandard<NumericType> },
1188 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerHour>::
1189 FromStandard<NumericType> },
1191 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerSecond>::
1192 FromStandard<NumericType> },
1194 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerMinute>::
1195 FromStandard<NumericType> },
1197 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerHour>::
1198 FromStandard<NumericType> },
1200 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerSecond>::
1201 FromStandard<NumericType> },
1203 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerMinute>::
1204 FromStandard<NumericType> },
1206 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerHour>::
1207 FromStandard<NumericType> },
1209 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerSecond>::
1210 FromStandard<NumericType> },
1212 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerMinute>::
1213 FromStandard<NumericType> },
1215 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerHour>::
1216 FromStandard<NumericType> },
1217};
1218
1219template <typename NumericType>
1220inline const std::map<Unit::VolumeRate,
1221 std::function<void(NumericType* values, const std::size_t size)>>
1222 MapOfConversionsToStandard<Unit::VolumeRate, NumericType>{
1224 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerSecond>::
1225 ToStandard<NumericType> },
1227 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerMinute>::
1228 ToStandard<NumericType> },
1230 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMetrePerHour>::ToStandard<NumericType>},
1232 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerSecond>::
1233 ToStandard<NumericType> },
1235 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerMinute>::
1236 ToStandard<NumericType> },
1238 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicNauticalMilePerHour>::
1239 ToStandard<NumericType> },
1241 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerSecond>::
1242 ToStandard<NumericType> },
1244 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerMinute>::
1245 ToStandard<NumericType> },
1247 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilePerHour>::ToStandard<NumericType> },
1249 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerSecond>::
1250 ToStandard<NumericType> },
1252 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerMinute>::
1253 ToStandard<NumericType> },
1255 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicKilometrePerHour>::
1256 ToStandard<NumericType> },
1258 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerSecond>::
1259 ToStandard<NumericType> },
1261 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerMinute>::
1262 ToStandard<NumericType> },
1264 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicYardPerHour>::ToStandard<NumericType> },
1266 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerSecond>::
1267 ToStandard<NumericType> },
1269 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerMinute>::
1270 ToStandard<NumericType> },
1272 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicFootPerHour>::ToStandard<NumericType> },
1274 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerSecond>::
1275 ToStandard<NumericType> },
1277 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerMinute>::
1278 ToStandard<NumericType> },
1280 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicDecimetrePerHour>::
1281 ToStandard<NumericType> },
1283 Conversions<Unit::VolumeRate, Unit::VolumeRate::LitrePerSecond>::ToStandard<NumericType> },
1285 Conversions<Unit::VolumeRate, Unit::VolumeRate::LitrePerMinute>::ToStandard<NumericType> },
1287 Conversions<Unit::VolumeRate, Unit::VolumeRate::LitrePerHour>::ToStandard<NumericType> },
1289 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerSecond>::
1290 ToStandard<NumericType> },
1292 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerMinute>::
1293 ToStandard<NumericType> },
1295 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicInchPerHour>::ToStandard<NumericType> },
1297 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerSecond>::
1298 ToStandard<NumericType> },
1300 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerMinute>::
1301 ToStandard<NumericType> },
1303 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicCentimetrePerHour>::
1304 ToStandard<NumericType> },
1306 Conversions<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerSecond>::
1307 ToStandard<NumericType> },
1309 Conversions<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerMinute>::
1310 ToStandard<NumericType> },
1312 Conversions<Unit::VolumeRate, Unit::VolumeRate::MillilitrePerHour>::ToStandard<NumericType>},
1314 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerSecond>::
1315 ToStandard<NumericType> },
1317 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerMinute>::
1318 ToStandard<NumericType> },
1320 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMillimetrePerHour>::
1321 ToStandard<NumericType> },
1323 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerSecond>::
1324 ToStandard<NumericType> },
1326 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerMinute>::
1327 ToStandard<NumericType> },
1329 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMilliinchPerHour>::
1330 ToStandard<NumericType> },
1332 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerSecond>::
1333 ToStandard<NumericType> },
1335 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerMinute>::
1336 ToStandard<NumericType> },
1338 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicrometrePerHour>::
1339 ToStandard<NumericType> },
1341 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerSecond>::
1342 ToStandard<NumericType> },
1344 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerMinute>::
1345 ToStandard<NumericType> },
1347 Conversions<Unit::VolumeRate, Unit::VolumeRate::CubicMicroinchPerHour>::
1348 ToStandard<NumericType> },
1349};
1350
1351} // namespace Internal
1352
1353} // namespace PhQ
1354
1355#endif // PHQ_UNIT_VOLUME_RATE_HPP
VolumeRate
Volume rate units. Can represent a time rate of change of a volume or a volume flow rate.
@ LitrePerHour
Litre per hour (L/hr) volume rate unit.
@ CubicMilliinchPerHour
Cubic milliinch per hour (mil^3/hr) volume rate unit.
@ CubicKilometrePerHour
Cubic kilometre per hour (km^3/hr) volume rate unit.
@ LitrePerMinute
Litre per minute (L/min) volume rate unit.
@ CubicYardPerHour
Cubic yard per hour (yd^3/hr) volume rate unit.
@ CubicYardPerSecond
Cubic yard per second (yd^3/s) volume rate unit.
@ CubicFootPerHour
Cubic foot per hour (ft^3/hr) volume rate unit.
@ MillilitrePerHour
Millilitre per hour (mL/hr) volume rate unit.
@ CubicInchPerSecond
Cubic inch per second (in^3/s) volume rate unit.
@ CubicMicroinchPerSecond
Cubic microinch per second (μin^3/s) volume rate unit.
@ CubicDecimetrePerSecond
Cubic decimetre per second (dm^3/s) volume rate unit.
@ CubicKilometrePerSecond
Cubic kilometre per second (km^3/s) volume rate unit.
@ CubicMetrePerMinute
Cubic metre per minute (m^3/min) volume rate unit.
@ CubicMilePerSecond
Cubic mile per second (mi^3/s) volume rate unit.
@ CubicMilePerHour
Cubic mile per hour (mi^3/hr) volume rate unit.
@ CubicMillimetrePerMinute
Cubic millimetre per minute (mm^3/min) volume rate unit.
@ MillilitrePerSecond
Millilitre per second (mL/s) volume rate unit.
@ CubicNauticalMilePerSecond
Cubic nautical mile per second (nmi^3/s) volume rate unit.
@ CubicMicrometrePerSecond
Cubic micrometre per second (μm^3/s) volume rate unit.
@ CubicNauticalMilePerHour
Cubic nautical mile per hour (nmi^3/hr) volume rate unit.
@ CubicInchPerMinute
Cubic inch per minute (in^3/min) volume rate unit.
@ CubicNauticalMilePerMinute
Cubic nautical mile per minute (nmi^3/min) volume rate unit.
@ CubicKilometrePerMinute
Cubic kilometre per minute (km^3/min) volume rate unit.
@ CubicMillimetrePerSecond
Cubic millimetre per second (mm^3/s) volume rate unit.
@ CubicMilliinchPerMinute
Cubic milliinch per minute (mil^3/min) volume rate unit.
@ CubicCentimetrePerSecond
Cubic centimetre per second (cm^3/s) volume rate unit.
@ CubicMilliinchPerSecond
Cubic milliinch per second (mil^3/s) volume rate unit.
@ CubicDecimetrePerMinute
Cubic decimetre per minute (dm^3/min) volume rate unit.
@ MillilitrePerMinute
Millilitre per minute (mL/min) volume rate unit.
@ CubicMicrometrePerMinute
Cubic micrometre per minute (μm^3/min) volume rate unit.
@ CubicMicrometrePerHour
Cubic micrometre per hour (μm^3/hr) volume rate unit.
@ CubicMetrePerHour
Cubic metre per hour (m^3/hr) volume rate unit.
@ CubicMicroinchPerHour
Cubic microinch per hour (μin^3/hr) volume rate unit.
@ CubicMicroinchPerMinute
Cubic microinch per minute (μin^3/min) volume rate unit.
@ CubicMilePerMinute
Cubic mile per minute (mi^3/min) volume rate unit.
@ CubicFootPerMinute
Cubic foot per minute (ft^3/min) volume rate unit.
@ CubicMetrePerSecond
Cubic metre per second (m^3/s) volume rate unit.
@ CubicFootPerSecond
Cubic foot per second (ft^3/s) volume rate unit.
@ CubicDecimetrePerHour
Cubic decimetre per hour (dm^3/hr) volume rate unit.
@ CubicMillimetrePerHour
Cubic millimetre per hour (mm^3/hr) volume rate unit.
@ LitrePerSecond
Litre per second (L/s) volume rate unit.
@ CubicInchPerHour
Cubic inch per hour (in^3/hr) volume rate unit.
@ CubicYardPerMinute
Cubic yard per minute (yd^3/min) volume rate unit.
@ CubicCentimetrePerMinute
Cubic centimetre per minute (cm^3/min) volume rate unit.
@ CubicCentimetrePerHour
Cubic centimetre per hour (cm^3/hr) volume rate unit.
Namespace that encompasses all of the Physical Quantities library's content.
std::ostream & operator<<(std::ostream &stream, const Acceleration< NumericType > &acceleration)
@ FootPoundSecondRankine
Foot-pound-second-rankine (ft·lbf·s·°R) system.
@ MillimetreGramSecondKelvin
Millimetre-gram-second-kelvin (mm·g·s·K) system.
@ MetreKilogramSecondKelvin
Metre-kilogram-second-kelvin (m·kg·s·K) system.
@ InchPoundSecondRankine
Inch-pound-second-rankine (in·lbf·s·°R) system.
std::string_view Abbreviation(const Enumeration enumeration)
Returns the abbreviation of a given enumeration value. For example, PhQ::Abbreviation(PhQ::Unit::Time...
Definition Base.hpp:89