44template <
typename FloatType =
double>
struct KernelTrait {
45 using ContinuityKernel = pystencils::ContinuityKernel_double_precision;
46 using DiffusiveFluxKernel = pystencils::DiffusiveFluxKernel_double_precision;
47 using DiffusiveFluxKernelThermalized =
48 pystencils::DiffusiveFluxKernelThermalized_double_precision;
49 using AdvectiveFluxKernel = pystencils::AdvectiveFluxKernel_double_precision;
50 using FrictionCouplingKernel =
51 pystencils::FrictionCouplingKernel_double_precision;
52 using DiffusiveFluxKernelElectrostatic =
53 pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision;
54 using DiffusiveFluxKernelElectrostaticThermalized = pystencils::
55 DiffusiveFluxKernelWithElectrostaticThermalized_double_precision;
57 using Dirichlet = pystencils::Dirichlet_double_precision;
58 using FixedFlux = pystencils::FixedFlux_double_precision;
60template <>
struct KernelTrait<float> {
61 using ContinuityKernel = pystencils::ContinuityKernel_single_precision;
62 using DiffusiveFluxKernel = pystencils::DiffusiveFluxKernel_single_precision;
63 using DiffusiveFluxKernelThermalized =
64 pystencils::DiffusiveFluxKernelThermalized_single_precision;
65 using AdvectiveFluxKernel = pystencils::AdvectiveFluxKernel_single_precision;
66 using FrictionCouplingKernel =
67 pystencils::FrictionCouplingKernel_single_precision;
68 using DiffusiveFluxKernelElectrostatic =
69 pystencils::DiffusiveFluxKernelWithElectrostatic_single_precision;
70 using DiffusiveFluxKernelElectrostaticThermalized = pystencils::
71 DiffusiveFluxKernelWithElectrostaticThermalized_single_precision;
73 using Dirichlet = pystencils::Dirichlet_single_precision;
74 using FixedFlux = pystencils::FixedFlux_single_precision;
\file PackInfoPdfDoublePrecision.cpp \author pystencils