51template <
typename FT =
double, Arch AT = Arch::CPU>
struct KernelTrait {
52 using ContinuityKernel = pystencils::ContinuityKernel_double_precision;
53 using DiffusiveFluxKernel = pystencils::DiffusiveFluxKernel_double_precision;
54 using DiffusiveFluxKernelThermalized =
55 pystencils::DiffusiveFluxKernelThermalized_double_precision;
56 using AdvectiveFluxKernel = pystencils::AdvectiveFluxKernel_double_precision;
57 using FrictionCouplingKernel =
58 pystencils::FrictionCouplingKernel_double_precision;
59 using DiffusiveFluxKernelElectrostatic =
60 pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision;
61 using DiffusiveFluxKernelElectrostaticThermalized = pystencils::
62 DiffusiveFluxKernelWithElectrostaticThermalized_double_precision;
64 using Dirichlet = pystencils::Dirichlet_double_precision;
65 using FixedFlux = pystencils::FixedFlux_double_precision;
68 using ContinuityKernel = pystencils::ContinuityKernel_single_precision;
69 using DiffusiveFluxKernel = pystencils::DiffusiveFluxKernel_single_precision;
70 using DiffusiveFluxKernelThermalized =
71 pystencils::DiffusiveFluxKernelThermalized_single_precision;
72 using AdvectiveFluxKernel = pystencils::AdvectiveFluxKernel_single_precision;
73 using FrictionCouplingKernel =
74 pystencils::FrictionCouplingKernel_single_precision;
75 using DiffusiveFluxKernelElectrostatic =
76 pystencils::DiffusiveFluxKernelWithElectrostatic_single_precision;
77 using DiffusiveFluxKernelElectrostaticThermalized = pystencils::
78 DiffusiveFluxKernelWithElectrostaticThermalized_single_precision;
80 using Dirichlet = pystencils::Dirichlet_single_precision;
81 using FixedFlux = pystencils::FixedFlux_single_precision;
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
\file PackInfoPdfDoublePrecision.cpp \author pystencils
Arch
P3M kernel architecture.