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

Go to the source code of this file.

Classes

struct  UnitTestSetup< VecType, FadType >
 

Namespaces

 PCETest
 
 ETPCETest
 

Macros

#define PCE_COMM_TESTS(PCEType, FadType, PCE, FAD)
 

Typedefs

typedef int Ordinal
 
typedef Stokhos::StandardStorage< int, doublestorage_type
 
typedef Sacado::Fad::DFad< doublefad_type
 
typedef Sacado::PCE::OrthogPoly< double, storage_typePCETest::pce_type
 
typedef Sacado::ETPCE::OrthogPoly< double, storage_typeETPCETest::pce_type
 

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)
 
int main (int argc, char *argv[])
 

Variables

Sacado::Random< doublePCETest::rnd
 
UnitTestSetup< pce_type, fad_typePCETest::setup
 
Sacado::Random< doubleETPCETest::rnd
 
UnitTestSetup< pce_type, fad_typeETPCETest::setup
 

Macro Definition Documentation

◆ PCE_COMM_TESTS

#define PCE_COMM_TESTS (   PCEType,
  FadType,
  PCE,
  FAD 
)

Definition at line 156 of file Stokhos_SacadoPCECommTests.cpp.

Typedef Documentation

◆ Ordinal

typedef int Ordinal

Definition at line 691 of file Stokhos_SacadoPCECommTests.cpp.

◆ storage_type

Definition at line 692 of file Stokhos_SacadoPCECommTests.cpp.

◆ fad_type

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

Definition at line 693 of file Stokhos_SacadoPCECommTests.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 105 of file Stokhos_SacadoPCECommTests.cpp.

◆ checkResultOnAllProcs()

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

Definition at line 137 of file Stokhos_SacadoPCECommTests.cpp.

◆ main()

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

Definition at line 708 of file Stokhos_SacadoPCECommTests.cpp.