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_SacadoUQPCESerializationTests.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_TestingHelpers.hpp"
#include "Teuchos_UnitTestRepository.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_Array.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_SacadoUQPCESerializationTests.cpp:

Go to the source code of this file.

Classes

struct  UnitTestSetup< VecType, FadType >
 

Typedefs

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 testSerialization (const Teuchos::Array< PCEType > &x, const std::string &tag, Teuchos::FancyOStream &out)
 
template<typename PCEType , typename Serializer >
bool testSerialization (Teuchos::Array< PCEType > &x, const Serializer &serializer, const std::string &tag, Teuchos::FancyOStream &out)
 
template<typename PCEType , typename Serializer >
bool testNestedSerialization (Teuchos::Array< PCEType > &x, const Serializer &serializer, const std::string &tag, Teuchos::FancyOStream &out)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Serialization, Uniform)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Serialization, Empty)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Serialization, Mixed)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Serialization, FadPCEUniform)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Serialization, FadPCEEmptyInner)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Serialization, FadPCEEmptyOuter)
 
 TEUCHOS_UNIT_TEST (UQ_PCE_Serialization, FadPCEEmptyAll)
 

Variables

Sacado::Random< doublernd
 

Typedef Documentation

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

Definition at line 229 of file Stokhos_SacadoUQPCESerializationTests.cpp.

typedef Kokkos::DefaultExecutionSpace execution_space

Definition at line 230 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Definition at line 231 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Definition at line 232 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Function Documentation

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

Definition at line 72 of file Stokhos_SacadoUQPCESerializationTests.cpp.

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

Definition at line 121 of file Stokhos_SacadoUQPCESerializationTests.cpp.

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

Definition at line 172 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
Uniform   
)

Definition at line 235 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
Empty   
)

Definition at line 251 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
Mixed   
)

Definition at line 265 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEUniform   
)

Definition at line 282 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEEmptyInner   
)

Definition at line 304 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEEmptyOuter   
)

Definition at line 323 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEEmptyAll   
)

Definition at line 339 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Variable Documentation

Sacado::Random<double> rnd

Definition at line 234 of file Stokhos_SacadoUQPCESerializationTests.cpp.