Pulse adds COVID-19 Simulation Support
×
SEScalarPressure.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "properties/SEScalar.h"
6 
7 class CDM_DECL PressureUnit : public CCompoundUnit
8 {
9 public:
10  PressureUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~PressureUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const PressureUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const PressureUnit Pa;
17  static const PressureUnit mmHg;
18  static const PressureUnit cmH2O;
19  static const PressureUnit psi;
20  static const PressureUnit atm;
21  static const PressureUnit mbar;
22 };
23 
24 class CDM_DECL SEScalarPressure : public SEScalarQuantity<PressureUnit>
25 {
26 public:
28  virtual ~SEScalarPressure() {}
29 };
Definition: SEScalarPressure.h:24
PressureUnit(const std::string &u)
Definition: SEScalarPressure.h:10
static const PressureUnit atm
Definition: SEScalarPressure.h:20
static const PressureUnit mbar
Definition: SEScalarPressure.h:21
Definition: SEScalar.h:148
static const PressureUnit mmHg
Definition: SEScalarPressure.h:17
Definition: SEScalarPressure.h:7
SEScalarPressure()
Definition: SEScalarPressure.h:27
virtual ~PressureUnit()
Definition: SEScalarPressure.h:11
static const PressureUnit Pa
Definition: SEScalarPressure.h:16
static const PressureUnit cmH2O
Definition: SEScalarPressure.h:18
Definition: CompoundUnit.h:39
virtual ~SEScalarPressure()
Definition: SEScalarPressure.h:28
static const PressureUnit psi
Definition: SEScalarPressure.h:19

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.