37 double diffusion,
double kT,
double valency,
39 bool friction_coupling,
bool single_precision,
bool thermalized,
41 if (single_precision) {
42 return std::make_shared<EKinWalberlaImpl<13, float>>(
43 lattice, diffusion, kT, valency, ext_efield,
density, advection,
44 friction_coupling, thermalized, seed);
47 return std::make_shared<EKinWalberlaImpl<13, double>>(
48 lattice, diffusion, kT, valency, ext_efield,
density, advection,
49 friction_coupling, thermalized, seed);
std::shared_ptr< EKinWalberlaBase > new_ek_walberla(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)