SyDEVS  v0.6.7
Multiscale Simulation and Systems Modeling Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

#define SYDEVS_UNITS_H_