Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_Functional.H File Reference

Function object (functor) types for use with reductions and transforms. More...

#include <AMReX_Config.H>
#include <AMReX_GpuQualifiers.H>

Go to the source code of this file.

Classes

struct  amrex::Plus< T >
 Function object that returns the sum of two values. More...
 
struct  amrex::Minus< T >
 Function object that returns the difference of two values. More...
 
struct  amrex::Minimum< T >
 Function object that returns the smaller of two values. More...
 
struct  amrex::Maximum< T >
 Function object that returns the larger of two values. More...
 
struct  amrex::LogicalAnd< T >
 Function object that returns the logical AND of two values. More...
 
struct  amrex::LogicalOr< T >
 Function object that returns the logical OR of two values. More...
 
struct  amrex::Multiplies< T >
 Function object that returns the product of two values. More...
 
struct  amrex::Divides< T >
 Function object that returns the quotient of two values. More...
 

Namespaces

namespace  amrex
 

Detailed Description

Function object (functor) types for use with reductions and transforms.