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 333 of file PromoteTests.cpp.

Definition at line 334 of file PromoteTests.cpp.

Definition at line 335 of file PromoteTests.cpp.

Definition at line 336 of file PromoteTests.cpp.

Definition at line 342 of file PromoteTests.cpp.

Definition at line 343 of file PromoteTests.cpp.

Definition at line 344 of file PromoteTests.cpp.

Definition at line 349 of file PromoteTests.cpp.

Definition at line 350 of file PromoteTests.cpp.

Definition at line 351 of file PromoteTests.cpp.

Definition at line 356 of file PromoteTests.cpp.

Definition at line 357 of file PromoteTests.cpp.

Definition at line 358 of file PromoteTests.cpp.

Definition at line 359 of file PromoteTests.cpp.

Definition at line 364 of file PromoteTests.cpp.

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

Definition at line 365 of file PromoteTests.cpp.

Definition at line 369 of file PromoteTests.cpp.

Definition at line 372 of file PromoteTests.cpp.

Definition at line 373 of file PromoteTests.cpp.

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

Definition at line 377 of file PromoteTests.cpp.

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

Definition at line 378 of file PromoteTests.cpp.

Definition at line 379 of file PromoteTests.cpp.

Function Documentation

template<typename ad_type >
bool testADPromote ( )

Definition at line 45 of file PromoteTests.cpp.

template<typename view_type >
bool testViewPromote ( )

Definition at line 109 of file PromoteTests.cpp.

template<typename fad_type >
bool testFadPromote ( )

Definition at line 174 of file PromoteTests.cpp.

template<typename scalar_type >
bool testPromote ( )

Definition at line 310 of file PromoteTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Promote  ,
Fad  ,
FAD   
)

Definition at line 321 of file PromoteTests.cpp.

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Promote  ,
Other  ,
AD   
)

Definition at line 326 of file PromoteTests.cpp.

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

Definition at line 384 of file PromoteTests.cpp.

Variable Documentation

const int global_fad_size = 10

Definition at line 331 of file PromoteTests.cpp.