Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
Stokhos_SacadoUQPCECommTests.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.hpp"
#include "Stokhos_Sacado_Kokkos_UQ_PCE.hpp"
#include "Sacado_Fad_DFad.hpp"
#include "Sacado_mpl_apply.hpp"
#include "Sacado_Random.hpp"
Include dependency graph for Stokhos_SacadoUQPCECommTests.cpp:

Go to the source code of this file.

Classes

struct  UnitTestSetup< VecType, FadType >
 

Typedefs

typedef int Ordinal
 
typedef Sacado::Fad::DFad< doubleFadType
 
typedef
Kokkos::DefaultExecutionSpace 
execution_space
 
typedef
Stokhos::DynamicStorage< int,
double, execution_space
storage_type
 
typedef Sacado::UQ::PCE
< storage_type
PCEType
 

Functions

template<typename PCEType >
bool checkPCEArrays (const Teuchos::Array< PCEType > &x, const Teuchos::Array< PCEType > &x2, const std::string &tag, Teuchos::FancyOStream &out)
 
template<typename Ordinal >
bool checkResultOnAllProcs (const Teuchos::Comm< Ordinal > &comm, Teuchos::FancyOStream &out, const bool result)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_Broadcast)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_GatherAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_SumAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_MaxAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_MinAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_ScanSum)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_ScanMax)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_ScanMin)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, PCE_SendReceive)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_Broadcast)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_GatherAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_SumAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_MaxAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_MinAll)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_ScanSum)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_ScanMax)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_ScanMin)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Comm, FadPCE_SendReceive)
 

Variables

Sacado::Random< doublernd
 

Typedef Documentation

typedef int Ordinal

Definition at line 127 of file Stokhos_SacadoUQPCECommTests.cpp.

typedef Sacado::Fad::DFad<double> FadType

Definition at line 128 of file Stokhos_SacadoUQPCECommTests.cpp.

typedef Kokkos::DefaultExecutionSpace execution_space

Definition at line 129 of file Stokhos_SacadoUQPCECommTests.cpp.

Definition at line 130 of file Stokhos_SacadoUQPCECommTests.cpp.

Definition at line 131 of file Stokhos_SacadoUQPCECommTests.cpp.

Function Documentation

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

Definition at line 76 of file Stokhos_SacadoUQPCECommTests.cpp.

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

Definition at line 108 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_Broadcast   
)

Definition at line 135 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_GatherAll   
)

Definition at line 154 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_SumAll   
)

Definition at line 182 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_MaxAll   
)

Definition at line 208 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_MinAll   
)

Definition at line 235 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_ScanSum   
)

Definition at line 261 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_ScanMax   
)

Definition at line 287 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_ScanMin   
)

Definition at line 313 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_SendReceive   
)

Definition at line 339 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_Broadcast   
)

Definition at line 368 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_GatherAll   
)

Definition at line 397 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_SumAll   
)

Definition at line 435 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_MaxAll   
)

Definition at line 477 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_MinAll   
)

Definition at line 513 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_ScanSum   
)

Definition at line 548 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_ScanMax   
)

Definition at line 583 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_ScanMin   
)

Definition at line 618 of file Stokhos_SacadoUQPCECommTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_SendReceive   
)

Definition at line 653 of file Stokhos_SacadoUQPCECommTests.cpp.

Variable Documentation

Sacado::Random<double> rnd

Definition at line 133 of file Stokhos_SacadoUQPCECommTests.cpp.