Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
Stokhos_MP_Vector_MaskTraits.hpp File Reference
#include "Stokhos_Sacado_Kokkos_MP_Vector.hpp"
#include <iostream>
#include <cmath>
#include "Stokhos_MP_Vector_MaskTraits_vector_relops_tmpl.hpp"
#include "Stokhos_MP_Vector_MaskTraits_expr_relops_tmpl.hpp"
Include dependency graph for Stokhos_MP_Vector_MaskTraits.hpp:

Go to the source code of this file.

Classes

struct  EnsembleTraits_m< T >
 
struct  EnsembleTraits_m< Sacado::MP::Vector< S > >
 
class  MaskedAssign< scalar >
 
class  Mask< scalar >
 
class  MaskedAssign< Sacado::MP::Vector< S > >
 
class  MaskedAssign< Sacado::MP::Vector< Stokhos::DynamicStorage< ordinal_t, value_t, device_t > > >
 
class  Mask< scalar >
 

Namespaces

 Sacado
 
 Sacado::MP
 
 MaskLogic
 

Macros

#define OPNAME   ==
 
#define OPNAME   !=
 
#define OPNAME   >
 
#define OPNAME   >=
 
#define OPNAME   <
 
#define OPNAME   <=
 
#define OPNAME   ==
 
#define OPNAME   !=
 
#define OPNAME   <
 
#define OPNAME   >
 
#define OPNAME   <=
 
#define OPNAME   >=
 
#define OPNAME   <<=
 
#define OPNAME   >>=
 
#define OPNAME   &
 
#define OPNAME   |
 

Functions

template<typename scalar >
std::ostream & operator<< (std::ostream &os, const Mask< scalar > &m)
 
template<typename S >
KOKKOS_INLINE_FUNCTION
Sacado::MP::Vector< S > 
operator* (const Sacado::MP::Vector< S > &a1, const Mask< Sacado::MP::Vector< S >> &m)
 
template<typename S >
KOKKOS_INLINE_FUNCTION
Sacado::MP::Vector< S > 
operator* (const typename S::value_type &a1, const Mask< Sacado::MP::Vector< S >> &m)
 
template<typename S >
KOKKOS_INLINE_FUNCTION
Sacado::MP::Vector< S > 
operator* (const Mask< Sacado::MP::Vector< S >> &m, const typename S::value_type &a1)
 
template<typename scalar >
KOKKOS_INLINE_FUNCTION
MaskedAssign< scalar > 
mask_assign (bool b, scalar *s)
 
template<typename scalar >
KOKKOS_INLINE_FUNCTION
MaskedAssign< scalar > 
mask_assign (Mask< scalar > m, scalar *s)
 
template<typename scalar >
KOKKOS_INLINE_FUNCTION
MaskedAssign< scalar > 
mask_assign (bool b, scalar &s)
 
template<typename scalar >
KOKKOS_INLINE_FUNCTION
MaskedAssign< scalar > 
mask_assign (Mask< scalar > m, scalar &s)
 
template<typename S >
KOKKOS_INLINE_FUNCTION Vector< S > Sacado::MP::copysign (const Vector< S > &a1, const Vector< S > &a2)
 
template<typename S >
KOKKOS_INLINE_FUNCTION Mask
< Sacado::MP::Vector< S > > 
signbit_v (const Sacado::MP::Vector< S > &a1)
 
template<typename T >
KOKKOS_INLINE_FUNCTION bool MaskLogic::OR (Mask< T > m)
 
KOKKOS_INLINE_FUNCTION bool MaskLogic::OR (bool m)
 
template<typename T >
KOKKOS_INLINE_FUNCTION bool MaskLogic::XOR (Mask< T > m)
 
KOKKOS_INLINE_FUNCTION bool MaskLogic::XOR (bool m)
 
template<typename T >
KOKKOS_INLINE_FUNCTION bool MaskLogic::AND (Mask< T > m)
 
KOKKOS_INLINE_FUNCTION bool MaskLogic::AND (bool m)
 

Macro Definition Documentation

#define OPNAME   ==

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   !=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   >

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   >=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   <

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   <=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   ==

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   !=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   <

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   >

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   <=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   >=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   <<=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   >>=

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   &

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

#define OPNAME   |

Definition at line 872 of file Stokhos_MP_Vector_MaskTraits.hpp.

Function Documentation

template<typename scalar >
std::ostream& operator<< ( std::ostream &  os,
const Mask< scalar > &  m 
)

Definition at line 670 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename S >
KOKKOS_INLINE_FUNCTION Sacado::MP::Vector<S> operator* ( const Sacado::MP::Vector< S > &  a1,
const Mask< Sacado::MP::Vector< S >> &  m 
)

Definition at line 677 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename S >
KOKKOS_INLINE_FUNCTION Sacado::MP::Vector<S> operator* ( const typename S::value_type &  a1,
const Mask< Sacado::MP::Vector< S >> &  m 
)

Definition at line 696 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename S >
KOKKOS_INLINE_FUNCTION Sacado::MP::Vector<S> operator* ( const Mask< Sacado::MP::Vector< S >> &  m,
const typename S::value_type &  a1 
)

Definition at line 715 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar >
KOKKOS_INLINE_FUNCTION MaskedAssign<scalar> mask_assign ( bool  b,
scalar *  s 
)

Definition at line 734 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar >
KOKKOS_INLINE_FUNCTION MaskedAssign<scalar> mask_assign ( Mask< scalar >  m,
scalar *  s 
)

Definition at line 741 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar >
KOKKOS_INLINE_FUNCTION MaskedAssign<scalar> mask_assign ( bool  b,
scalar &  s 
)

Definition at line 747 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar >
KOKKOS_INLINE_FUNCTION MaskedAssign<scalar> mask_assign ( Mask< scalar >  m,
scalar &  s 
)

Definition at line 754 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename S >
KOKKOS_INLINE_FUNCTION Mask<Sacado::MP::Vector<S> > signbit_v ( const Sacado::MP::Vector< S > &  a1)

Definition at line 788 of file Stokhos_MP_Vector_MaskTraits.hpp.