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 <type_traits>
#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 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::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 168 of file ConversionTests.cpp.

Definition at line 169 of file ConversionTests.cpp.

Definition at line 170 of file ConversionTests.cpp.

Definition at line 171 of file ConversionTests.cpp.

Definition at line 172 of file ConversionTests.cpp.

Definition at line 173 of file ConversionTests.cpp.

Definition at line 181 of file ConversionTests.cpp.

Definition at line 182 of file ConversionTests.cpp.

Definition at line 183 of file ConversionTests.cpp.

Definition at line 184 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 199 of file ConversionTests.cpp.

Definition at line 200 of file ConversionTests.cpp.

Definition at line 201 of file ConversionTests.cpp.

Definition at line 202 of file ConversionTests.cpp.

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

Definition at line 211 of file ConversionTests.cpp.

Definition at line 212 of file ConversionTests.cpp.

Definition at line 213 of file ConversionTests.cpp.

Definition at line 214 of file ConversionTests.cpp.

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

Definition at line 215 of file ConversionTests.cpp.

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

Definition at line 216 of file ConversionTests.cpp.

Definition at line 217 of file ConversionTests.cpp.

Function Documentation

TEUCHOS_UNIT_TEST ( Conversion  ,
IsConvertible   
)

Definition at line 34 of file ConversionTests.cpp.

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

Definition at line 51 of file ConversionTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Conversion  ,
ADConversions  ,
AD   
)

Definition at line 97 of file ConversionTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Conversion  ,
ViewConversions  ,
AD   
)

Definition at line 142 of file ConversionTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Conversion  ,
OtherConversions  ,
AD   
)

Definition at line 158 of file ConversionTests.cpp.

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

Definition at line 226 of file ConversionTests.cpp.

Variable Documentation

const int global_fad_size = 10

Definition at line 31 of file ConversionTests.cpp.