![]() |
KIDS
ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
|
#include <phys.h>
Public Types | |
using | value_type = real_precision |
using | MatrixType = inner::matrix<value_type, dimension7_size, dimension7_size> |
using | VectorType = inner::matrix<value_type, dimension7_size, 1> |
Public Member Functions | |
CONSTEXPR_DECOR | unitsys (const uval &u0, const uval &u1, const uval &u2, const uval &u3, const uval &u4, const uval &u5, const uval &u6) |
non-static functions | |
1) eval a dimension7 in current unitsys 2) conv a uval to current unitsys | |
CONSTEXPR_DECOR value_type | eval (const dimension7 dim) const |
CONSTEXPR_DECOR value_type | conv (const uval &u) |
Static Public Member Functions | |
static functions by calling | |
| |
static CONSTEXPR_DECOR value_type | conv (const dimension7 dim, const unitsys &from_us, const unitsys &to_us) |
static CONSTEXPR_DECOR value_type | conv (const uval &u, const unitsys &to_us) |
static CONSTEXPR_DECOR value_type | conv (const unitsys &from_us, const uval &u) |
static uval | parse (const std::string &str) |
static value_type | conv (const std::string &str, const unitsys &to_us) |
Coverting string-style unit [dimension7 used] to a unit system. | |
static value_type | conv (const unitsys &from_us, const std::string &str) |
Coverting unit system to a string-style unit [dimension7 used]. | |
static value_type | as (const dimension7 dim, const uval &u, const unitsys &us) |
convert different quantities based on energy equivalence priciples [E] = [M]* c^2 = h / [T] = h * c / [L] = kB * [Q] //! not hb but h | |
static value_type | as (const dimension7 dim, const std::string &str, const unitsys &us) |
Public Attributes | |
std::array< uval, dimension7_size > | units |
MatrixType | invA |
value_type | _c |
value_type | _h |
value_type | _hb |
value_type | _ke |
value_type | _me |
value_type | _e |
value_type | _k |
value_type | _N |
value_type | _G |
using phys::unitsys::VectorType = inner::matrix<value_type, dimension7_size, 1> |
|
inlinestatic |
|
inlinestatic |
convert different quantities based on energy equivalence priciples [E] = [M]* c^2 = h / [T] = h * c / [L] = kB * [Q] //! not hb but h
Definition at line 842 of file phys.h.
References _c, phys::dimensions< T, N >::_data, _h, _k, _N, conv(), phys::uval::dim, and phys::reduce_l_energy().
Referenced by as().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 786 of file phys.h.
References phys::uval::dim, eval(), and phys::uval::value.
|
inline |
Definition at line 772 of file phys.h.
References phys::uval::dim, eval(), and phys::uval::value.
Referenced by as(), PROJECT_NS::Model_Bath::setInputDataSet_impl(), PROJECT_NS::Model_LVCM::setInputDataSet_impl(), PROJECT_NS::Model_NAD1D::setInputDataSet_impl(), and PROJECT_NS::Model_SystemBath::setInputDataSet_impl().
|
inlinestatic |
Definition at line 783 of file phys.h.
References phys::uval::dim, eval(), and phys::uval::value.
|
inline |
Definition at line 764 of file phys.h.
References phys::dimensions< T, N >::_data, phys::inner::matrix< T, M, N >::_data, phys::dimension7_size, invA, phys::inner::matmul(), phys::inner::pow(), units, and value().
Referenced by conv(), conv(), conv(), and conv().
|
inlinestatic |
Definition at line 790 of file phys.h.
References parse(), phys::power(), phys::uval_names, and phys::uval_prefix.
Referenced by as(), conv(), conv(), PROJECT_NS::Param::get(), parse(), PROJECT_NS::Model_Bath::setInputDataSet_impl(), PROJECT_NS::Model_LVCM::setInputDataSet_impl(), PROJECT_NS::Model_NAD1D::setInputDataSet_impl(), and PROJECT_NS::Model_SystemBath::setInputDataSet_impl().
value_type phys::unitsys::_c |
value_type phys::unitsys::_e |
value_type phys::unitsys::_G |
value_type phys::unitsys::_h |
value_type phys::unitsys::_hb |
value_type phys::unitsys::_k |
value_type phys::unitsys::_ke |
value_type phys::unitsys::_me |
value_type phys::unitsys::_N |
MatrixType phys::unitsys::invA |
std::array<uval, dimension7_size> phys::unitsys::units |