Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

namespace  DynamicVecTest
 
namespace  DynamicStridedVecTest
 
namespace  StaticVecTest
 
namespace  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_spaceDynamicVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleDynamicVecTest::fad_type
 
typedef Sacado::MP::Vector< storage_typeDynamicVecTest::vec_type
 
typedef int DynamicStridedVecTest::Ordinal
 
typedef Kokkos::DefaultExecutionSpace DynamicStridedVecTest::execution_space
 
typedef Stokhos::DynamicStridedStorage< int, double, execution_spaceDynamicStridedVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleDynamicStridedVecTest::fad_type
 
typedef Sacado::MP::Vector< storage_typeDynamicStridedVecTest::vec_type
 
typedef int StaticVecTest::Ordinal
 
typedef Kokkos::DefaultExecutionSpace StaticVecTest::execution_space
 
typedef Stokhos::StaticStorage< int, double, 8, execution_spaceStaticVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleStaticVecTest::fad_type
 
typedef Sacado::MP::Vector< storage_typeStaticVecTest::vec_type
 
typedef int StaticFixedVecTest::Ordinal
 
typedef Kokkos::DefaultExecutionSpace StaticFixedVecTest::execution_space
 
typedef Stokhos::StaticFixedStorage< int, double, 8, execution_spaceStaticFixedVecTest::storage_type
 
typedef Sacado::Fad::DFad< doubleStaticFixedVecTest::fad_type
 
typedef Sacado::MP::Vector< storage_typeStaticFixedVecTest::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

◆ VEC_COMM_TESTS

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

Definition at line 144 of file Stokhos_SacadoMPVectorCommTests.cpp.

Function Documentation

◆ checkVecArrays()

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.

◆ checkResultOnAllProcs()

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.

◆ main()

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

Definition at line 723 of file Stokhos_SacadoMPVectorCommTests.cpp.