Sacado Package Browser (Single Doxygen Collection) Version of the Day
Defines | 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.hpp"
#include "Sacado_Fad_SimpleFad.hpp"
#include "Sacado_CacheFad_DFad.hpp"
#include "Sacado_CacheFad_SFad.hpp"
#include "Sacado_CacheFad_SLFad.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.

Defines

#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

Define Documentation

#define FAD_SERIALIZATION_TESTS (   FadType,
  FAD 
)

Definition at line 205 of file Fad_SerializationTests.cpp.

#define SFAD_SERIALIZATION_TESTS (   FadType,
  FAD 
)

Definition at line 352 of file Fad_SerializationTests.cpp.


Typedef Documentation

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

Definition at line 407 of file Fad_SerializationTests.cpp.

Definition at line 408 of file Fad_SerializationTests.cpp.

Definition at line 409 of file Fad_SerializationTests.cpp.

Definition at line 410 of file Fad_SerializationTests.cpp.

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

Definition at line 416 of file Fad_SerializationTests.cpp.

Definition at line 417 of file Fad_SerializationTests.cpp.

Definition at line 418 of file Fad_SerializationTests.cpp.

Definition at line 419 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 48 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 95 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 147 of file Fad_SerializationTests.cpp.

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

Definition at line 436 of file Fad_SerializationTests.cpp.


Variable Documentation

Definition at line 401 of file Fad_SerializationTests.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines