ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
lb_fields.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019-2026 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 <blockforest/communication/UniformBufferedScheme.h>
23#include <field/GhostLayerField.h>
24#include <field/communication/PackInfo.h>
25
27
28#include "lb_kernels.hpp"
29
30namespace walberla {
31template <typename FT, class PdfStencil, lbmpy::Arch AT = lbmpy::Arch::CPU>
32struct FieldTrait {
33 using PdfField = field::GhostLayerField<FT, PdfStencil::Size>;
34 using VectorField = field::GhostLayerField<FT, uint_t{3u}>;
35 template <class Field> using PackInfo = field::communication::PackInfo<Field>;
38 template <class Stencil>
40 blockforest::communication::UniformBufferedScheme<Stencil>;
41 template <class Stencil>
43 blockforest::communication::UniformBufferedScheme<Stencil>;
44};
45} // namespace walberla
\file PackInfoPdfDoublePrecision.cpp \author pystencils
blockforest::communication::UniformBufferedScheme< Stencil > BoundaryCommScheme
Definition lb_fields.hpp:43
field::GhostLayerField< FT, PdfStencil::Size > PdfField
Definition lb_fields.hpp:33
blockforest::communication::UniformBufferedScheme< Stencil > RegularCommScheme
Definition lb_fields.hpp:40
field::GhostLayerField< FT, uint_t{3u}> VectorField
Definition lb_fields.hpp:34
field::communication::PackInfo< Field > PackInfo
Definition lb_fields.hpp:35