OpenLB
1.7
Loading...
Searching...
No Matches
src
reaction
explicitFiniteDifference
boundary
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
30
namespace
olb
{
31
33
/*
34
* Postprocessor to treat no-penetration boundaries in the finite-difference advection-diffusion external field.
35
*/
36
template
<
typename
T,
typename
DESCRIPTOR,
typename
MODEL,
typename
SCHEME_BOUND,
typename
PARAMS,
typename
FIELD=descriptors::AD_FIELD,
typename
SOURCE=
void
>
37
class
FdBoundaryPostProcessor2D
final :
public
FdBasePostProcessor2D
<T,DESCRIPTOR,FIELD,SOURCE> {
38
public
:
39
using
parameters
= PARAMS;
40
static
constexpr
OperatorScope
scope
=
OperatorScope::PerCellWithParameters
;
41
FdBoundaryPostProcessor2D
();
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
olb::FdBasePostProcessor2D
Definition
fdPostProcessor2D.h:40
olb::FdBoundaryPostProcessor2D
Definition
fdBoundaryPostProcessors2D.h:37
olb::FdBoundaryPostProcessor2D::parameters
PARAMS parameters
Definition
fdBoundaryPostProcessors2D.h:39
olb::FdBoundaryPostProcessor2D::scope
static constexpr OperatorScope scope
Definition
fdBoundaryPostProcessors2D.h:40
olb::FdBoundaryPostProcessor2D::FdBoundaryPostProcessor2D
FdBoundaryPostProcessor2D()
Definition
fdBoundaryPostProcessors2D.hh:33
olb::FdBoundaryPostProcessor2D::getPriority
int getPriority() const
Definition
fdBoundaryPostProcessors2D.hh:41
olb::FdBoundaryPostProcessor2D::apply
void apply(CELL &cell, PARAMETERS &vars) any_platform
Definition
fdBoundaryPostProcessors2D.hh:48
olb
Top level namespace for all of OpenLB.
Definition
boundaryPostProcessors2D.h:34
olb::OperatorScope
OperatorScope
Block-wide operator application scopes.
Definition
operator.h:54
olb::OperatorScope::PerCellWithParameters
@ PerCellWithParameters
Per-cell application with parameters, i.e. OPERATOR::apply is passed a CELL concept implementation an...
any_platform
#define any_platform
Define preprocessor macros for device-side functions, constant storage.
Definition
platform.h:78
Generated on Tue Mar 5 2024 09:57:52 for OpenLB by
1.10.0