61 double diffusion,
double kT,
double valency,
63 bool friction_coupling,
bool single_precision,
64 bool thermalized,
unsigned int seed) {
65 if (single_precision) {
66 return std::make_shared<EKinWalberlaImpl<13, float, lbmpy::Arch::GPU>>(
67 lattice, diffusion, kT, valency, ext_efield,
density, advection,
68 friction_coupling, thermalized, seed);
71 return std::make_shared<EKinWalberlaImpl<13, double, lbmpy::Arch::GPU>>(
72 lattice, diffusion, kT, valency, ext_efield,
density, advection,
73 friction_coupling, thermalized, seed);
std::shared_ptr< EKinWalberlaBase > new_ek_walberla_gpu(std::shared_ptr< LatticeWalberla > const &lattice, double diffusion, double kT, double valency, Utils::Vector3d ext_efield, double density, bool advection, bool friction_coupling, bool single_precision, bool thermalized, unsigned int seed)