$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 00025 /* Main author: Daniel Lagrava 00026 **/ 00027 00032 #ifndef MULTI_GRID_GENERATOR_3D_H 00033 #define MULTI_GRID_GENERATOR_3D_H 00034 00035 #include "multiBlock/multiBlockLattice3D.h" 00036 #include "multiBlock/multiDataField3D.h" 00037 #include "multiGrid/multiGridManagement3D.h" 00038 00039 namespace plb { 00040 00041 template<typename T, template<typename U> class Descriptor> 00042 std::vector<MultiBlockLattice3D<T,Descriptor>*> generateLattices( 00043 MultiGridManagement3D management, 00044 std::vector<Dynamics<T,Descriptor>*> backgroundDynamics, 00045 std::vector<BlockCommunicator3D*> communicators, 00046 std::vector<CombinedStatistics*> combinedStatistics ); 00047 00048 template<typename T, template<typename U> class Descriptor> 00049 std::vector<MultiBlockLattice3D<T,Descriptor>*> generateLattices( 00050 MultiGridManagement3D management, 00051 std::vector<Dynamics<T,Descriptor>*> backgroundDynamics); 00052 00053 00054 template<typename T, template<typename U> class Descriptor> 00055 void createInterfaces(std::vector<MultiBlockLattice3D<T,Descriptor>*>& multiBlocks, 00056 MultiGridManagement3D management); 00057 00058 00059 template<typename T, template<typename U> class Descriptor> 00060 void createCoarseGridInterface ( 00061 plint coarseLevel, Box3D coarseGridInterface, std::vector<MultiBlockLattice3D<T,Descriptor>*>& multiBlocks ); 00062 00063 00064 template<typename T, template<typename U> class Descriptor> 00065 void createFineGridInterface ( 00066 plint coarseLevel, Box3D fineGridInterface, std::vector<MultiBlockLattice3D<T,Descriptor>*>& multiBlocks ); 00067 00068 00069 00070 00071 template<typename T> 00072 std::vector<MultiScalarField3D<T>*> generateScalarFields( 00073 MultiGridManagement3D const& management, 00074 std::vector<BlockCommunicator3D*> communicators, 00075 std::vector<CombinedStatistics*> combinedStatistics ); 00076 00077 00078 template<typename T, int nDim> 00079 std::vector<MultiTensorField3D<T,nDim> *> generateTensorFields ( 00080 MultiGridManagement3D const& management, 00081 std::vector<BlockCommunicator3D*> communicators, 00082 std::vector<CombinedStatistics*> combinedStatistics ); 00083 00084 00085 } // namespace plb 00086 00087 #endif // MULTI_GRID_GENERATOR_3D_H 00088
1.6.3
1.6.3