Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
const_basis/advection.cpp File Reference
#include "Sacado.hpp"
#include "advection.hpp"
#include "common.hpp"
#include "impl/Kokkos_Timer.hpp"
Include dependency graph for const_basis/advection.cpp:

Go to the source code of this file.

Macros

#define INST_FUNC_FAD_N_DEV(FAD, N, DEV)
 
#define INST_FUNC_N_DEV(N, DEV)
 
#define INST_FUNC_DEV(DEV)   INST_FUNC_N_DEV( fad_dim, DEV )
 

Functions

template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_fad_flat (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, const ResidualView &residual)
 
template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_fad_scratch (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, const ResidualView &residual)
 
template<int N, typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_analytic_flat (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, const ResidualView &residual)
 
template<int N, typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_analytic_team (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, const ResidualView &residual)
 
template<typename FadType , int N, typename ExecSpace >
double time_fad_flat (int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check)
 
template<typename FadType , int N, typename ExecSpace >
double time_fad_scratch (int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check)
 
template<int N, typename ExecSpace >
double time_analytic_flat (int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check)
 
template<int N, typename ExecSpace >
double time_analytic_const (int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check)
 
template<int N, typename ExecSpace >
double time_analytic_team (int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check)
 

Macro Definition Documentation

#define INST_FUNC_FAD_N_DEV (   FAD,
  N,
  DEV 
)
Value:
template double time_fad_flat< FAD, N, DEV >(int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check); \
template double time_fad_scratch< FAD, N, DEV >(int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check);
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 399 of file const_basis/advection.cpp.

#define INST_FUNC_N_DEV (   N,
  DEV 
)
Value:
template double time_analytic_flat< N, DEV >(int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check); \
template double time_analytic_const< N, DEV >(int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check); \
template double time_analytic_team< N, DEV >(int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check);
std::enable_if< !Kokkos::is_view_fad< View2 >::value, bool >::type check(const View1 &v_gold, const View2 &v, const double tol)
#define INST_FUNC_FAD_N_DEV(FAD, N, DEV)
const int N

Definition at line 403 of file const_basis/advection.cpp.

#define INST_FUNC_DEV (   DEV)    INST_FUNC_N_DEV( fad_dim, DEV )

Definition at line 411 of file const_basis/advection.cpp.

Function Documentation

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

Definition at line 38 of file const_basis/advection.cpp.

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

Definition at line 69 of file const_basis/advection.cpp.

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

Definition at line 115 of file const_basis/advection.cpp.

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

Definition at line 158 of file const_basis/advection.cpp.

template<typename FadType , int N, typename ExecSpace >
double time_fad_flat ( int  ncells,
int  num_basis,
int  num_points,
int  ndim,
int  ntrial,
bool  check 
)

Definition at line 224 of file const_basis/advection.cpp.

template<typename FadType , int N, typename ExecSpace >
double time_fad_scratch ( int  ncells,
int  num_basis,
int  num_points,
int  ndim,
int  ntrial,
bool  check 
)

Definition at line 258 of file const_basis/advection.cpp.

template<int N, typename ExecSpace >
double time_analytic_flat ( int  ncells,
int  num_basis,
int  num_points,
int  ndim,
int  ntrial,
bool  check 
)

Definition at line 292 of file const_basis/advection.cpp.

template<int N, typename ExecSpace >
double time_analytic_const ( int  ncells,
int  num_basis,
int  num_points,
int  ndim,
int  ntrial,
bool  check 
)

Definition at line 326 of file const_basis/advection.cpp.

template<int N, typename ExecSpace >
double time_analytic_team ( int  ncells,
int  num_basis,
int  num_points,
int  ndim,
int  ntrial,
bool  check 
)

Definition at line 363 of file const_basis/advection.cpp.