OpenLB 1.7
Loading...
Searching...
No Matches
fdBoundaryPostProcessors2D.h
Go to the documentation of this file.
1/* This file is part of the OpenLB library
2 *
3 * Copyright (C) 2006, 2007 Jonas Latt, Davide Dapelo
4 * E-mail contact: info@openlb.net
5 * The most recent release of OpenLB can be downloaded at
6 * <http://www.openlb.net/>
7 *
8 * Generic version of the collision, which modifies the particle
9 * distribution functions, by Orestis Malaspinas.
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this program; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301, USA.
25*/
26
27#ifndef FD_NO_PENETRATION_BOUNDARIES_2D_DEV03_H
28#define FD_NO_PENETRATION_BOUNDARIES_2D_DEV03_H
29
30namespace olb {
31
33/*
34 * Postprocessor to treat no-penetration boundaries in the finite-difference advection-diffusion external field.
35 */
36template<typename T, typename DESCRIPTOR, typename MODEL, typename SCHEME_BOUND, typename PARAMS, typename FIELD=descriptors::AD_FIELD, typename SOURCE=void>
37class FdBoundaryPostProcessor2D final : public FdBasePostProcessor2D<T,DESCRIPTOR,FIELD,SOURCE> {
38public:
39 using parameters = PARAMS;
42 int getPriority() const;
43 template <typename CELL, typename PARAMETERS>
44 void apply(CELL& cell, PARAMETERS& vars) any_platform;
45};
46
47}
48
49
50#endif
static constexpr OperatorScope scope
void apply(CELL &cell, PARAMETERS &vars) any_platform
Top level namespace for all of OpenLB.
OperatorScope
Block-wide operator application scopes.
Definition operator.h:54
@ PerCellWithParameters
Per-cell application with parameters, i.e. OPERATOR::apply is passed a CELL concept implementation an...
#define any_platform
Define preprocessor macros for device-side functions, constant storage.
Definition platform.h:78