Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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 Stokhos::DynamicStorage< int, double, execution_spacestorage_type
typedef Sacado::UQ::PCE< storage_typePCEType

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

◆ FadType

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

Definition at line 260 of file Stokhos_SacadoUQPCESerializationTests.cpp.

◆ storage_type

◆ PCEType

Function Documentation

◆ testSerialization() [1/2]

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.

◆ testSerialization() [2/2]

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.

◆ testNestedSerialization()

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() [1/7]

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization ,
Uniform  )

Definition at line 266 of file Stokhos_SacadoUQPCESerializationTests.cpp.

◆ TEUCHOS_UNIT_TEST() [2/7]

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization ,
Empty  )

Definition at line 282 of file Stokhos_SacadoUQPCESerializationTests.cpp.

◆ TEUCHOS_UNIT_TEST() [3/7]

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization ,
Mixed  )

Definition at line 296 of file Stokhos_SacadoUQPCESerializationTests.cpp.

◆ TEUCHOS_UNIT_TEST() [4/7]

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization ,
FadPCEUniform  )

Definition at line 313 of file Stokhos_SacadoUQPCESerializationTests.cpp.

◆ TEUCHOS_UNIT_TEST() [5/7]

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization ,
FadPCEEmptyInner  )

Definition at line 335 of file Stokhos_SacadoUQPCESerializationTests.cpp.

◆ TEUCHOS_UNIT_TEST() [6/7]

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization ,
FadPCEEmptyOuter  )

Definition at line 354 of file Stokhos_SacadoUQPCESerializationTests.cpp.

◆ TEUCHOS_UNIT_TEST() [7/7]

TEUCHOS_UNIT_TEST ( UQ_PCE_Serialization ,
FadPCEEmptyAll  )

Definition at line 370 of file Stokhos_SacadoUQPCESerializationTests.cpp.

Variable Documentation

◆ rnd

Sacado::Random<double> rnd

Definition at line 265 of file Stokhos_SacadoUQPCESerializationTests.cpp.