OpenLB 1.7
Loading...
Searching...
No Matches
setRobinBoundary3D.h
Go to the documentation of this file.
1/* This file is part of the OpenLB library
2 *
3 * Copyright (C) 2023 Fedor Bukreev, Adrian Kummerländer,
4 * 2024 Marc Heinzelmann
5 * E-mail contact: info@openlb.net
6 * The most recent release of OpenLB can be downloaded at
7 * <http://www.openlb.net/>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public
20 * License along with this program; if not, write to the Free
21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA.
23 */
24
25//This file contains the RobinBoundary
26
27#ifndef SET_ROBIN_BOUNDARY_3D_H
28#define SET_ROBIN_BOUNDARY_3D_H
29
30#include <vector>
32#include "io/ostreamManager.h"
34
37#include "dynamics/dynamics.h"
40#include "setBoundary3D.h"
41
42
43
44
45namespace olb {
46
49template<typename T, typename DESCRIPTOR, typename MixinDynamics = AdvectionDiffusionRLBdynamics<T,DESCRIPTOR>>
50void setRobinBoundary(SuperLattice<T, DESCRIPTOR>& sLattice, T omega, SuperGeometry<T,3>& superGeometry, int material);
51
53template<typename T, typename DESCRIPTOR, typename MixinDynamics = AdvectionDiffusionRLBdynamics<T,DESCRIPTOR>>
54void setRobinBoundary(SuperLattice<T, DESCRIPTOR>& sLattice, T omega, FunctorPtr<SuperIndicatorF3D<T>>&& indicator);
55
56
58template<typename T, typename DESCRIPTOR, typename MixinDynamics>
59void setRobinBoundary(BlockLattice<T,DESCRIPTOR>& _block, BlockIndicatorF3D<T>& indicator, T omega, bool includeOuterCells=false, bool useOtherStrategy=false);
60
61
62}//namespace olb
63
64#endif
A collection of dynamics classes (e.g.
Top level namespace for all of OpenLB.
void setRobinBoundary(SuperLattice< T, DESCRIPTOR > &sLattice, T omega, SuperGeometry< T, 3 > &superGeometry, int material)
Initialising the setRobinBoundary function on the superLattice domain This is an AdvectionDiffusionBo...
Representation of a parallel 2D geometry – header file.