Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamunits::Dimension Struct Reference

Exponents of the seven SI base dimensions. More...

#include <shamunits/include/shamunits/Unit.hpp>

Public Member Functions

constexpr bool operator== (const Dimension &) const =default
 Exponent-wise equality.

Public Attributes

int second = 0
 time exponent
int metre = 0
 length exponent
int kilogram = 0
 mass exponent
int ampere = 0
 electric current exponent
int kelvin = 0
 temperature exponent
int mole = 0
 amount of substance exponent
int candela = 0
 luminous intensity exponent

Detailed Description

Exponents of the seven SI base dimensions.

Definition at line 35 of file Unit.hpp.

Member Data Documentation

◆ ampere

int shamunits::Dimension::ampere = 0

electric current exponent

Definition at line 39 of file Unit.hpp.

◆ candela

int shamunits::Dimension::candela = 0

luminous intensity exponent

Definition at line 42 of file Unit.hpp.

◆ kelvin

int shamunits::Dimension::kelvin = 0

temperature exponent

Definition at line 40 of file Unit.hpp.

◆ kilogram

int shamunits::Dimension::kilogram = 0

mass exponent

Definition at line 38 of file Unit.hpp.

◆ metre

int shamunits::Dimension::metre = 0

length exponent

Definition at line 37 of file Unit.hpp.

◆ mole

int shamunits::Dimension::mole = 0

amount of substance exponent

Definition at line 41 of file Unit.hpp.

◆ second

int shamunits::Dimension::second = 0

time exponent

Definition at line 36 of file Unit.hpp.


The documentation for this struct was generated from the following file: