Ice Sheet System Model
4.18
Code documentation
src
c
shared
Bamg
extrema.h
Go to the documentation of this file.
1
#ifndef _EXTREMA_H_
2
#define _EXTREMA_H_
3
4
namespace
bamg
{
5
6
template
<
class
T>
inline
T
Min
(
const
T &a,
const
T &b){
return
a < b ? a : b;}
7
template
<
class
T>
inline
T
Max
(
const
T &a,
const
T & b){
return
a > b ? a : b;}
8
template
<
class
T>
inline
T
Max3
(
const
T &a,
const
T & b,
const
T & c){
return
Max
(
Max
(a,b),c);}
9
template
<
class
T>
inline
T
Min3
(
const
T &a,
const
T & b,
const
T & c){
return
Min
(
Min
(a,b),c);}
10
11
}
12
13
#endif
bamg
Definition:
AdjacentTriangle.cpp:9
bamg::Max3
T Max3(const T &a, const T &b, const T &c)
Definition:
extrema.h:8
bamg::Max
T Max(const T &a, const T &b)
Definition:
extrema.h:7
bamg::Min
T Min(const T &a, const T &b)
Definition:
extrema.h:6
bamg::Min3
T Min3(const T &a, const T &b, const T &c)
Definition:
extrema.h:9
Generated on Thu Jul 2 2020 08:09:19 for Ice Sheet System Model by
1.8.19