aboutsummaryrefslogtreecommitdiffstats
path: root/unit.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-02-28 18:25:59 -0500
committerSam Anthony <sam@samanthony.xyz>2025-02-28 18:25:59 -0500
commit5af0508c969105060871a8be0c9885c8c331fa98 (patch)
tree56a42a103d047e82d5add46a247d59dba354ffb3 /unit.h
parentac9ed5d8a5af3cad2f8c70f0bc217ccf97198e5c (diff)
downloadvolute-5af0508c969105060871a8be0c9885c8c331fa98.zip
failing volume flow rate tests
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/unit.h b/unit.h
index 562ec8e..27998fd 100644
--- a/unit.h
+++ b/unit.h
@@ -38,3 +38,13 @@ double as_cubic_centimetre(Volume x);
double as_litre(Volume x);
double as_cubic_metre(double x);
double as_cubic_inch(double x);
+
+
+typedef double VolumeFlowRate;
+
+VolumeFlowRate cubic_metre_per_sec(double x);
+VolumeFlowRate cubic_metre_per_min(double x);
+VolumeFlowRate cubic_foot_per_min(double x);
+double as_cubic_metre_per_sec(VolumeFlowRate x);
+double as_cubic_metre_per_min(VolumeFlowRate x);
+double as_cubic_foot_per_min(VolumeFlowRate x);