$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

neumannCondition2D.h

Go to the documentation of this file.
00001 /* This file is part of the Palabos library.
00002  *
00003  * Copyright (C) 2011 FlowKit Sarl
00004  * Avenue de Chailly 23
00005  * 1012 Lausanne, Switzerland
00006  * E-mail contact: contact@flowkit.com
00007  *
00008  * The most recent release of Palabos can be downloaded at 
00009  * <http://www.palabos.org/>
00010  *
00011  * The library Palabos is free software: you can redistribute it and/or
00012  * modify it under the terms of the GNU Affero General Public License as
00013  * published by the Free Software Foundation, either version 3 of the
00014  * License, or (at your option) any later version.
00015  *
00016  * The library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU Affero General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Affero General Public License
00022  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00023 */
00024 
00028 #ifndef NEUMANN_CONDITION_2D_H
00029 #define NEUMANN_CONDITION_2D_H
00030 
00031 #include "core/globalDefs.h"
00032 #include "core/blockLatticeBase2D.h"
00033 #include "atomicBlock/blockLattice2D.h"
00034 #include "atomicBlock/dataProcessorWrapper2D.h"
00035 
00036 namespace plb {
00037 
00038 template<typename T, template<typename U> class Descriptor, int direction, int orientation>
00039 class CopyUnknownPopulationsFunctional2D : public BoxProcessingFunctional2D_L<T,Descriptor>
00040 {
00041 public:
00042     virtual void process(Box2D domain, BlockLattice2D<T,Descriptor>& lattice);
00043     virtual CopyUnknownPopulationsFunctional2D<T,Descriptor,direction,orientation>* clone() const;
00044     virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const;
00045     virtual BlockDomain::DomainT appliesTo() const;
00046 };
00047 
00048 template<typename T, template<typename U> class Descriptor, int normalX, int normalY>
00049 class CopyAllPopulationsFunctional2D : public BoxProcessingFunctional2D_L<T,Descriptor>
00050 {
00051 public:
00052     virtual void process(Box2D domain, BlockLattice2D<T,Descriptor>& lattice);
00053     virtual CopyAllPopulationsFunctional2D<T,Descriptor,normalX,normalY>* clone() const;
00054     virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const;
00055     virtual BlockDomain::DomainT appliesTo() const;
00056 };
00057 
00058 template<typename T, template<typename U> class Descriptor, int normalX, int normalY>
00059 class CopyVelocityFunctional2D : public BoxProcessingFunctional2D_L<T,Descriptor>
00060 {
00061 public:
00062     virtual void process(Box2D domain, BlockLattice2D<T,Descriptor>& lattice);
00063     virtual CopyVelocityFunctional2D<T,Descriptor,normalX,normalY>* clone() const;
00064     virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const;
00065     virtual BlockDomain::DomainT appliesTo() const;
00066 };
00067 
00068 template<typename T, template<typename U> class Descriptor, int normalX, int normalY>
00069 class CopyTangentialVelocityFunctional2D : public BoxProcessingFunctional2D_L<T,Descriptor>
00070 {
00071 public:
00072     virtual void process(Box2D domain, BlockLattice2D<T,Descriptor>& lattice);
00073     virtual CopyTangentialVelocityFunctional2D<T,Descriptor,normalX,normalY>* clone() const;
00074     virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const;
00075     virtual BlockDomain::DomainT appliesTo() const;
00076 };
00077 
00078 template<typename T, template<typename U> class Descriptor, int normalX, int normalY>
00079 class CopyNormalVelocityFunctional2D : public BoxProcessingFunctional2D_L<T,Descriptor>
00080 {
00081 public:
00082     virtual void process(Box2D domain, BlockLattice2D<T,Descriptor>& lattice);
00083     virtual CopyNormalVelocityFunctional2D<T,Descriptor,normalX,normalY>* clone() const;
00084     virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const;
00085     virtual BlockDomain::DomainT appliesTo() const;
00086 };
00087 
00088 template<typename T, template<typename U> class Descriptor, int normalX, int normalY>
00089 class CopyDensityFunctional2D : public BoxProcessingFunctional2D_L<T,Descriptor>
00090 {
00091 public:
00092     virtual void process(Box2D domain, BlockLattice2D<T,Descriptor>& lattice);
00093     virtual CopyDensityFunctional2D<T,Descriptor,normalX,normalY>* clone() const;
00094     virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const;
00095     virtual BlockDomain::DomainT appliesTo() const;
00096 };
00097 
00098 }  // namespace plb
00099 
00100 #endif  // NEUMANN_CONDITION_2D_H