OpenLB 1.7
Loading...
Searching...
No Matches
shanChenDynGForcedPostProcessor2D.h
Go to the documentation of this file.
1/* This file is part of the OpenLB library
2 *
3 * Copyright (C) 2008 Orestis Malaspinas, Andrea Parmigiani, Jonas Latt
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 SHAN_CHEN_DYN_G_FORCED_POST_PROCESSOR_2D_H
25#define SHAN_CHEN_DYN_G_FORCED_POST_PROCESSOR_2D_H
26
27#include "core/blockStructure.h"
28#include "core/postProcessing.h"
29
30
31namespace olb {
32
40//
41//template<typename T, typename DESCRIPTOR>
42//class ShanChenDynGForcedPostProcessor2D : public LocalPostProcessor2D<T,DESCRIPTOR> {
43//public:
44// ShanChenDynGForcedPostProcessor2D(int x0_, int x1_, int y0_, int y1_, T G_,
45// std::vector<T> rho0_, AnalyticalF<1,T,T>& iP_,
46// std::vector<BlockStructureD<2>*> partners_);
47// ShanChenDynGForcedPostProcessor2D(T G_,
48// std::vector<T> rho0_, AnalyticalF<1,T,T>& iP_,
49// std::vector<BlockStructureD<2>*> partners_);
50// virtual int extent() const
51// {
52// return 1;
53// }
54// virtual int extent(int whichDirection) const
55// {
56// return 1;
57// }
58// virtual void process(BlockLattice<T,DESCRIPTOR>& blockLattice);
59// virtual void processSubDomain(BlockLattice<T,DESCRIPTOR>& blockLattice,
60// int x0_, int x1_, int y0_, int y1_);
61//private:
62// int x0, x1, y0, y1;
63// T G;
64// std::vector<T> rho0;
65// AnalyticalF<1,T,T>& interactionPotential;
66// std::vector<BlockStructureD<2>*> partners;
67//};
68//
69//template<typename T, typename DESCRIPTOR>
70//class ShanChenDynGForcedGenerator2D : public LatticeCouplingGenerator2D<T,DESCRIPTOR> {
71//public:
72// ShanChenDynGForcedGenerator2D(int x0_, int x1_, int y0_, int y1_, T G_, std::vector<T> rho0_, AnalyticalF<1,T,T>& iP_);
73// ShanChenDynGForcedGenerator2D(T G_, std::vector<T> rho0_, AnalyticalF<1,T,T>& iP_);
74// virtual PostProcessor2D<T,DESCRIPTOR>* generate(std::vector<BlockStructureD<2>*> partners) const;
75// virtual LatticeCouplingGenerator2D<T,DESCRIPTOR>* clone() const;
76//private:
77// T G;
78// std::vector<T> rho0;
79// AnalyticalF<1,T,T>& interactionPotential;
80//};
81
82}
83
84#endif
Top level namespace for all of OpenLB.
Interface for post-processing steps – header file.