24#ifndef POST_PROCESSING_HH
25#define POST_PROCESSING_HH
32template <
typename T,
typename DESCRIPTOR>
38template <
typename T,
typename DESCRIPTOR>
44template <
typename T,
typename DESCRIPTOR>
52template<
typename T,
typename DESCRIPTOR>
54 int x0_,
int x1_,
int y0_,
int y1_)
55 : x0(x0_), x1(x1_), y0(y0_), y1(y1_)
58template<
typename T,
typename DESCRIPTOR>
67template<
typename T,
typename DESCRIPTOR>
76template<
typename T,
typename DESCRIPTOR>
78extract(
int x0_,
int x1_,
int y0_,
int y1_)
80 int newX0, newX1, newY0, newY1;
84 newX0, newX1, newY0, newY1 ) ) {
96template<
typename T,
typename DESCRIPTOR>
99 return extract(lower[0], upper[0], lower[1], upper[1]);
102template<
typename T,
typename DESCRIPTOR>
111template<
typename T,
typename DESCRIPTOR>
123template<
typename T,
typename DESCRIPTOR>
125 int x0_,
int x1_,
int y0_,
int y1_)
126 : x0(x0_), x1(x1_), y0(y0_), y1(y1_)
129template<
typename T,
typename DESCRIPTOR>
138template<
typename T,
typename DESCRIPTOR>
147template<
typename T,
typename DESCRIPTOR>
150 int newX0, newX1, newY0, newY1;
154 newX0, newX1, newY0, newY1 ) ) {
166template<
typename T,
typename DESCRIPTOR>
169 return extract(lower[0], upper[0], lower[1], upper[1]);
172template<
typename T,
typename DESCRIPTOR>
181template<
typename T,
typename DESCRIPTOR>
184 reset(lower[0], upper[0], lower[1], upper[1]);
191template <
typename T,
typename DESCRIPTOR>
197template <
typename T,
typename DESCRIPTOR>
203template <
typename T,
typename DESCRIPTOR>
211template<
typename T,
typename DESCRIPTOR>
213 int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_)
214 : x0(x0_), x1(x1_), y0(y0_), y1(y1_), z0(z0_), z1(z1_)
217template<
typename T,
typename DESCRIPTOR>
219 int deltaX,
int deltaY,
int deltaZ,
int iC_ )
230template<
typename T,
typename DESCRIPTOR>
243template<
typename T,
typename DESCRIPTOR>
245extract(
int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_)
247 int newX0, newX1, newY0, newY1, newZ0, newZ1;
249 x0, x1, y0, y1, z0, z1,
250 x0_, x1_, y0_, y1_, z0_, z1_,
251 newX0, newX1, newY0, newY1, newZ0, newZ1 ) ) {
265template<
typename T,
typename DESCRIPTOR>
268 return extract(lower[0], upper[0], lower[1], upper[1], lower[2], upper[2]);
271template<
typename T,
typename DESCRIPTOR>
282template<
typename T,
typename DESCRIPTOR>
284reset(
int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_)
296template<
typename T,
typename DESCRIPTOR>
298 int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_)
299 : x0(x0_), x1(x1_), y0(y0_), y1(y1_), z0(z0_), z1(z1_), iC(-1)
302template<
typename T,
typename DESCRIPTOR>
314template<
typename T,
typename DESCRIPTOR>
316 int deltaX,
int deltaY,
int deltaZ,
int iC_)
327template<
typename T,
typename DESCRIPTOR>
329extract(
int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_)
331 int newX0, newX1, newY0, newY1, newZ0, newZ1;
333 x0, x1, y0, y1, z0, z1,
334 x0_, x1_, y0_, y1_, z0_, z1_,
335 newX0, newX1, newY0, newY1, newZ0, newZ1 ) ) {
349template<
typename T,
typename DESCRIPTOR>
352 return extract(lower[0], upper[0], lower[1], upper[1], lower[2], upper[2]);
355template<
typename T,
typename DESCRIPTOR>
366template<
typename T,
typename DESCRIPTOR>
368reset(
int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_)
380template <
typename BLOCK>
384template <
typename BLOCK>
387 if (!blockLattice.statisticsEnabled()) {
391 blockLattice.getStatistics().reset();
bool extract(int x0_, int x1_, int y0_, int y1_)
void shift(LatticeR< 2 > delta)
void reset(int x0_, int x1_, int y0_, int y1_)
LatticeCouplingGenerator2D(int x0_, int x1_, int y0_, int y1_)
void reset(LatticeR< 3 > lower, LatticeR< 3 > upper)
LatticeCouplingGenerator3D()=delete
void shift(LatticeR< 3 > delta, int iC_=-1)
bool extract(int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
std::string & getName()
read and write access to name
int getPriority() const
read only access to priority
std::string & getName()
read and write access to name
int getPriority() const
read only access to priority
bool extract(int x0_, int x1_, int y0_, int y1_)
void shift(int deltaX, int deltaY)
PostProcessorGenerator2D(int x0_, int x1_, int y0_, int y1_)
void reset(int x0_, int x1_, int y0_, int y1_)
bool extract(int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
PostProcessorGenerator3D(int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
void shift(int deltaX, int deltaY, int deltaZ, int iC_=-1)
void reset(int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
bool intersect(int x0, int x1, int y0, int y1, int x0_, int x1_, int y0_, int y1_, int &newX0, int &newX1, int &newY0, int &newY1)
Top level namespace for all of OpenLB.
void apply(BLOCK &blockLattice)
void setup(BLOCK &blockLattice)