Sacado 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
ConversionTests.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_UnitTestRepository.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_TestingHelpers.hpp"
#include "Sacado_No_Kokkos.hpp"
#include "Sacado_Fad_SimpleFad.hpp"
#include "Sacado_Tay_CacheTaylor.hpp"
#include "Sacado_mpl_apply.hpp"
#include "Sacado_mpl_is_convertible.hpp"
Include dependency graph for ConversionTests.cpp:

Go to the source code of this file.

Classes

struct  A
 
struct  B
 
struct  C
 

Typedefs

typedef Sacado::Fad::DFad< double > Fad_DFadType
 
typedef Sacado::Fad::SLFad
< double, global_fad_size
Fad_SLFadType
 
typedef Sacado::Fad::SFad
< double, global_fad_size
Fad_SFadType
 
typedef Sacado::Fad::DMFad
< double > 
Fad_DMFadType
 
typedef Sacado::Fad::DVFad
< double > 
Fad_DVFadType
 
typedef Sacado::Fad::SimpleFad
< double > 
Fad_SimpleFadType
 
typedef Sacado::Fad::ViewFad
< double, global_fad_size,
1, Fad_DFadType
Fad_VFadType
 
typedef Sacado::ELRFad::DFad
< double > 
ELRFad_DFadType
 
typedef Sacado::ELRFad::SLFad
< double, global_fad_size
ELRFad_SLFadType
 
typedef Sacado::ELRFad::SFad
< double, global_fad_size
ELRFad_SFadType
 
typedef
Sacado::ELRFad::ViewFad
< double, global_fad_size,
1, ELRFad_DFadType
ELRFad_VFadType
 
typedef Sacado::CacheFad::DFad
< double > 
CacheFad_DFadType
 
typedef
Sacado::CacheFad::SLFad
< double, global_fad_size
CacheFad_SLFadType
 
typedef Sacado::CacheFad::SFad
< double, global_fad_size
CacheFad_SFadType
 
typedef
Sacado::CacheFad::ViewFad
< double, global_fad_size,
1, CacheFad_DFadType
CacheFad_VFadType
 
typedef
Sacado::ELRCacheFad::DFad
< double > 
ELRCacheFad_DFadType
 
typedef
Sacado::ELRCacheFad::SLFad
< double, global_fad_size
ELRCacheFad_SLFadType
 
typedef
Sacado::ELRCacheFad::SFad
< double, global_fad_size
ELRCacheFad_SFadType
 
typedef
Sacado::ELRCacheFad::ViewFad
< double, global_fad_size,
1, ELRCacheFad_DFadType
ELRCacheFad_VFadType
 
typedef
Sacado::LFad::LogicalSparse
< double, bool > 
LFadType
 
typedef
Sacado::FlopCounterPack::ScalarFlopCounter
< double > 
SFCType
 
typedef Sacado::Tay::Taylor
< double > 
TaylorType
 
typedef
Sacado::Tay::CacheTaylor
< double > 
CacheTaylorType
 
typedef Sacado::Rad::ADvar
< double > 
RadType
 
typedef Sacado::Rad2::ADvar
< double > 
Rad2Type
 
typedef Sacado::RadVec::ADvar
< double > 
RadVecType
 

Functions

 TEUCHOS_UNIT_TEST (Conversion, IsConvertible)
 
template<typename ad_type >
bool test_ad_conversions (Teuchos::FancyOStream &out)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (Conversion, ADConversions, AD)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (Conversion, ViewConversions, AD)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (Conversion, OtherConversions, AD)
 
int main (int argc, char *argv[])
 

Variables

const int global_fad_size = 10
 

Typedef Documentation

Definition at line 189 of file ConversionTests.cpp.

Definition at line 190 of file ConversionTests.cpp.

Definition at line 191 of file ConversionTests.cpp.

Definition at line 192 of file ConversionTests.cpp.

Definition at line 193 of file ConversionTests.cpp.

Definition at line 194 of file ConversionTests.cpp.

Definition at line 195 of file ConversionTests.cpp.

Definition at line 204 of file ConversionTests.cpp.

Definition at line 205 of file ConversionTests.cpp.

Definition at line 206 of file ConversionTests.cpp.

Definition at line 207 of file ConversionTests.cpp.

Definition at line 213 of file ConversionTests.cpp.

Definition at line 214 of file ConversionTests.cpp.

Definition at line 215 of file ConversionTests.cpp.

Definition at line 216 of file ConversionTests.cpp.

Definition at line 222 of file ConversionTests.cpp.

Definition at line 223 of file ConversionTests.cpp.

Definition at line 224 of file ConversionTests.cpp.

Definition at line 225 of file ConversionTests.cpp.

typedef Sacado::LFad::LogicalSparse<double,bool> LFadType

Definition at line 234 of file ConversionTests.cpp.

Definition at line 235 of file ConversionTests.cpp.

Definition at line 236 of file ConversionTests.cpp.

Definition at line 237 of file ConversionTests.cpp.

typedef Sacado::Rad::ADvar<double> RadType

Definition at line 238 of file ConversionTests.cpp.

typedef Sacado::Rad2::ADvar<double> Rad2Type

Definition at line 239 of file ConversionTests.cpp.

Definition at line 240 of file ConversionTests.cpp.

Function Documentation

TEUCHOS_UNIT_TEST ( Conversion  ,
IsConvertible   
)

Definition at line 53 of file ConversionTests.cpp.

template<typename ad_type >
bool test_ad_conversions ( Teuchos::FancyOStream out)

Definition at line 70 of file ConversionTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Conversion  ,
ADConversions  ,
AD   
)

Definition at line 118 of file ConversionTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Conversion  ,
ViewConversions  ,
AD   
)

Definition at line 163 of file ConversionTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Conversion  ,
OtherConversions  ,
AD   
)

Definition at line 179 of file ConversionTests.cpp.

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

Definition at line 254 of file ConversionTests.cpp.

Variable Documentation

const int global_fad_size = 10

Definition at line 50 of file ConversionTests.cpp.