$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
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_3D_H 00029 #define NEUMANN_CONDITION_3D_H 00030 00031 #include "core/globalDefs.h" 00032 #include "core/blockLatticeBase3D.h" 00033 #include "atomicBlock/blockLattice3D.h" 00034 #include "atomicBlock/dataProcessorWrapper3D.h" 00035 00036 namespace plb { 00037 00038 template<typename T, template<typename U> class Descriptor, int direction, int orientation> 00039 class CopyUnknownPopulationsFunctional3D : public BoxProcessingFunctional3D_L<T,Descriptor> 00040 { 00041 public: 00042 virtual void process(Box3D domain, BlockLattice3D<T,Descriptor>& lattice); 00043 virtual CopyUnknownPopulationsFunctional3D<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, int normalZ> 00049 class CopyAllPopulationsFunctional3D : public BoxProcessingFunctional3D_L<T,Descriptor> 00050 { 00051 public: 00052 virtual void process(Box3D domain, BlockLattice3D<T,Descriptor>& lattice); 00053 virtual CopyAllPopulationsFunctional3D<T,Descriptor,normalX,normalY,normalZ>* 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, int normalZ> 00059 class CopyVelocityFunctional3D : public BoxProcessingFunctional3D_L<T,Descriptor> 00060 { 00061 public: 00062 virtual void process(Box3D domain, BlockLattice3D<T,Descriptor>& lattice); 00063 virtual CopyVelocityFunctional3D<T,Descriptor,normalX,normalY,normalZ>* 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, int normalZ> 00069 class CopyTangentialVelocityFunctional3D : public BoxProcessingFunctional3D_L<T,Descriptor> 00070 { 00071 public: 00072 virtual void process(Box3D domain, BlockLattice3D<T,Descriptor>& lattice); 00073 virtual CopyTangentialVelocityFunctional3D<T,Descriptor,normalX,normalY,normalZ>* 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, int normalZ> 00079 class CopyNormalVelocityFunctional3D : public BoxProcessingFunctional3D_L<T,Descriptor> { 00080 public: 00081 virtual void process(Box3D domain, BlockLattice3D<T,Descriptor>& lattice); 00082 virtual CopyNormalVelocityFunctional3D<T,Descriptor,normalX,normalY,normalZ>* clone() const; 00083 virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const; 00084 virtual BlockDomain::DomainT appliesTo() const; 00085 }; 00086 00087 template<typename T, template<typename U> class Descriptor, int normalX, int normalY, int normalZ> 00088 class CopyDensityFunctional3D : public BoxProcessingFunctional3D_L<T,Descriptor> 00089 { 00090 public: 00091 virtual void process(Box3D domain, BlockLattice3D<T,Descriptor>& lattice); 00092 virtual CopyDensityFunctional3D<T,Descriptor,normalX,normalY,normalZ>* clone() const; 00093 virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const; 00094 virtual BlockDomain::DomainT appliesTo() const; 00095 }; 00096 00097 } // namespace plb 00098 00099 #endif // NEUMANN_CONDITION_3D_H
1.6.3
1.6.3