Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
PromoteTests.cpp File Reference
#include <type_traits>
#include <utility>
#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 PromoteTests.cpp:

Go to the source code of this file.

Typedefs

typedef Sacado::Fad::DFad< double > Fad_DFadType
 
typedef Sacado::Fad::SLFad
< double, 2 *global_fad_size
Fad_SLFadType
 
typedef Sacado::Fad::SFad
< double, global_fad_size
Fad_SFadType
 
typedef Sacado::Fad::DVFad
< double > 
Fad_DVFadType
 
typedef Sacado::ELRFad::DFad
< double > 
ELRFad_DFadType
 
typedef Sacado::ELRFad::SLFad
< double, 2 *global_fad_size
ELRFad_SLFadType
 
typedef Sacado::ELRFad::SFad
< double, global_fad_size
ELRFad_SFadType
 
typedef Sacado::CacheFad::DFad
< double > 
CacheFad_DFadType
 
typedef
Sacado::CacheFad::SLFad
< double, 2 *global_fad_size
CacheFad_SLFadType
 
typedef Sacado::CacheFad::SFad
< double, global_fad_size
CacheFad_SFadType
 
typedef
Sacado::ELRCacheFad::DFad
< double > 
ELRCacheFad_DFadType
 
typedef
Sacado::ELRCacheFad::SLFad
< double, 2 *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::Fad::SimpleFad
< double > 
SimpleFadType
 
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

template<typename ad_type >
bool testADPromote ()
 
template<typename view_type >
bool testViewPromote ()
 
template<typename fad_type >
bool testFadPromote ()
 
template<typename scalar_type >
bool testPromote ()
 
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (Promote, Fad, FAD)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (Promote, Other, AD)
 
int main (int argc, char *argv[])
 

Variables

const int global_fad_size = 10
 

Typedef Documentation

Definition at line 313 of file PromoteTests.cpp.

Definition at line 314 of file PromoteTests.cpp.

Definition at line 315 of file PromoteTests.cpp.

Definition at line 316 of file PromoteTests.cpp.

Definition at line 322 of file PromoteTests.cpp.

Definition at line 323 of file PromoteTests.cpp.

Definition at line 324 of file PromoteTests.cpp.

Definition at line 329 of file PromoteTests.cpp.

Definition at line 330 of file PromoteTests.cpp.

Definition at line 331 of file PromoteTests.cpp.

Definition at line 336 of file PromoteTests.cpp.

Definition at line 337 of file PromoteTests.cpp.

Definition at line 338 of file PromoteTests.cpp.

Definition at line 339 of file PromoteTests.cpp.

Definition at line 344 of file PromoteTests.cpp.

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

Definition at line 345 of file PromoteTests.cpp.

Definition at line 349 of file PromoteTests.cpp.

Definition at line 352 of file PromoteTests.cpp.

Definition at line 353 of file PromoteTests.cpp.

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

Definition at line 357 of file PromoteTests.cpp.

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

Definition at line 358 of file PromoteTests.cpp.

Definition at line 359 of file PromoteTests.cpp.

Function Documentation

template<typename ad_type >
bool testADPromote ( )

Definition at line 25 of file PromoteTests.cpp.

template<typename view_type >
bool testViewPromote ( )

Definition at line 89 of file PromoteTests.cpp.

template<typename fad_type >
bool testFadPromote ( )

Definition at line 154 of file PromoteTests.cpp.

template<typename scalar_type >
bool testPromote ( )

Definition at line 290 of file PromoteTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Promote  ,
Fad  ,
FAD   
)

Definition at line 301 of file PromoteTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Promote  ,
Other  ,
AD   
)

Definition at line 306 of file PromoteTests.cpp.

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

Definition at line 364 of file PromoteTests.cpp.

Variable Documentation

const int global_fad_size = 10

Definition at line 311 of file PromoteTests.cpp.