OpenLB 1.7
Loading...
Searching...
No Matches
superIndicatorF2D.h
Go to the documentation of this file.
1/* This file is part of the OpenLB library
2 *
3 * Copyright (C) 2016-2018 Benjamin Förster, Adrian Kummerlaender
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
24#ifndef SUPER_INDICATOR_F_2D_H
25#define SUPER_INDICATOR_F_2D_H
26
27#include <list>
28
33
34namespace olb {
35
36
38template <typename T>
40protected:
42public:
48 SuperGeometry<T,2>& geometry);
49
50 using SuperIndicatorF2D<T>::operator();
51 bool operator() (bool output[], const int input[]) override;
52};
53
54
56
59template <typename T, bool HLBM>
61protected:
63public:
69 SuperGeometry<T,2>& geometry);
70
71 using SuperIndicatorF2D<T>::operator();
72 bool operator() (bool output[], const int input[]) override;
73};
74
75
77
80template <typename T>
82public:
88 SuperIndicatorMaterial2D(SuperGeometry<T,2>& geometry, std::vector<int> materials);
94 SuperIndicatorMaterial2D(SuperGeometry<T,2>& geometry, std::list<int> materials);
95
96 using SuperIndicatorF2D<T>::operator();
97 bool operator() (bool output[], const int input[]) override;
98};
99
100
102
107template <typename T>
109protected:
111public:
113
114 using SuperIndicatorF2D<T>::operator();
115 bool operator() (bool output[], const int input[]) override;
116};
117
119
122template <typename T>
124protected:
127public:
129
130 using SuperIndicatorF2D<T>::operator();
131 bool operator() (bool output[], const int input[]) override;
132};
133
134} // namespace olb
135
136#endif
Smart pointer for managing the various ways of passing functors around.
Definition functorPtr.h:60
IndicatorF2D is an application from .
Representation of a statistic for a parallel 2D geometry.
Indicator identifying neighbors of boundary cells.
bool operator()(bool output[], const int input[]) override
SuperIndicatorBoundaryNeighbor2D(FunctorPtr< SuperIndicatorF2D< T > > &&indicatorF, int overlap)
FunctorPtr< SuperIndicatorF2D< T > > _indicatorF
SuperIndicatorF2D from IndicatorF2D.
SuperIndicatorFfromIndicatorF2D(FunctorPtr< IndicatorF2D< T > > &&indicatorF, SuperGeometry< T, 2 > &geometry)
bool operator()(bool output[], const int input[]) override
FunctorPtr< IndicatorF2D< T > > _indicatorF
SuperIndicatorF2D from SmoothIndicatorF2D.
SuperIndicatorFfromSmoothIndicatorF2D(FunctorPtr< SmoothIndicatorF2D< T, T, HLBM > > &&indicatorF, SuperGeometry< T, 2 > &geometry)
FunctorPtr< SmoothIndicatorF2D< T, T, HLBM > > _indicatorF
bool operator()(bool output[], const int input[]) override
Indicator identity functor.
bool operator()(bool output[], const int input[]) override
SuperIndicatorIdentity2D(FunctorPtr< SuperIndicatorF2D< T > > &&indicatorF)
FunctorPtr< SuperIndicatorF2D< T > > _indicatorF
Indicator functor from material numbers.
SuperIndicatorMaterial2D(SuperGeometry< T, 2 > &geometry, std::vector< int > materials)
bool operator()(bool output[], const int input[]) override
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.