|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
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_OPEN
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
T min(const T &t, const MPI_Comm &mpi_communicator)
#define DEAL_II_NAMESPACE_CLOSE
T max(const T &t, const MPI_Comm &mpi_communicator)