#include "Teuchos_TestingHelpers.hpp"
#include "Teuchos_UnitTestHelpers.hpp"
#include "Stokhos_UnitTestHelpers.hpp"
#include "Kokkos_View_Fad_Fwd.hpp"
#include "Stokhos_Sacado_Kokkos_MP_Vector.hpp"
#include "Stokhos_Ensemble_Sizes.hpp"
#include "Sacado.hpp"
#include "Sacado_Fad_MP_Vector.hpp"
#include "Kokkos_Core.hpp"
 
Go to the source code of this file.
 | 
| template<typename scalar , typename ordinal >  | 
| scalar  | generate_vector_coefficient (const ordinal nFEM, const ordinal nStoch, const ordinal iColFEM, const ordinal iStoch) | 
|   | 
| template<typename ViewType >  | 
| bool  | checkVectorView (const ViewType &v, Teuchos::FancyOStream &out) | 
|   | 
| template<typename ViewType >  | 
| bool  | checkConstantFadVectorView (const ViewType &view, const typename ViewType::value_type &v, Teuchos::FancyOStream &out) | 
|   | 
| template<typename ViewType >  | 
| bool  | checkConstantFadVectorView2 (const ViewType &view, const typename ViewType::value_type &v, Teuchos::FancyOStream &out) | 
|   | 
|   | TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_Fad_MP, Size, Scalar, Layout) | 
|   | 
|   | TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_Fad_MP, DeepCopy_ConstantScalar, Scalar, Layout) | 
|   | 
|   | TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_Fad_MP, Rank6, Scalar, Layout) | 
|   | 
      
        
          | #define VIEW_FAD_MP_VECTOR_TESTS_SCALAR_LAYOUT | 
          ( | 
            | 
          SCALAR,  | 
        
        
           | 
           | 
            | 
          LAYOUT  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:
    Kokkos_View_Fad_MP, Size, SCALAR, LAYOUT )                          
\ 
    Kokkos_View_Fad_MP, DeepCopy_ConstantScalar, SCALAR, LAYOUT )       
\ 
    Kokkos_View_Fad_MP, Rank6, SCALAR, LAYOUT )
TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(Tpetra_CrsMatrix, MatVec, double, Node) TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(Tpetra_CrsMatrix
 
 
Definition at line 236 of file Stokhos_KokkosViewFadMPVectorUnitTest.hpp.
 
 
      
        
          | #define VIEW_FAD_MP_VECTOR_TESTS_SCALAR | 
          ( | 
            | 
          SCALAR | ) | 
           | 
        
      
 
 
      
        
          | #define VIEW_FAD_MP_VECTOR_TESTS_DEVICE | 
          ( | 
            | 
          DEVICE | ) | 
           | 
        
      
 
 
template<typename scalar , typename ordinal > 
  
  
      
        
          | scalar generate_vector_coefficient  | 
          ( | 
          const ordinal  | 
          nFEM,  | 
         
        
           | 
           | 
          const ordinal  | 
          nStoch,  | 
         
        
           | 
           | 
          const ordinal  | 
          iColFEM,  | 
         
        
           | 
           | 
          const ordinal  | 
          iStoch  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
template<typename ViewType > 
      
 
 
template<typename ViewType > 
      
        
          | bool checkConstantFadVectorView  | 
          ( | 
          const ViewType &  | 
          view,  | 
        
        
           | 
           | 
          const typename ViewType::value_type &  | 
          v,  | 
        
        
           | 
           | 
          Teuchos::FancyOStream &  | 
          out  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
template<typename ViewType > 
      
        
          | bool checkConstantFadVectorView2  | 
          ( | 
          const ViewType &  | 
          view,  | 
        
        
           | 
           | 
          const typename ViewType::value_type &  | 
          v,  | 
        
        
           | 
           | 
          Teuchos::FancyOStream &  | 
          out  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL  | 
          ( | 
          Kokkos_View_Fad_MP  | 
          ,  | 
        
        
           | 
           | 
          Size  | 
          ,  | 
        
        
           | 
           | 
          Scalar  | 
          ,  | 
        
        
           | 
           | 
          Layout  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL  | 
          ( | 
          Kokkos_View_Fad_MP  | 
          ,  | 
        
        
           | 
           | 
          DeepCopy_ConstantScalar  | 
          ,  | 
        
        
           | 
           | 
          Scalar  | 
          ,  | 
        
        
           | 
           | 
          Layout  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL  | 
          ( | 
          Kokkos_View_Fad_MP  | 
          ,  | 
        
        
           | 
           | 
          Rank6  | 
          ,  | 
        
        
           | 
           | 
          Scalar  | 
          ,  | 
        
        
           | 
           | 
          Layout  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | const int global_num_rows = 11 | 
        
      
 
 
      
        
          | const int global_ensemble_size = STOKHOS_DEFAULT_ENSEMBLE_SIZE | 
        
      
 
 
      
        
          | const int global_fad_size = 5 |