aboutsummaryrefslogtreecommitdiffstats
path: root/unit.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-03-02 14:03:14 -0500
committerSam Anthony <sam@samanthony.xyz>2025-03-02 14:03:14 -0500
commitd885a41eecf4060f507a6408f7f35f6992e8450a (patch)
tree8000a03bbe04229e85146f732b39ec6b73b199ac /unit.h
parent8426c6816f68956374d114a347979f03910c067d (diff)
downloadvolute-d885a41eecf4060f507a6408f7f35f6992e8450a.zip
mass flow rate units
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 520285b..b189ff1 100644
--- a/unit.h
+++ b/unit.h
@@ -74,3 +74,13 @@ 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);
+
+
+typedef double MassFlowRate;
+typedef MassFlowRate (*MassFlowRateMaker)(double);
+typedef double (*MassFlowRateReader)(MassFlowRate);
+
+MassFlowRate kilo_per_sec(double x);
+MassFlowRate pound_per_min(double x);
+double as_kilo_per_sec(MassFlowRate m);
+double as_pound_per_min(MassFlowRate m);