Alamo
Macros | Functions
InClassOperators.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)   name += rhs.name;
 
#define X(name)   ret.name = name*alpha;
 

Functions

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

Macro Definition Documentation

◆ X [1/2]

#define X (   name)    name += rhs.name;

◆ X [2/2]

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

Function Documentation

◆ operator*() [1/2]

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

Definition at line 11 of file InClassOperators.H.

◆ operator*() [2/2]

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

Definition at line 2 of file ExtClassOperators.H.

◆ operator+()

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

Definition at line 13 of file ExtClassOperators.H.

◆ operator+=()

AMREX_FORCE_INLINE void operator+= ( const OP_CLASS rhs)

Definition at line 2 of file InClassOperators.H.

◆ operator-()

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

Definition at line 24 of file ExtClassOperators.H.

◆ operator==()

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

Definition at line 35 of file ExtClassOperators.H.