ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ek_walberla_init.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022-2023 The ESPResSo project
3 *
4 * This file is part of ESPResSo.
5 *
6 * ESPResSo is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * ESPResSo is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#pragma once
21
22#include "EKinWalberlaBase.hpp"
23
28
29#include <utils/Vector.hpp>
30
31#include <memory>
32
33namespace walberla {
34
35std::shared_ptr<EKinWalberlaBase>
36new_ek_walberla_cpu(std::shared_ptr<LatticeWalberla> const &lattice,
37 double diffusion, double kT, double valency,
40 bool thermalized, unsigned int seed);
41
42std::shared_ptr<EKinWalberlaBase>
43new_ek_walberla_gpu(std::shared_ptr<LatticeWalberla> const &lattice,
44 double diffusion, double kT, double valency,
47 bool thermalized, unsigned int seed);
48
49std::shared_ptr<EKReactionBase> new_ek_reaction_bulk_cpu(
50 std::shared_ptr<LatticeWalberla> const &lattice,
52 double coefficient);
53
54std::shared_ptr<EKReactionBase> new_ek_reaction_bulk_gpu(
55 std::shared_ptr<LatticeWalberla> const &lattice,
57 double coefficient);
58
59std::shared_ptr<EKReactionBaseIndexed> new_ek_reaction_indexed_cpu(
60 std::shared_ptr<LatticeWalberla> const &lattice,
62 double coefficient);
63
64std::shared_ptr<EKReactionBaseIndexed> new_ek_reaction_indexed_gpu(
65 std::shared_ptr<LatticeWalberla> const &lattice,
67 double coefficient);
68
69std::shared_ptr<walberla::PoissonSolver>
70new_ek_poisson_none(std::shared_ptr<LatticeWalberla> const &lattice,
71 bool single_precision);
72
73std::shared_ptr<walberla::PoissonSolver>
74new_ek_poisson_fft(std::shared_ptr<LatticeWalberla> const &lattice,
75 double permittivity, bool single_precision);
76
77std::shared_ptr<walberla::PoissonSolver>
78new_ek_poisson_fft_cuda(std::shared_ptr<LatticeWalberla> const &lattice,
79 double permittivity, bool single_precision);
80
81} // namespace walberla
Vector implementation and trait types for boost qvm interoperability.
std::vector< std::shared_ptr< EKReactant > > reactants_type
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
\file PackInfoPdfDoublePrecision.cpp \author pystencils
std::shared_ptr< walberla::PoissonSolver > new_ek_poisson_fft(std::shared_ptr< LatticeWalberla > const &lattice, double permittivity, bool single_precision)
std::shared_ptr< EKinWalberlaBase > new_ek_walberla_cpu(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)
std::shared_ptr< EKReactionBaseIndexed > new_ek_reaction_indexed_gpu(std::shared_ptr< LatticeWalberla > const &lattice, typename EKReactionBase::reactants_type const &reactants, double coefficient)
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)
std::shared_ptr< walberla::PoissonSolver > new_ek_poisson_fft_cuda(std::shared_ptr< LatticeWalberla > const &lattice, double permittivity, bool single_precision)
std::shared_ptr< EKReactionBase > new_ek_reaction_bulk_gpu(std::shared_ptr< LatticeWalberla > const &lattice, typename EKReactionBase::reactants_type const &reactants, double coefficient)
std::shared_ptr< walberla::PoissonSolver > new_ek_poisson_none(std::shared_ptr< LatticeWalberla > const &lattice, bool single_precision)
std::shared_ptr< EKReactionBaseIndexed > new_ek_reaction_indexed_cpu(std::shared_ptr< LatticeWalberla > const &lattice, typename EKReactionBase::reactants_type const &reactants, double coefficient)
std::shared_ptr< EKReactionBase > new_ek_reaction_bulk_cpu(std::shared_ptr< LatticeWalberla > const &lattice, typename EKReactionBase::reactants_type const &reactants, double coefficient)