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 "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 379 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 383 of file const_basis/advection.cpp.

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

Definition at line 391 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 18 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 49 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 95 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 138 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 204 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 238 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 272 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 306 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 343 of file const_basis/advection.cpp.