Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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_sizeFad_SLFadType
 
typedef Sacado::Fad::SFad< double, global_fad_sizeFad_SFadType
 
typedef Sacado::Fad::DVFad< double > Fad_DVFadType
 
typedef Sacado::ELRFad::DFad< double > ELRFad_DFadType
 
typedef Sacado::ELRFad::SLFad< double, 2 *global_fad_sizeELRFad_SLFadType
 
typedef Sacado::ELRFad::SFad< double, global_fad_sizeELRFad_SFadType
 
typedef Sacado::CacheFad::DFad< double > CacheFad_DFadType
 
typedef Sacado::CacheFad::SLFad< double, 2 *global_fad_sizeCacheFad_SLFadType
 
typedef Sacado::CacheFad::SFad< double, global_fad_sizeCacheFad_SFadType
 
typedef Sacado::ELRCacheFad::DFad< double > ELRCacheFad_DFadType
 
typedef Sacado::ELRCacheFad::SLFad< double, 2 *global_fad_sizeELRCacheFad_SLFadType
 
typedef Sacado::ELRCacheFad::SFad< double, global_fad_sizeELRCacheFad_SFadType
 
typedef Sacado::ELRCacheFad::ViewFad< double, global_fad_size, 1, ELRCacheFad_DFadTypeELRCacheFad_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

◆ Fad_DFadType

Definition at line 333 of file PromoteTests.cpp.

◆ Fad_SLFadType

Definition at line 334 of file PromoteTests.cpp.

◆ Fad_SFadType

Definition at line 335 of file PromoteTests.cpp.

◆ Fad_DVFadType

Definition at line 336 of file PromoteTests.cpp.

◆ ELRFad_DFadType

Definition at line 342 of file PromoteTests.cpp.

◆ ELRFad_SLFadType

Definition at line 343 of file PromoteTests.cpp.

◆ ELRFad_SFadType

Definition at line 344 of file PromoteTests.cpp.

◆ CacheFad_DFadType

Definition at line 349 of file PromoteTests.cpp.

◆ CacheFad_SLFadType

Definition at line 350 of file PromoteTests.cpp.

◆ CacheFad_SFadType

Definition at line 351 of file PromoteTests.cpp.

◆ ELRCacheFad_DFadType

Definition at line 356 of file PromoteTests.cpp.

◆ ELRCacheFad_SLFadType

Definition at line 357 of file PromoteTests.cpp.

◆ ELRCacheFad_SFadType

Definition at line 358 of file PromoteTests.cpp.

◆ ELRCacheFad_VFadType

Definition at line 359 of file PromoteTests.cpp.

◆ SimpleFadType

Definition at line 364 of file PromoteTests.cpp.

◆ LFadType

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

Definition at line 365 of file PromoteTests.cpp.

◆ SFCType

Definition at line 369 of file PromoteTests.cpp.

◆ TaylorType

Definition at line 372 of file PromoteTests.cpp.

◆ CacheTaylorType

Definition at line 373 of file PromoteTests.cpp.

◆ RadType

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

Definition at line 377 of file PromoteTests.cpp.

◆ Rad2Type

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

Definition at line 378 of file PromoteTests.cpp.

◆ RadVecType

Definition at line 379 of file PromoteTests.cpp.

Function Documentation

◆ testADPromote()

template<typename ad_type >
bool testADPromote ( )

Definition at line 45 of file PromoteTests.cpp.

◆ testViewPromote()

template<typename view_type >
bool testViewPromote ( )

Definition at line 109 of file PromoteTests.cpp.

◆ testFadPromote()

template<typename fad_type >
bool testFadPromote ( )

Definition at line 174 of file PromoteTests.cpp.

◆ testPromote()

template<typename scalar_type >
bool testPromote ( )

Definition at line 310 of file PromoteTests.cpp.

◆ TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL() [1/2]

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Promote  ,
Fad  ,
FAD   
)

Definition at line 321 of file PromoteTests.cpp.

◆ TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL() [2/2]

TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( Promote  ,
Other  ,
AD   
)

Definition at line 326 of file PromoteTests.cpp.

◆ main()

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

Definition at line 384 of file PromoteTests.cpp.

Variable Documentation

◆ global_fad_size

const int global_fad_size = 10

Definition at line 331 of file PromoteTests.cpp.