15 #ifndef dealii_cxx14_algorithm_h 16 #define dealii_cxx14_algorithm_h 20 #ifdef DEAL_II_WITH_CXX14 28 #ifdef DEAL_II_WITH_CXX14 36 max(
const T &a,
const T &
b)
38 return (a < b) ?
b : a;
41 template <
class T,
class Compare>
43 max(
const T &a,
const T &b, Compare comp)
45 return (comp(a, b)) ?
b : a;
50 min(
const T &a,
const T &b)
52 return (b < a) ?
b : a;
55 template <
class T,
class Compare>
57 min(
const T &a,
const T &b, Compare comp)
59 return (comp(b, a)) ?
b : a;
67 #endif // dealii_cxx14_algorithm_h
#define DEAL_II_NAMESPACE_CLOSE
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
#define DEAL_II_NAMESPACE_OPEN
T min(const T &t, const MPI_Comm &mpi_communicator)
T max(const T &t, const MPI_Comm &mpi_communicator)