Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions | Variables
Fad_SerializationTests.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_TestingHelpers.hpp"
#include "Teuchos_UnitTestRepository.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_Array.hpp"
#include "Sacado_No_Kokkos.hpp"
#include "Sacado_Fad_SimpleFad.hpp"
#include "Sacado_mpl_apply.hpp"
#include "Sacado_Random.hpp"
Include dependency graph for Fad_SerializationTests.cpp:

Go to the source code of this file.

Macros

#define FAD_SERIALIZATION_TESTS(FadType, FAD)
 
#define SFAD_SERIALIZATION_TESTS(FadType, FAD)
 

Typedefs

typedef Sacado::Fad::SLFad
< double, 10 > 
Fad_SLFadType
 
typedef Sacado::ELRFad::SLFad
< double, 10 > 
ELRFad_SLFadType
 
typedef
Sacado::ELRCacheFad::SLFad
< double, 10 > 
ELRCacheFad_SLFadType
 
typedef
Sacado::CacheFad::SLFad
< double, 10 > 
CacheFad_SLFadType
 
typedef Sacado::Fad::SFad
< double, 5 > 
Fad_SFadType
 
typedef Sacado::ELRFad::SFad
< double, 5 > 
ELRFad_SFadType
 
typedef
Sacado::ELRCacheFad::SFad
< double, 5 > 
ELRCacheFad_SFadType
 
typedef Sacado::CacheFad::SFad
< double, 5 > 
CacheFad_SFadType
 

Functions

template<typename FadType >
bool testSerialization (const Teuchos::Array< FadType > &x, const std::string &tag, Teuchos::FancyOStream &out)
 
template<typename FadType , typename Serializer >
bool testSerializationObject (const Serializer &serializer, Teuchos::Array< FadType > &x, const std::string &tag, Teuchos::FancyOStream &out)
 
template<typename FadType , typename Serializer >
bool testNestedSerializationObject (const Serializer &serializer, Teuchos::Array< FadType > &x, const std::string &tag, Teuchos::FancyOStream &out)
 
int main (int argc, char *argv[])
 

Variables

Sacado::Random< double > rnd
 

Macro Definition Documentation

#define FAD_SERIALIZATION_TESTS (   FadType,
  FAD 
)

Definition at line 202 of file Fad_SerializationTests.cpp.

#define SFAD_SERIALIZATION_TESTS (   FadType,
  FAD 
)

Definition at line 349 of file Fad_SerializationTests.cpp.

Typedef Documentation

typedef Sacado::Fad::SLFad<double,10> Fad_SLFadType

Definition at line 404 of file Fad_SerializationTests.cpp.

Definition at line 405 of file Fad_SerializationTests.cpp.

Definition at line 406 of file Fad_SerializationTests.cpp.

Definition at line 407 of file Fad_SerializationTests.cpp.

typedef Sacado::Fad::SFad<double,5> Fad_SFadType

Definition at line 413 of file Fad_SerializationTests.cpp.

Definition at line 414 of file Fad_SerializationTests.cpp.

Definition at line 415 of file Fad_SerializationTests.cpp.

Definition at line 416 of file Fad_SerializationTests.cpp.

Function Documentation

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

Definition at line 45 of file Fad_SerializationTests.cpp.

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

Definition at line 92 of file Fad_SerializationTests.cpp.

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

Definition at line 144 of file Fad_SerializationTests.cpp.

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

Definition at line 427 of file Fad_SerializationTests.cpp.

Variable Documentation

Sacado::Random<double> rnd

Definition at line 398 of file Fad_SerializationTests.cpp.