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 | Typedefs | Functions | Variables
Stokhos_SacadoMPVectorCommTests.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_UnitTestRepository.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_TestingHelpers.hpp"
#include "Teuchos_CommHelpers.hpp"
#include "Teuchos_DefaultComm.hpp"
#include "Teuchos_Array.hpp"
#include "Teuchos_Comm.hpp"
#include "Sacado.hpp"
#include "Stokhos_Sacado.hpp"
#include "Stokhos_Sacado_Kokkos_MP_Vector.hpp"
#include "Sacado_Fad_DFad.hpp"
#include "Sacado_mpl_apply.hpp"
#include "Sacado_Random.hpp"
#include <Kokkos_Core.hpp>
Include dependency graph for Stokhos_SacadoMPVectorCommTests.cpp:

Go to the source code of this file.

Classes

struct  UnitTestSetup< VecType, FadType >
 

Namespaces

 DynamicVecTest
 
 DynamicStridedVecTest
 
 StaticVecTest
 
 StaticFixedVecTest
 

Macros

#define VEC_COMM_TESTS(VecType, FadType, Vec, FAD)
 

Typedefs

typedef int DynamicVecTest::Ordinal
 
typedef
Kokkos::DefaultExecutionSpace 
DynamicVecTest::execution_space
 
typedef
Stokhos::DynamicStorage< int,
double, execution_space
DynamicVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleDynamicVecTest::fad_type
 
typedef Sacado::MP::Vector
< storage_type
DynamicVecTest::vec_type
 
typedef int DynamicStridedVecTest::Ordinal
 
typedef
Kokkos::DefaultExecutionSpace 
DynamicStridedVecTest::execution_space
 
typedef
Stokhos::DynamicStridedStorage
< int, double, execution_space
DynamicStridedVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleDynamicStridedVecTest::fad_type
 
typedef Sacado::MP::Vector
< storage_type
DynamicStridedVecTest::vec_type
 
typedef int StaticVecTest::Ordinal
 
typedef
Kokkos::DefaultExecutionSpace 
StaticVecTest::execution_space
 
typedef Stokhos::StaticStorage
< int, double,
8, execution_space
StaticVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleStaticVecTest::fad_type
 
typedef Sacado::MP::Vector
< storage_type
StaticVecTest::vec_type
 
typedef int StaticFixedVecTest::Ordinal
 
typedef
Kokkos::DefaultExecutionSpace 
StaticFixedVecTest::execution_space
 
typedef
Stokhos::StaticFixedStorage
< int, double,
8, execution_space
StaticFixedVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleStaticFixedVecTest::fad_type
 
typedef Sacado::MP::Vector
< storage_type
StaticFixedVecTest::vec_type
 

Functions

template<typename VecType >
bool checkVecArrays (const Teuchos::Array< VecType > &x, const Teuchos::Array< VecType > &x2, const std::string &tag, Teuchos::FancyOStream &out)
 
template<typename Ordinal >
bool checkResultOnAllProcs (const Teuchos::Comm< Ordinal > &comm, Teuchos::FancyOStream &out, const bool result)
 
int main (int argc, char *argv[])
 

Variables

Sacado::Random< doubleDynamicVecTest::rnd
 
UnitTestSetup< vec_type, fad_typeDynamicVecTest::setup
 
Sacado::Random< doubleDynamicStridedVecTest::rnd
 
UnitTestSetup< vec_type, fad_typeDynamicStridedVecTest::setup
 
Sacado::Random< doubleStaticVecTest::rnd
 
UnitTestSetup< vec_type, fad_typeStaticVecTest::setup
 
Sacado::Random< doubleStaticFixedVecTest::rnd
 
UnitTestSetup< vec_type, fad_typeStaticFixedVecTest::setup
 

Macro Definition Documentation

#define VEC_COMM_TESTS (   VecType,
  FadType,
  Vec,
  FAD 
)

Definition at line 144 of file Stokhos_SacadoMPVectorCommTests.cpp.

Function Documentation

template<typename VecType >
bool checkVecArrays ( const Teuchos::Array< VecType > &  x,
const Teuchos::Array< VecType > &  x2,
const std::string &  tag,
Teuchos::FancyOStream out 
)

Definition at line 93 of file Stokhos_SacadoMPVectorCommTests.cpp.

template<typename Ordinal >
bool checkResultOnAllProcs ( const Teuchos::Comm< Ordinal > &  comm,
Teuchos::FancyOStream out,
const bool  result 
)

Definition at line 125 of file Stokhos_SacadoMPVectorCommTests.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 723 of file Stokhos_SacadoMPVectorCommTests.cpp.