DCCL v4
Loading...
Searching...
No Matches
conductivity.h
1#ifndef DCCL_UNITS_CONDUCTIVITY_H
2#define DCCL_UNITS_CONDUCTIVITY_H
3
4#include <boost/units/systems/si/conductivity.hpp>
5#include <boost/units/systems/si/prefixes.hpp>
6
7namespace dccl
8{
9namespace units
10{
11// 1 uS/cm = 10^-4 S/m
12typedef boost::units::make_scaled_unit<
13 boost::units::si::conductivity,
14 boost::units::scale<10, boost::units::static_rational<-4>>>::type microsiemens_per_cm_unit;
15
16static const microsiemens_per_cm_unit microsiemens_per_cm;
17
18typedef boost::units::si::conductivity siemens_per_m_unit;
19static const siemens_per_m_unit siemens_per_m;
20
21} // namespace units
22} // namespace dccl
23
24#endif
Dynamic Compact Control Language namespace.
Definition any.h:47