Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
advection/common.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  is_cuda_space< ExecSpace >
 

Typedefs

typedef Sacado::Fad::SFad
< double, fad_dim
SFadType
 
typedef Sacado::Fad::SLFad
< double, fad_dim
SLFadType
 
typedef Sacado::Fad::DFad< double > DFadType
 

Functions

template<typename scalar >
scalar generate_fad (const size_t n0, const size_t n1, const size_t n2, const size_t n3, const int fad_size, const size_t i0, const size_t i1, const size_t i2, const size_t i3, const int i_fad)
 
template<typename V1 , typename V2 , typename V3 , typename V4 , typename V5 >
void init_fad (const V1 &v1, const V2 &v2, const V3 &v3, const V4 &v4, const V5 &v5)
 
template<typename V1 , typename V2 , typename V3 , typename V4 , typename V5 >
void init_array (const V1 &v1, const V2 &v2, const V3 &v3, const V4 &v4, const V5 &v5)
 
template<typename View1 , typename View2 >
std::enable_if
< !Kokkos::is_view_fad< View2 >
::value, bool >::type 
check (const View1 &v_gold, const View2 &v, const double tol)
 
template<typename View1 , typename View2 >
std::enable_if
< Kokkos::is_view_fad< View2 >
::value, bool >::type 
check (const View1 &v_gold, const View2 &v, const double tol)
 
template<typename FluxView , typename WgbView , typename SrcView , typename WbsView >
Kokkos::View< double
***, typename
FluxView::execution_space > 
compute_gold_residual (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, typename std::enable_if< Kokkos::is_view_fad< FluxView >::value >::type *=0)
 
template<typename FluxView , typename WgbView , typename SrcView , typename WbsView >
Kokkos::View< double
***, typename
FluxView::execution_space > 
compute_gold_residual (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, typename std::enable_if< !Kokkos::is_view_fad< FluxView >::value >::type *=0)
 
template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void check_residual (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, const ResidualView &residual)
 

Variables

const int fad_dim = 50
 

Typedef Documentation

Definition at line 33 of file advection/common.hpp.

Definition at line 34 of file advection/common.hpp.

typedef Sacado::Fad::DFad<double> DFadType

Definition at line 35 of file advection/common.hpp.

Function Documentation

template<typename scalar >
scalar generate_fad ( const size_t  n0,
const size_t  n1,
const size_t  n2,
const size_t  n3,
const int  fad_size,
const size_t  i0,
const size_t  i1,
const size_t  i2,
const size_t  i3,
const int  i_fad 
)

Definition at line 51 of file advection/common.hpp.

template<typename V1 , typename V2 , typename V3 , typename V4 , typename V5 >
void init_fad ( const V1 &  v1,
const V2 &  v2,
const V3 &  v3,
const V4 &  v4,
const V5 &  v5 
)

Definition at line 69 of file advection/common.hpp.

template<typename V1 , typename V2 , typename V3 , typename V4 , typename V5 >
void init_array ( const V1 &  v1,
const V2 &  v2,
const V3 &  v3,
const V4 &  v4,
const V5 &  v5 
)

Definition at line 131 of file advection/common.hpp.

template<typename View1 , typename View2 >
std::enable_if< !Kokkos::is_view_fad<View2>::value, bool>::type check ( const View1 &  v_gold,
const View2 &  v,
const double  tol 
)

Definition at line 194 of file advection/common.hpp.

template<typename View1 , typename View2 >
std::enable_if< Kokkos::is_view_fad<View2>::value, bool>::type check ( const View1 &  v_gold,
const View2 &  v,
const double  tol 
)

Definition at line 230 of file advection/common.hpp.

template<typename FluxView , typename WgbView , typename SrcView , typename WbsView >
Kokkos::View<double***,typename FluxView::execution_space> compute_gold_residual ( const FluxView &  flux,
const WgbView &  wgb,
const SrcView &  src,
const WbsView &  wbs,
typename std::enable_if< Kokkos::is_view_fad< FluxView >::value >::type *  = 0 
)

Definition at line 267 of file advection/common.hpp.

template<typename FluxView , typename WgbView , typename SrcView , typename WbsView >
Kokkos::View<double***,typename FluxView::execution_space> compute_gold_residual ( const FluxView &  flux,
const WgbView &  wgb,
const SrcView &  src,
const WbsView &  wbs,
typename std::enable_if< !Kokkos::is_view_fad< FluxView >::value >::type *  = 0 
)

Definition at line 323 of file advection/common.hpp.

template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void check_residual ( const FluxView &  flux,
const WgbView &  wgb,
const SrcView &  src,
const WbsView &  wbs,
const ResidualView &  residual 
)

Definition at line 378 of file advection/common.hpp.

Variable Documentation

const int fad_dim = 50

Definition at line 32 of file advection/common.hpp.