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 Maskoperator= (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 152 of file Stokhos_MP_Vector_MaskTraits.hpp.

Constructor & Destructor Documentation

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

Definition at line 484 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 489 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 494 of file Stokhos_MP_Vector_MaskTraits.hpp.

Member Function Documentation

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

Definition at line 499 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 505 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 507 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 516 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 525 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 534 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 543 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 552 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 561 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 570 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 575 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 583 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 592 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 600 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- ( const Mask< scalar > &  m2)
inline

Definition at line 618 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 627 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 637 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 642 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 647 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 655 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 660 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 478 of file Stokhos_MP_Vector_MaskTraits.hpp.

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

Definition at line 481 of file Stokhos_MP_Vector_MaskTraits.hpp.


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