OpenLB 1.7
Loading...
Searching...
No Matches
defineU3D.h
Go to the documentation of this file.
1/* This file is part of the OpenLB library
2 *
3 * Copyright (C) 2020 Alexander Schulz
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 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public
19 * License along with this program; if not, write to the Free
20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
22*/
23#ifndef DEFINE_U_3D_H
24#define DEFINE_U_3D_H
25
30#include "dynamics/dynamics.h"
31#include "io/ostreamManager.h"
32
33
34namespace olb {
35
36namespace legacy {
37
39template<typename T, typename DESCRIPTOR>
40void defineUBouzidi(SuperLattice<T,DESCRIPTOR>& sLattice, SuperGeometry<T,3>& superGeometry, int material,
41 AnalyticalF3D<T,T>& u, std::vector<int> bulkMaterials = std::vector<int>(1,1) );
42
43
44template<typename T, typename DESCRIPTOR>
45void defineUBouzidi(SuperLattice<T,DESCRIPTOR>& sLattice, FunctorPtr<SuperIndicatorF3D<T>>&& boundaryIndicator,
46 AnalyticalF3D<T,T>& u, std::vector<int> bulkMaterials = std::vector<int>(1,1) );
47
48template<typename T, typename DESCRIPTOR>
49void defineUBouzidi(SuperLattice<T,DESCRIPTOR>& sLattice, FunctorPtr<SuperIndicatorF3D<T>>&& boundaryIndicator,
50 FunctorPtr<SuperIndicatorF3D<T>>&& bulkIndicator, AnalyticalF3D<T,T>& u);
51
53template<typename T, typename DESCRIPTOR>
54void defineUBouzidi(BlockLattice<T,DESCRIPTOR>& _block, BlockIndicatorF3D<T>& indicator, BlockIndicatorF3D<T>& bulkIndicator, AnalyticalF3D<T,T>& u);
55
56
57template<typename T, typename DESCRIPTOR>
58void defineUBouzidi(BlockLattice<T,DESCRIPTOR>& _block, int iX, int iY, int iZ, int iPop, const T u[DESCRIPTOR::d]);
59
60
61template<typename T, typename DESCRIPTOR>
62bool getBoundaryIntersection(BlockLattice<T,DESCRIPTOR>& _block, int iX, int iY, int iZ, int iPop, T point[DESCRIPTOR::d]);
63
64
65template<typename T, typename DESCRIPTOR>
66void setBoundaryIntersection(BlockLattice<T,DESCRIPTOR>& _block, int iX, int iY, int iZ, int iPop, T distance);
67
68}
69
70}//namespace olb
71
72#endif
bool getBoundaryIntersection(BlockLattice< T, DESCRIPTOR > &block, int iX, int iY, int iPop, T point[DESCRIPTOR::d])
Definition defineU2D.hh:96
void defineUBouzidi(SuperLattice< T, DESCRIPTOR > &sLattice, SuperGeometry< T, 2 > &superGeometry, int material, AnalyticalF2D< T, T > &u, std::vector< int > bulkMaterials=std::vector< int >(1, 1))
Definition defineU2D.hh:35
void setBoundaryIntersection(BlockLattice< T, DESCRIPTOR > &block, int iX, int iY, int iPop, T distance)
Definition defineU2D.hh:102
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.