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 314 of file Fad_Fad_KokkosTests.hpp.
Definition at line 320 of file Fad_Fad_KokkosTests.hpp.
#define VIEW_FAD_TESTS_D | ( | D | ) | /* */ |
Definition at line 347 of file Fad_Fad_KokkosTests.hpp.
typedef Sacado::Fad::SFad<double,global_inner_fad_size> InnerFadType |
Definition at line 328 of file Fad_Fad_KokkosTests.hpp.
typedef Sacado::Fad::DFad<InnerFadType> DFadType |
Definition at line 329 of file Fad_Fad_KokkosTests.hpp.
Definition at line 330 of file Fad_Fad_KokkosTests.hpp.
Definition at line 331 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 16 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 35 of file Fad_Fad_KokkosTests.hpp.
|
inline |
Definition at line 55 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_View_FadFad | , |
DeepCopy | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 92 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_DynRankView_FadFad | , |
DeepCopy | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 305 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_DynRankView_FadFad | , |
Interop | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 307 of file Fad_Fad_KokkosTests.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL | ( | Kokkos_DynRankView_FadFad | , |
Interop2 | , | ||
FadFadType | , | ||
Layout | , | ||
Device | |||
) |
Definition at line 309 of file Fad_Fad_KokkosTests.hpp.
const int global_num_rows = 11 |
Definition at line 87 of file Fad_Fad_KokkosTests.hpp.
const int global_num_cols = 7 |
Definition at line 88 of file Fad_Fad_KokkosTests.hpp.
const int global_outer_fad_size = 5 |
Definition at line 89 of file Fad_Fad_KokkosTests.hpp.
const int global_inner_fad_size = 3 |
Definition at line 90 of file Fad_Fad_KokkosTests.hpp.