diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-05-02 14:32:56 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-05-02 14:32:56 -0400 |
| commit | 0307f0efa3aaabc887212c9535fd22560902cebd (patch) | |
| tree | aff0444747807a0ec09ea183bfba11c2ef2225ec /compressor.h | |
| parent | cb1183751aa25069560923948a0a6de300e6ac9c (diff) | |
| download | volute-0307f0efa3aaabc887212c9535fd22560902cebd.zip | |
draw points on compressor map
Diffstat (limited to 'compressor.h')
| -rw-r--r-- | compressor.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/compressor.h b/compressor.h index 3442545..e394450 100644 --- a/compressor.h +++ b/compressor.h @@ -1,12 +1,14 @@ +typedef enum { + MASS_FLOW, + VOLUME_FLOW, +} FlowType; + typedef struct { union { MassFlowRate mfr; VolumeFlowRate vfr; } u; - enum { - MASS_FLOW, - VOLUME_FLOW - } t; + FlowType t; } Flow; typedef struct { |