Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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_spacestorage_type
 
typedef Sacado::UQ::PCE< storage_typePCEType
 

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

◆ Ordinal

typedef int Ordinal

Definition at line 158 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ FadType

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

Definition at line 159 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ execution_space

typedef Kokkos::DefaultExecutionSpace execution_space

Definition at line 160 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ storage_type

Definition at line 161 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ PCEType

Definition at line 162 of file Stokhos_SacadoUQPCECommTests.cpp.

Function Documentation

◆ checkPCEArrays()

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 107 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ checkResultOnAllProcs()

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

Definition at line 139 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [1/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_Broadcast   
)

Definition at line 166 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [2/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_GatherAll   
)

Definition at line 185 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [3/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_SumAll   
)

Definition at line 213 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [4/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_MaxAll   
)

Definition at line 239 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [5/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_MinAll   
)

Definition at line 266 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [6/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_ScanSum   
)

Definition at line 292 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [7/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_ScanMax   
)

Definition at line 318 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [8/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_ScanMin   
)

Definition at line 344 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [9/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
PCE_SendReceive   
)

Definition at line 370 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [10/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_Broadcast   
)

Definition at line 399 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [11/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_GatherAll   
)

Definition at line 428 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [12/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_SumAll   
)

Definition at line 466 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [13/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_MaxAll   
)

Definition at line 508 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [14/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_MinAll   
)

Definition at line 544 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [15/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_ScanSum   
)

Definition at line 579 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [16/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_ScanMax   
)

Definition at line 614 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [17/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_ScanMin   
)

Definition at line 649 of file Stokhos_SacadoUQPCECommTests.cpp.

◆ TEUCHOS_UNIT_TEST() [18/18]

TEUCHOS_UNIT_TEST ( UQ_PCE_Comm  ,
FadPCE_SendReceive   
)

Definition at line 684 of file Stokhos_SacadoUQPCECommTests.cpp.

Variable Documentation

◆ rnd

Sacado::Random<double> rnd

Definition at line 164 of file Stokhos_SacadoUQPCECommTests.cpp.