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

Variables

Sacado::Random< doublernd
 

Typedef Documentation

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

Definition at line 260 of file Stokhos_SacadoUQPCESerializationTests.cpp.

typedef Kokkos::DefaultExecutionSpace execution_space

Definition at line 261 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Definition at line 262 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Definition at line 263 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 103 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 152 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 203 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
Uniform   
)

Definition at line 266 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
Empty   
)

Definition at line 282 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
Mixed   
)

Definition at line 296 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEUniform   
)

Definition at line 313 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEEmptyInner   
)

Definition at line 335 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEEmptyOuter   
)

Definition at line 354 of file Stokhos_SacadoUQPCESerializationTests.cpp.

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization  ,
FadPCEEmptyAll   
)

Definition at line 370 of file Stokhos_SacadoUQPCESerializationTests.cpp.

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

Definition at line 384 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Variable Documentation

Sacado::Random<double> rnd

Definition at line 265 of file Stokhos_SacadoUQPCESerializationTests.cpp.