#include <algorithm>
#include "core/meta.h"
Go to the source code of this file.
|
namespace | olb |
| Top level namespace for all of OpenLB.
|
|
namespace | olb::util |
|
|
template<typename T > |
constexpr T | olb::util::max (T a, meta::id_t< T > b) |
|
template<typename T , class Compare > |
constexpr T | olb::util::max (T a, meta::id_t< T > b, Compare comp) |
|
template<typename T > |
constexpr T | olb::util::max (std::initializer_list< T > ilist) |
|
template<typename T , class Compare > |
constexpr T | olb::util::max (std::initializer_list< T > ilist, Compare comp) |
|
template<> |
float | olb::util::max< float > (float x, float y) any_platform |
|
template<> |
double | olb::util::max< double > (double x, double y) any_platform |
|
template<typename T > |
constexpr T | olb::util::min (T a, meta::id_t< T > b) |
|
template<typename T , class Compare > |
constexpr T | olb::util::min (T a, meta::id_t< T > b, Compare comp) |
|
template<typename T > |
constexpr T | olb::util::min (std::initializer_list< T > ilist) |
|
template<typename T , class Compare > |
constexpr T | olb::util::min (std::initializer_list< T > ilist, Compare comp) |
|
template<> |
float | olb::util::min< float > (float x, float y) any_platform |
|
template<> |
double | olb::util::min< double > (double x, double y) any_platform |
|