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

Go to the source code of this file.

Classes

struct  UnitTestSetup< VecType, FadType >
 

Namespaces

namespace  PCETest
 
namespace  ETPCETest
 

Macros

#define PCE_SERIALIZATION_TESTS(PCEType, FadType, PCE)
 

Typedefs

typedef Stokhos::StandardStorage< int, doublestorage_type
 
typedef Sacado::Fad::DFad< doublefad_type
 

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

Macro Definition Documentation

◆ PCE_SERIALIZATION_TESTS

#define PCE_SERIALIZATION_TESTS ( PCEType,
FadType,
PCE )

Definition at line 258 of file Stokhos_SacadoPCESerializationTests.cpp.

Typedef Documentation

◆ storage_type

Definition at line 370 of file Stokhos_SacadoPCESerializationTests.cpp.

◆ fad_type

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

Definition at line 371 of file Stokhos_SacadoPCESerializationTests.cpp.

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 101 of file Stokhos_SacadoPCESerializationTests.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 150 of file Stokhos_SacadoPCESerializationTests.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 201 of file Stokhos_SacadoPCESerializationTests.cpp.

◆ main()

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

Definition at line 386 of file Stokhos_SacadoPCESerializationTests.cpp.