Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Mask< scalar > Class Template Reference

#include <Stokhos_MP_Vector_MaskTraits.hpp>

Inheritance diagram for Mask< scalar >:
Inheritance graph
[legend]

Public Member Functions

KOKKOS_INLINE_FUNCTION Mask ()
 
KOKKOS_INLINE_FUNCTION Mask (bool a)
 
KOKKOS_INLINE_FUNCTION Mask (const Mask &a)
 
KOKKOS_INLINE_FUNCTION std::size_t getSize () const
 
KOKKOS_INLINE_FUNCTION bool operator> (double v)
 
KOKKOS_INLINE_FUNCTION bool operator< (double v)
 
KOKKOS_INLINE_FUNCTION bool operator>= (double v)
 
KOKKOS_INLINE_FUNCTION bool operator<= (double v)
 
KOKKOS_INLINE_FUNCTION bool operator== (double v)
 
KOKKOS_INLINE_FUNCTION bool operator!= (double v)
 
KOKKOS_INLINE_FUNCTION bool operator== (const Mask< scalar > &m2)
 
KOKKOS_INLINE_FUNCTION bool operator!= (const Mask< scalar > &m2)
 
KOKKOS_INLINE_FUNCTION Mask
< scalar > 
operator&& (const Mask< scalar > &m2)
 
KOKKOS_INLINE_FUNCTION Mask
< scalar > 
operator|| (const Mask< scalar > &m2)
 
KOKKOS_INLINE_FUNCTION Mask
< scalar > 
operator&& (bool m2)
 
KOKKOS_INLINE_FUNCTION Mask
< scalar > 
operator|| (bool m2)
 
KOKKOS_INLINE_FUNCTION Mask
< scalar > 
operator+ (const Mask< scalar > &m2)
 
KOKKOS_INLINE_FUNCTION Mask
< scalar > 
operator- (const Mask< scalar > &m2)
 
KOKKOS_INLINE_FUNCTION scalar operator* (const scalar &v)
 
KOKKOS_INLINE_FUNCTION bool get (int i) const
 
KOKKOS_INLINE_FUNCTION void set (int i, bool b)
 
KOKKOS_INLINE_FUNCTION Mask
< scalar > 
operator! ()
 
KOKKOS_INLINE_FUNCTION operator bool () const
 
KOKKOS_INLINE_FUNCTION operator double () const
 

Static Public Attributes

static const std::size_t size = EnsembleTraits_m<scalar>::size
 

Private Attributes

bool data [size]
 

Detailed Description

template<typename scalar>
class Mask< scalar >

Definition at line 184 of file Stokhos_MP_Vector_MaskTraits.hpp.

Constructor & Destructor Documentation

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask< scalar >::Mask ( )
inline

Definition at line 516 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask< scalar >::Mask ( bool  a)
inline

Definition at line 521 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask< scalar >::Mask ( const Mask< scalar > &  a)
inline

Definition at line 526 of file Stokhos_MP_Vector_MaskTraits.hpp.

Member Function Documentation

template<typename scalar>
KOKKOS_INLINE_FUNCTION std::size_t Mask< scalar >::getSize ( ) const
inline

Definition at line 531 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator> ( double  v)
inline

Definition at line 533 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator< ( double  v)
inline

Definition at line 542 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator>= ( double  v)
inline

Definition at line 551 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator<= ( double  v)
inline

Definition at line 560 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator== ( double  v)
inline

Definition at line 569 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator!= ( double  v)
inline

Definition at line 578 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator== ( const Mask< scalar > &  m2)
inline

Definition at line 587 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::operator!= ( const Mask< scalar > &  m2)
inline

Definition at line 596 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask<scalar> Mask< scalar >::operator&& ( const Mask< scalar > &  m2)
inline

Definition at line 601 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask<scalar> Mask< scalar >::operator|| ( const Mask< scalar > &  m2)
inline

Definition at line 609 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask<scalar> Mask< scalar >::operator&& ( bool  m2)
inline

Definition at line 618 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask<scalar> Mask< scalar >::operator|| ( bool  m2)
inline

Definition at line 626 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask<scalar> Mask< scalar >::operator+ ( const Mask< scalar > &  m2)
inline

Definition at line 635 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask<scalar> Mask< scalar >::operator- ( const Mask< scalar > &  m2)
inline

Definition at line 644 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION scalar Mask< scalar >::operator* ( const scalar &  v)
inline

Definition at line 653 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION bool Mask< scalar >::get ( int  i) const
inline

Definition at line 663 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION void Mask< scalar >::set ( int  i,
bool  b 
)
inline

Definition at line 668 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask<scalar> Mask< scalar >::operator! ( )
inline

Definition at line 673 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask< scalar >::operator bool ( ) const
inline

Definition at line 681 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
KOKKOS_INLINE_FUNCTION Mask< scalar >::operator double ( ) const
inline

Definition at line 686 of file Stokhos_MP_Vector_MaskTraits.hpp.

Member Data Documentation

template<typename scalar>
const std::size_t Mask< scalar >::size = EnsembleTraits_m<scalar>::size
static

Definition at line 510 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::data[size]
private

Definition at line 513 of file Stokhos_MP_Vector_MaskTraits.hpp.


The documentation for this class was generated from the following file: