Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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,
double
storage_type
 
typedef Sacado::Fad::DFad< doublefad_type
 
typedef
Sacado::PCE::OrthogPoly
< double, storage_type
PCETest::pce_type
 
typedef
Sacado::ETPCE::OrthogPoly
< double, storage_type
ETPCETest::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

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

Definition at line 156 of file Stokhos_SacadoPCECommTests.cpp.

Typedef Documentation

typedef int Ordinal

Definition at line 691 of file Stokhos_SacadoPCECommTests.cpp.

Definition at line 692 of file Stokhos_SacadoPCECommTests.cpp.

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

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

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.

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

Definition at line 708 of file Stokhos_SacadoPCECommTests.cpp.