Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
#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"
Go to the source code of this file.
Classes | |
struct | UnitTestSetup< VecType, FadType > |
Typedefs | |
typedef int | Ordinal |
typedef Sacado::Fad::DFad< double > | FadType |
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) | |
int | main (int argc, char *argv[]) |
Variables | |
Sacado::Random< double > | rnd |
typedef int Ordinal |
Definition at line 158 of file Stokhos_SacadoUQPCECommTests.cpp.
Definition at line 159 of file Stokhos_SacadoUQPCECommTests.cpp.
typedef Kokkos::DefaultExecutionSpace execution_space |
Definition at line 160 of file Stokhos_SacadoUQPCECommTests.cpp.
typedef Stokhos::DynamicStorage<int,double,execution_space> storage_type |
Definition at line 161 of file Stokhos_SacadoUQPCECommTests.cpp.
typedef Sacado::UQ::PCE<storage_type> PCEType |
Definition at line 162 of file Stokhos_SacadoUQPCECommTests.cpp.
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.
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 | ( | UQ_PCE_Comm | , |
PCE_Broadcast | |||
) |
Definition at line 166 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_GatherAll | |||
) |
Definition at line 185 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_SumAll | |||
) |
Definition at line 213 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_MaxAll | |||
) |
Definition at line 239 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_MinAll | |||
) |
Definition at line 266 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_ScanSum | |||
) |
Definition at line 292 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_ScanMax | |||
) |
Definition at line 318 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_ScanMin | |||
) |
Definition at line 344 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
PCE_SendReceive | |||
) |
Definition at line 370 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_Broadcast | |||
) |
Definition at line 399 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_GatherAll | |||
) |
Definition at line 428 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_SumAll | |||
) |
Definition at line 466 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_MaxAll | |||
) |
Definition at line 508 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_MinAll | |||
) |
Definition at line 544 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_ScanSum | |||
) |
Definition at line 579 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_ScanMax | |||
) |
Definition at line 614 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_ScanMin | |||
) |
Definition at line 649 of file Stokhos_SacadoUQPCECommTests.cpp.
TEUCHOS_UNIT_TEST | ( | UQ_PCE_Comm | , |
FadPCE_SendReceive | |||
) |
Definition at line 684 of file Stokhos_SacadoUQPCECommTests.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 718 of file Stokhos_SacadoUQPCECommTests.cpp.
Sacado::Random<double> rnd |
Definition at line 164 of file Stokhos_SacadoUQPCECommTests.cpp.