psim
1.0
Generalized 2D phonon transport using a Monte Carlo method
|
Functions | |
double | urand () noexcept |
template<typename E > | |
constexpr auto | toInteger (E enumerator) noexcept |
template<typename In1 , typename In2 , typename Out > | |
void | zip (In1 begin1, In2 end1, In2 begin2, In2 end2, Out result) |
template<typename T , typename U > | |
std::vector< std::pair< T, U > > | zip (const std::vector< T > &r1, const std::vector< U > r2) |
template<typename T , typename U , std::size_t V> | |
std::array< std::pair< T, U >, V > | zip (const std::array< T, V > &r1, const std::array< U, V > &r2) |
Variables | |
constexpr double | PI = 3.1415926535897932384626433832795028841971693993751058209749445923 |
|
constexprnoexcept |
|
inlinenoexcept |
std::array<std::pair<T, U>, V> Utils::zip | ( | const std::array< T, V > & | r1, |
const std::array< U, V > & | r2 | ||
) |
std::vector<std::pair<T, U> > Utils::zip | ( | const std::vector< T > & | r1, |
const std::vector< U > | r2 | ||
) |
void Utils::zip | ( | In1 | begin1, |
In2 | end1, | ||
In2 | begin2, | ||
In2 | end2, | ||
Out | result | ||
) |
|
inlineconstexpr |