OpenLB 1.7
Loading...
Searching...
No Matches
Namespaces | Functions
oalgorithm.h File Reference
#include <algorithm>
#include "core/meta.h"
+ Include dependency graph for oalgorithm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::util
 

Functions

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