SyDEVS  v0.7
Simulation-based analysis of complex systems involving people, devices, physical elements, and dynamic environments.
units.h File Reference

Go to the source code of this file.

Classes

struct  sydevs::units< g, m, s, A, K, mol, cd >
 A template which represents Standard International (SI) units inclusing the base units such as grams, meters, and seconds, and derived units such as meters-per-second-squared. More...
 

Namespaces

 sydevs
 

Macros

#define SYDEVS_UNITS_H_
 

Typedefs

using sydevs::no_units = units< 0, 0, 0, 0, 0, 0, 0 >
 
using sydevs::grams = units< 1, 0, 0, 0, 0, 0, 0 >
 
using sydevs::meters = units< 0, 1, 0, 0, 0, 0, 0 >
 
using sydevs::seconds = units< 0, 0, 1, 0, 0, 0, 0 >
 
using sydevs::amperes = units< 0, 0, 0, 1, 0, 0, 0 >
 
using sydevs::kelvins = units< 0, 0, 0, 0, 1, 0, 0 >
 
using sydevs::moles = units< 0, 0, 0, 0, 0, 1, 0 >
 
using sydevs::candelas = units< 0, 0, 0, 0, 0, 0, 1 >
 

Variables

constexpr auto sydevs::_1 = no_units()
 
constexpr auto sydevs::_g = grams()
 
constexpr auto sydevs::_m = meters()
 
constexpr auto sydevs::_s = seconds()
 
constexpr auto sydevs::_A = amperes()
 
constexpr auto sydevs::_K = kelvins()
 
constexpr auto sydevs::_mol = moles()
 
constexpr auto sydevs::_cd = candelas()
 

Macro Definition Documentation

◆ SYDEVS_UNITS_H_

#define SYDEVS_UNITS_H_