1#ifndef AMREX_FUNCTIONAL_H_
2#define AMREX_FUNCTIONAL_H_
3#include <AMReX_Config.H>
25 constexpr T
operator() (
const T & lhs,
const T & rhs)
const
39 constexpr T
operator() (
const T & lhs,
const T & rhs)
const
53 constexpr T
operator() (
const T & lhs,
const T & rhs)
const
55 return (lhs < rhs) ? lhs : rhs;
67 constexpr T
operator() (
const T & lhs,
const T & rhs)
const
69 return (lhs > rhs) ? lhs : rhs;
81 constexpr T
operator() (
const T & lhs,
const T & rhs)
const
95 constexpr T
operator() (
const T & lhs,
const T & rhs)
const
Definition AMReX_Amr.cpp:50
Function object that returns the quotient of two values.
Definition AMReX_Functional.H:121
constexpr T operator()(const T &lhs, const T &rhs) const
Return lhs / rhs.
Definition AMReX_Functional.H:123
Function object that returns the logical AND of two values.
Definition AMReX_Functional.H:79
constexpr T operator()(const T &lhs, const T &rhs) const
Return lhs && rhs.
Definition AMReX_Functional.H:81
Function object that returns the logical OR of two values.
Definition AMReX_Functional.H:93
constexpr T operator()(const T &lhs, const T &rhs) const
Return lhs || rhs.
Definition AMReX_Functional.H:95
Function object that returns the larger of two values.
Definition AMReX_Functional.H:65
constexpr T operator()(const T &lhs, const T &rhs) const
Return the larger of lhs and rhs.
Definition AMReX_Functional.H:67
Function object that returns the smaller of two values.
Definition AMReX_Functional.H:51
constexpr T operator()(const T &lhs, const T &rhs) const
Return the smaller of lhs and rhs.
Definition AMReX_Functional.H:53
Function object that returns the difference of two values.
Definition AMReX_Functional.H:37
constexpr T operator()(const T &lhs, const T &rhs) const
Return lhs - rhs.
Definition AMReX_Functional.H:39
Function object that returns the product of two values.
Definition AMReX_Functional.H:107
constexpr T operator()(const T &lhs, const T &rhs) const
Return lhs * rhs.
Definition AMReX_Functional.H:109
Function object that returns the sum of two values.
Definition AMReX_Functional.H:23
constexpr T operator()(const T &lhs, const T &rhs) const
Return lhs + rhs.
Definition AMReX_Functional.H:25