Chombo + EB + MF  3.2
Macros | Functions
GenericArithmeticI.H File Reference
#include <functional>
#include "BaseNamespaceHeader.H"
#include "BaseNamespaceFooter.H"
Include dependency graph for GenericArithmeticI.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _GENERICARITHMETICI_H_
 

Functions

template<class C >
C operatorOp (const C &c1, const C &c2, C &(C::*op)(const C &))
 
template<class C >
C operatorOpScalar (const C &c1, const typename C::scalar_type &x, C &(C::*op)(const typename C::scalar_type &))
 
template<class C >
C::self_type operator+ (const C &c1, const C &c2)
 
template<class C >
C::self_type operator- (const C &c1, const C &c2)
 
template<class C >
C::self_type operator* (const C &c1, const C &c2)
 
template<class C >
C::self_type operator/ (const C &c1, const C &c2)
 
template<class C >
C::self_type operator+ (const C &c, const typename C::scalar_type &x)
 
template<class C >
C::self_type operator+ (const typename C::scalar_type &x, const C &c)
 
template<class C >
C::self_type operator* (const C &c, const typename C::scalar_type &x)
 
template<class C >
C::self_type operator* (const typename C::scalar_type &x, const C &c)
 
template<class C >
C::self_type operator- (const C &c, const typename C::scalar_type &x)
 
template<class C >
C::self_type operator- (const typename C::scalar_type &x, const C &c)
 
template<class C >
C::self_type operator/ (const C &c, const typename C::scalar_type &x)
 
template<class C >
C::self_type operator/ (const typename C::scalar_type &x, const C &c)
 

Macro Definition Documentation

◆ _GENERICARITHMETICI_H_

#define _GENERICARITHMETICI_H_

Function Documentation

◆ operatorOp()

template<class C >
C operatorOp ( const C c1,
const C c2,
C &(C::*)(const C &)  op 
)

References C.

◆ operatorOpScalar()

template<class C >
C operatorOpScalar ( const C c1,
const typename C::scalar_type &  x,
C &(C::*)(const typename C::scalar_type &)  op 
)

References C.

◆ operator+() [1/3]

template<class C >
C::self_type operator+ ( const C c1,
const C c2 
)

Referenced by Box::copy().

◆ operator-() [1/3]

template<class C >
C::self_type operator- ( const C c1,
const C c2 
)

Referenced by Box::copy().

◆ operator*() [1/3]

template<class C >
C::self_type operator* ( const C c1,
const C c2 
)

◆ operator/() [1/3]

template<class C >
C::self_type operator/ ( const C c1,
const C c2 
)

Referenced by IntVect::copy().

◆ operator+() [2/3]

template<class C >
C::self_type operator+ ( const C c,
const typename C::scalar_type &  x 
)

◆ operator+() [3/3]

template<class C >
C::self_type operator+ ( const typename C::scalar_type &  x,
const C c 
)

◆ operator*() [2/3]

template<class C >
C::self_type operator* ( const C c,
const typename C::scalar_type &  x 
)

◆ operator*() [3/3]

template<class C >
C::self_type operator* ( const typename C::scalar_type &  x,
const C c 
)

◆ operator-() [2/3]

template<class C >
C::self_type operator- ( const C c,
const typename C::scalar_type &  x 
)

◆ operator-() [3/3]

template<class C >
C::self_type operator- ( const typename C::scalar_type &  x,
const C c 
)

References C.

◆ operator/() [2/3]

template<class C >
C::self_type operator/ ( const C c,
const typename C::scalar_type &  x 
)

◆ operator/() [3/3]

template<class C >
C::self_type operator/ ( const typename C::scalar_type &  x,
const C c 
)

References C.