Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Namespaces | Macros | Functions
Sacado_MP_Vector_SFS_ops.hpp File Reference
#include "Sacado_cmath.hpp"
#include <ostream>
Include dependency graph for Sacado_MP_Vector_SFS_ops.hpp:

Go to the source code of this file.

Namespaces

 Sacado
 
 Sacado::MP
 

Macros

#define MP_UNARYOP_MACRO(OPNAME, OPER)
 
#define MP_BINARYOP_MACRO(OPNAME, OPER)
 
#define MP_BINARYOP_MACRO(OPNAME, OPER)
 
#define MP_RELOP_MACRO(OP)
 
#define PCE_BOOL_MACRO(OP)
 

Functions

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION bool Sacado::MP::operator! (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION bool Sacado::MP::toBool (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &x)
 

Macro Definition Documentation

◆ MP_UNARYOP_MACRO

#define MP_UNARYOP_MACRO (   OPNAME,
  OPER 
)
Value:
namespace Sacado { \
namespace MP { \
\
template <typename O, typename T, int N, typename D> \
KOKKOS_INLINE_FUNCTION \
Vector< Stokhos::StaticFixedStorage<O,T,N,D> > \
OPNAME (const Vector< Stokhos::StaticFixedStorage<O,T,N,D> >& a) \
{ \
Vector< Stokhos::StaticFixedStorage<O,T,N,D> > c; \
for (O i=0; i<a.size(); ++i) \
c.fastAccessCoeff(i) = OPER(a.fastAccessCoeff(i)); \
return c; \
} \
\
template <typename O, typename T, int N, typename D> \
KOKKOS_INLINE_FUNCTION \
Vector< Stokhos::StaticFixedStorage<O,T,N,D> > \
OPNAME (const volatile Vector< Stokhos::StaticFixedStorage<O,T,N,D> >& a) \
{ \
Vector< Stokhos::StaticFixedStorage<O,T,N,D> > c; \
for (O i=0; i<a.size(); ++i) \
c.fastAccessCoeff(i) = OPER(a.fastAccessCoeff(i)); \
return c; \
} \
\
} \
}
Statically allocated storage class.

Definition at line 49 of file Sacado_MP_Vector_SFS_ops.hpp.

◆ MP_BINARYOP_MACRO [1/2]

#define MP_BINARYOP_MACRO (   OPNAME,
  OPER 
)

Definition at line 219 of file Sacado_MP_Vector_SFS_ops.hpp.

◆ MP_BINARYOP_MACRO [2/2]

#define MP_BINARYOP_MACRO (   OPNAME,
  OPER 
)

Definition at line 219 of file Sacado_MP_Vector_SFS_ops.hpp.

◆ MP_RELOP_MACRO

#define MP_RELOP_MACRO (   OP)

Definition at line 343 of file Sacado_MP_Vector_SFS_ops.hpp.

◆ PCE_BOOL_MACRO

#define PCE_BOOL_MACRO (   OP)

Definition at line 423 of file Sacado_MP_Vector_SFS_ops.hpp.