Alamo
Macros | Functions
ExtClassOperators.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define X(name)   ret.name = b.name*alpha;
 
#define X(name)   ret.name = a.name + b.name;
 
#define X(name)   ret.name = a.name - b.name;
 
#define X(name)   if (!(a.name == b.name)) ret = false;
 

Functions

AMREX_FORCE_INLINE OP_CLASS operator* (const Set::Scalar alpha, const OP_CLASS b)
 
AMREX_FORCE_INLINE OP_CLASS operator+ (const OP_CLASS a, const OP_CLASS b)
 
AMREX_FORCE_INLINE OP_CLASS operator- (const OP_CLASS a, const OP_CLASS b)
 
AMREX_FORCE_INLINE bool operator== (const OP_CLASS a, const OP_CLASS b)
 

Macro Definition Documentation

◆ X [1/4]

#define X (   name)    ret.name = b.name*alpha;

◆ X [2/4]

#define X (   name)    ret.name = a.name + b.name;

◆ X [3/4]

#define X (   name)    ret.name = a.name - b.name;

◆ X [4/4]

#define X (   name)    if (!(a.name == b.name)) ret = false;

Function Documentation

◆ operator*()

AMREX_FORCE_INLINE OP_CLASS operator* ( const Set::Scalar  alpha,
const OP_CLASS  b 
)

Definition at line 2 of file ExtClassOperators.H.

◆ operator+()

AMREX_FORCE_INLINE OP_CLASS operator+ ( const OP_CLASS  a,
const OP_CLASS  b 
)

Definition at line 13 of file ExtClassOperators.H.

◆ operator-()

AMREX_FORCE_INLINE OP_CLASS operator- ( const OP_CLASS  a,
const OP_CLASS  b 
)

Definition at line 24 of file ExtClassOperators.H.

◆ operator==()

AMREX_FORCE_INLINE bool operator== ( const OP_CLASS  a,
const OP_CLASS  b 
)

Definition at line 35 of file ExtClassOperators.H.