Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the source code of this file.
Macros | |
#define | VIEW_FAD_TESTS_FLD(F, L, D) |
#define | VIEW_FAD_TESTS_FD(F, D) |
#define | VIEW_FAD_TESTS_D(D) /* */ |
Typedefs | |
typedef Sacado::Fad::SFad < double, global_inner_fad_size > | InnerFadType |
typedef Sacado::Fad::DFad < InnerFadType > | DFadType |
typedef Sacado::Fad::SLFad < InnerFadType, 2 *global_outer_fad_size > | SLFadType |
typedef Sacado::Fad::SFad < InnerFadType, global_outer_fad_size > | SFadType |
Functions | |
template<typename FadType1 , typename FadType2 > | |
bool | checkFads (const FadType1 &x, const FadType2 &x2, Teuchos::FancyOStream &out, double tol=1.0e-15) |
template<typename FadType1 , typename FadType2 > | |
bool | checkNestedFads (const FadType1 &x, const FadType2 &x2, Teuchos::FancyOStream &out, double tol=1.0e-15) |
template<typename fadfadtype , typename ordinal > | |
fadfadtype | generate_nested_fad (const ordinal num_rows, const ordinal num_cols, const ordinal outer_fad_size, const ordinal inner_fad_size, const ordinal row, const ordinal col) |
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL (Kokkos_View_FadFad, DeepCopy, FadFadType, Layout, Device) | |
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL (Kokkos_DynRankView_FadFad, DeepCopy, FadFadType, Layout, Device) | |
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL (Kokkos_DynRankView_FadFad, Interop, FadFadType, Layout, Device) | |
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL (Kokkos_DynRankView_FadFad, Interop2, FadFadType, Layout, Device) | |
Variables | |
const int | global_num_rows = 11 |
const int | global_num_cols = 7 |
const int | global_outer_fad_size = 5 |
const int | global_inner_fad_size = 3 |
Definition at line 333 of file Fad_Fad_KokkosTests.hpp.
Definition at line 339 of file Fad_Fad_KokkosTests.hpp.
#define VIEW_FAD_TESTS_D | ( | D | ) | /* */ |
Definition at line 366 of file Fad_Fad_KokkosTests.hpp.
typedef Sacado::Fad::SFad<double,global_inner_fad_size> InnerFadType |
Definition at line 347 of file Fad_Fad_KokkosTests.hpp.
typedef Sacado::Fad::DFad<InnerFadType> DFadType |
Definition at line 348 of file Fad_Fad_KokkosTests.hpp.
Definition at line 349 of file Fad_Fad_KokkosTests.hpp.
Definition at line 350 of file Fad_Fad_KokkosTests.hpp.
bool checkFads | ( | const FadType1 & | x, |
const FadType2 & | x2, | ||
Teuchos::FancyOStream & | out, | ||
double | tol = 1.0e-15 |
||
) |
Definition at line 35 of file Fad_Fad_KokkosTests.hpp.
bool checkNestedFads | ( | const FadType1 & | x, |
const FadType2 & | x2, | ||
Teuchos::FancyOStream & | out, | ||
double | tol = 1.0e-15 |
||
) |
Definition at line 54 of file Fad_Fad_KokkosTests.hpp.
|
inline |
Definition at line 74 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_View_FadFad | , |
DeepCopy | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 111 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_DynRankView_FadFad | , |
DeepCopy | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 324 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_DynRankView_FadFad | , |
Interop | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 326 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_DynRankView_FadFad | , |
Interop2 | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 328 of file Fad_Fad_KokkosTests.hpp.
const int global_num_rows = 11 |
Definition at line 106 of file Fad_Fad_KokkosTests.hpp.
const int global_num_cols = 7 |
Definition at line 107 of file Fad_Fad_KokkosTests.hpp.
const int global_outer_fad_size = 5 |
Definition at line 108 of file Fad_Fad_KokkosTests.hpp.
const int global_inner_fad_size = 3 |
Definition at line 109 of file Fad_Fad_KokkosTests.hpp.